The BG/NBD Model (Beta-Geometric/Negative Binomial Distribution) is a probabilistic buy-till-you-die (BTYD) framework that predicts an individual customer's future transaction count by modeling two latent processes: a purchase rate while 'alive' and a dropout probability after each transaction. It assumes transaction frequency follows a Negative Binomial Distribution while the unobserved lifetime is governed by a Geometric Distribution, with heterogeneity captured by Beta and Gamma priors.
Glossary
BG/NBD Model

What is the BG/NBD Model?
A foundational 'buy-till-you-die' model for predicting future customer transactions in non-contractual settings.
Developed by Fader, Hardie, and Lee, the model excels in non-contractual retail environments where churn is silent. It estimates the probability that a customer is still active based on their recency and frequency history, enabling precise Customer Lifetime Value (CLV) forecasting. Unlike simpler heuristics, the BG/NBD provides a mathematically rigorous, interpretable foundation for calibrating churn probability scores and optimizing retention marketing spend.
Key Features of the BG/NBD Model
The Beta-Geometric/Negative Binomial Distribution model decomposes customer behavior into two stochastic processes: a transaction rate while 'alive' and a dropout probability after each purchase.
Dual Stochastic Processes
The model captures two distinct behavioral dimensions:
- Transaction Process: While active, a customer's purchases follow a Poisson process with rate λ
- Dropout Process: After each transaction, a customer has a probability p of becoming permanently inactive
- This separation allows the model to distinguish between a customer who is slow to purchase and one who has churned
- The 'buy-till-you-die' name reflects this exact mechanism: customers buy until they randomly 'die'
Heterogeneity via Beta-Geometric
Individual differences are captured through mixing distributions:
- Transaction rate (λ) varies across customers following a Gamma distribution
- Dropout probability (p) varies across customers following a Beta distribution
- This hierarchical structure 'borrows strength' from the population, enabling robust predictions for customers with sparse histories
- The Beta-Geometric combination gives the model its name and handles the unobserved churn event
Non-Contractual Setting Design
Unlike subscription models, BG/NBD operates without observed churn:
- Customer inactivity is probabilistically inferred, not directly observed
- The model calculates P(alive | purchase history) — the probability a customer is still active given their observed behavior
- This makes it ideal for retail, e-commerce, and CPG where customers don't formally cancel
- The recency of the last purchase is the strongest signal for inferring dropout
Closed-Form Likelihood Derivation
The model's mathematical elegance enables efficient computation:
- Fader, Hardie, and Lee (2005) derived a closed-form expression for the likelihood function
- This eliminates the need for computationally expensive Markov Chain Monte Carlo (MCMC) simulation
- Parameters (r, α, a, b) are estimated via Maximum Likelihood Estimation (MLE) using standard optimization
- The closed form enables rapid scoring of millions of customers in production environments
Future Transaction Forecasting
The primary output is E[X(T) | history] — expected transactions over a future horizon:
- Given a customer's frequency and recency, the model predicts expected purchases in the next T periods
- This conditional expectation integrates over both the transaction rate and the probability of still being alive
- Outputs feed directly into Discounted Cash Flow (DCF) calculations for CLV estimation
- Often paired with the Gamma-Gamma model to add monetary value predictions
Empirical Validation Benchmarks
The model has been rigorously tested against real-world datasets:
- Original validation used the CDNOW dataset, a canonical benchmark in CLV research
- BG/NBD consistently outperforms simpler heuristics like Pareto/NBD in holdout validation
- Performance is measured by comparing predicted vs. actual transactions in a future calibration period
- The model's parsimony — only four parameters — reduces overfitting risk while maintaining predictive accuracy
BG/NBD vs. Pareto/NBD Model Comparison
A technical comparison of the two foundational probabilistic models for forecasting customer purchase frequency and lifetime in non-contractual settings.
| Feature | BG/NBD | Pareto/NBD | MBG/NBD |
|---|---|---|---|
Transaction Process | Poisson (while active) | Poisson (while active) | Poisson (while active) |
Heterogeneity in Purchase Rate (λ) | Gamma distribution | Gamma distribution | Gamma distribution |
Dropout Process | Geometric (after each transaction) | Exponential (continuous time) | Geometric (after each transaction) |
Heterogeneity in Dropout Propensity (p or μ) | Beta distribution | Gamma distribution | Beta distribution |
Dropout Timing | Discrete (after a purchase) | Continuous (any time) | Discrete (after a purchase) |
Analytical Likelihood Solution | |||
Computational Complexity | Low (Beta-Geometric conjugacy) | High (requires Gaussian hypergeometric function) | Low (Beta-Geometric conjugacy) |
Expected Transactions (E[X(t)]) | Closed-form solution | Closed-form solution | Closed-form solution |
Probability of Being Alive (P(Alive)) | Closed-form solution | Closed-form solution | Closed-form solution |
Incorporates Covariates | |||
Handles Time-Varying Covariates | |||
Best For | Large-scale, low-latency production scoring | Academic benchmarking and theoretical rigor | Personalized CLV with customer-level features |
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the Beta-Geometric/Negative Binomial Distribution model for customer lifetime value forecasting.
The BG/NBD model is a probabilistic buy-till-you-die framework that predicts future purchasing behavior in non-contractual settings by modeling two latent processes: a transaction rate and a dropout probability. It assumes that while alive, a customer's transactions follow a Poisson process with rate λ, and after each transaction, they have a probability p of becoming permanently inactive. Heterogeneity across customers is captured by assuming λ follows a Gamma distribution and p follows a Beta distribution—hence the name Beta-Geometric/Negative Binomial Distribution. The model ingests only three sufficient statistics per customer: recency (time of last purchase), frequency (total repeat transactions), and a time horizon (total observation period). Using these inputs, it computes the probability a customer is still active and the expected number of future transactions over any forecast window. Developed by Fader, Hardie, and Lee in 2005, it remains a cornerstone of customer base analysis because it requires minimal data while producing robust, interpretable forecasts.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core concepts and complementary models that form the foundation of buy-till-you-die forecasting and customer base analysis.
Gamma-Gamma Spend Model
The standard companion sub-model to BG/NBD for estimating monetary value. It assumes a customer's average transaction value follows a Gamma distribution across the population, while individual transaction values are normally distributed. This two-stage Bayesian approach accounts for spend heterogeneity—the fact that some customers consistently spend more per order than others—independent of their purchase frequency. The model conditions on observed average spend and transaction count to predict future per-transaction value.
Pareto/NBD Alternative
A closely related BTYD model developed by Schmittlein, Morrison, and Colombo that uses the Pareto distribution (of the second kind) for the dropout process instead of the Beta-Geometric used in BG/NBD. Key differences:
- Models time-to-churn as continuous rather than discrete per-transaction
- Requires more computationally intensive numerical integration for likelihood estimation
- Often yields nearly identical predictions to BG/NBD in practice
- BG/NBD is generally preferred for its computational efficiency and closed-form expressions
Poisson-Gamma Mixture Foundation
The statistical engine underlying the BG/NBD transaction process. It models purchase counts as a Poisson distribution where the rate parameter λ varies across customers according to a Gamma distribution. This mixture captures the empirical reality that:
- Some customers are inherently heavy buyers (high λ)
- Others are light buyers (low λ)
- The Gamma distribution flexibly accommodates this unobserved heterogeneity The resulting marginal distribution is a Negative Binomial, which naturally handles overdispersed count data.
Beta-Geometric Dropout Mechanism
The churn component of the BG/NBD model. After each transaction, a customer has a probability p of becoming permanently inactive. This dropout probability is modeled as:
- A Geometric process at the individual level (chance of churn after each purchase)
- A Beta distribution across the population to capture heterogeneity in churn propensity The Beta distribution is the conjugate prior for the Geometric, enabling closed-form Bayesian updating as transaction history accumulates. This is what makes BG/NBD computationally tractable.
Buy-Till-You-Die (BTYD) Family
A class of probabilistic models designed for non-contractual continuous settings where:
- Customer 'death' (churn) is unobserved—you never know when someone has truly left
- Transactions can occur at any time, not just at renewal periods
- The goal is to predict future purchasing while accounting for latent attrition The BTYD family includes:
- BG/NBD (Fader, Hardie, Lee, 2005)
- Pareto/NBD (Schmittlein et al., 1987)
- MBG/NBD (Batislam et al., 2007) — adds a 'revival' mechanism All share the core insight that purchase frequency and churn risk must be modeled jointly.
Bayesian Hierarchical Structure
The BG/NBD model is inherently hierarchical Bayesian in its construction. It operates on two levels:
- Individual level: Each customer has latent parameters (λ for transaction rate, p for dropout probability)
- Population level: These parameters are drawn from prior distributions (Gamma for λ, Beta for p) This structure enables borrowing strength—customers with sparse histories are regularized toward the population mean, preventing overfitting. The Maximum Likelihood Estimation (MLE) procedure fits the population-level hyperparameters (r, α, a, b) from the entire cohort's transaction data.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us