VerifiedEvidence: highv1.0.0

Negative Binomial

A discrete probability distribution modelling count data with more variability than a Poisson distribution would predict, known as overdispersion.

Last reviewedDarrin Baines IP Ltd

Concept Architecture

Concept


Theoretically, the Negative Binomial Distribution is a discrete probability distribution used to model count data exhibiting overdispersion, where the variance exceeds the mean. It extends the Poisson distribution by introducing an additional dispersion parameter that accounts for unobserved heterogeneity. The distribution is widely used in health economics because many healthcare utilisation outcomes, such as hospital admissions, physician visits and emergency department attendances, display greater variability than can be accommodated by the Poisson model.

Mathematically, the Negative Binomial Distribution is commonly derived as a Poisson?Gamma mixture, in which the Poisson rate parameter follows a Gamma distribution. This formulation produces a count distribution with separate parameters governing the expected count and the degree of overdispersion. Parameters are typically estimated using Maximum Likelihood Estimation, and the model reduces to the Poisson distribution as the dispersion parameter approaches zero.

In practice, the Negative Binomial Distribution is applied to analyse overdispersed count outcomes in clinical and health economic studies. It is frequently used to estimate rates of hospitalisations, healthcare contacts, prescription use and adverse events while accounting for excess variability. Negative binomial regression is a standard method for modelling such outcomes and is commonly preferred over Poisson regression when overdispersion is present.

Purpose


Used to model overdispersed count data, estimate event rates, account for unobserved heterogeneity and analyse healthcare utilisation and other count outcomes in health economic research.


Mathematical Formulae

Primary Formula

Probability mass function:

P(X = x) = �(x + r) / [�(r)�(x + 1)] ? (r / (r + ?))? ? (? / (r + ?))?

where:

  • x = observed count
  • ? = expected count
  • r = dispersion (shape) parameter
  • �(�) = Gamma function

Supporting Formulae

Expected value:

E(X) = ?

Variance:

Var(X) = ? + ?� / r

Negative binomial regression model:

ln(??) = ?? + ??X?? + ??X?? + ? + ??X??

Related Mathematical Methods

  • Negative Binomial Regression
  • Poisson Distribution
  • Poisson Regression
  • Gamma Distribution
  • Maximum Likelihood Estimation
  • Generalised Linear Models
  • Zero-Inflated Negative Binomial Models

Example

A health economist analyses the annual number of hospital admissions among patients with chronic obstructive pulmonary disease.

The observed data show:

  • Mean admissions = 2.4
  • Variance = 5.8

Because the variance substantially exceeds the mean, a Poisson model is inappropriate.

A negative binomial regression estimates:

  • Mean admission rate (?) = 2.4
  • Dispersion parameter (r) = 1.7

The implied variance is:

Var(X) = 2.4 + (2.4� / 1.7)

Var(X) = 2.4 + 3.39

Var(X) = 5.79

This closely matches the observed variance, demonstrating that the Negative Binomial Distribution adequately models the overdispersion present in the hospital admission data.


Excel Implementation

FunctionExample FormulaHealth Economics Application
GAMMALN=GAMMALN(A2+B2)-GAMMALN(B2)-GAMMALN(A2+1)Calculate components of the negative binomial probability mass function.
LN=LN(C2)Calculate log-likelihood contributions during parameter estimation.
EXP=EXP(D2)Convert linear predictors to expected event counts.
SUM=SUM(E2:E1001)Calculate the total log-likelihood across observations.
SolverMaximise the log-likelihood by varying regression and dispersion parameters.Estimate negative binomial model parameters.

VBA (Optional)

A VBA routine can automate maximum likelihood estimation of negative binomial models, estimate dispersion parameters and generate predicted healthcare utilisation rates.


Sources

  • Hilbe JM. Negative Binomial Regression. Cambridge University Press.
  • Cameron AC, Trivedi PK. Regression Analysis of Count Data. Cambridge University Press.
  • McCullagh P, Nelder JA. Generalized Linear Models. Chapman & Hall.
  • Greene WH. Econometric Analysis. Pearson.
  • Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation. Oxford University Press.
  • ISPOR Good Practice Reports.

Library

Publications

1
  • Book

    Bayesian Methods in Health Economics — Gianluca Baio, 1st Edition ed., 2012 (Chapman & Hall / CRC Press)

    An overview of Bayesian statistical methods for the analysis of health economic data, covering economic evaluation concepts, statistical cost-effectiveness analysis, Bayesian computation and MCMC, and applied health economic evaluation.

Frequently Asked Questions (6)

  • What is the negative binomial distribution?

    A discrete probability distribution modelling count data with more variability than a Poisson distribution would predict, known as overdispersion.

    Source: Hilbe 2011

  • What count data does the negative binomial distribution suit?

    The negative binomial distribution models counts of events that vary more than a simple Poisson distribution would allow, a situation called overdispersion. Real count data, such as the number of hospital admissions per patient, often show this extra spread because people differ in their underlying rates, so a handful have many events while most have few. The negative binomial adds a parameter to accommodate that surplus variability, fitting such data where the Poisson would understate the spread. Counts with more scatter than Poisson allows is what it suits. Kirkwood and Sterne (2003) describe this distribution.

    Source: Kirkwood & Sterne 2003

  • How does the negative binomial differ from the Poisson distribution?

    The negative binomial distribution differs from the Poisson in allowing the variance to exceed the mean, accommodating overdispersion, whereas the Poisson assumes the variance equals the mean. The negative binomial adds a dispersion parameter that captures the extra variability, and as this parameter approaches a limit the negative binomial approaches the Poisson. So the two differ in their treatment of variability, with the Poisson suited to counts whose variance equals their mean and the negative binomial to counts with greater variance, which makes the negative binomial appropriate when count data are overdispersed, a common situation that the Poisson would model inadequately.

    Source: Hilbe 2011

  • What is overdispersion, which the negative binomial model addresses?

    Overdispersion is the situation in which count data show more variability than a Poisson distribution, which assumes the variance equals the mean, would predict, so the variance exceeds the mean. It commonly arises from unobserved heterogeneity or clustering among the counts. So overdispersion means the counts are more spread out than the Poisson allows, which, if ignored by fitting a Poisson model, leads to underestimated standard errors and overstated significance, and this is why overdispersion is checked for and, when present, handled by models such as the negative binomial that permit the variance to exceed the mean.

    Source: Hilbe 2011

  • When is the negative binomial distribution used?

    The negative binomial distribution is used to model count data that are overdispersed, showing greater variability than the Poisson allows, such as counts of events with unobserved heterogeneity among individuals. So the negative binomial distribution is used when count outcomes have a variance exceeding their mean, which is common in practice, since fitting a Poisson model to overdispersed data understates the uncertainty, whereas the negative binomial accommodates the extra variability, giving valid inference, which is why it is a standard choice for overdispersed counts and underlies negative binomial regression for such outcomes.

    Source: Hilbe 2011

  • What are the properties of the negative binomial distribution?

    The negative binomial distribution is a discrete distribution for non-negative counts with a mean and a variance that exceeds the mean, controlled by a dispersion parameter that governs the extra variability; as the dispersion diminishes, it approaches the Poisson. So the negative binomial's properties include modelling overdispersed counts with a variance greater than the mean and a parameter capturing the degree of overdispersion, which gives it the flexibility the Poisson lacks, making it suitable for count data with extra variability, and these properties are why it is used both as a distribution and as the basis for regression models for overdispersed count outcomes.

    Source: Hilbe 2011

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 19 Dec 2025

Content version: 1.0.0

Canonical Identity

Term code
HE-ES-SA-135

Stable URI · Machine-readable · Resolvable · CC BY 4.0