Negative Binomial Distribution

Models the number of failures before a specified number of successes. Generalises the geometric distribution.

Please verify you are human to use the calculator.

About the Negative Binomial Distribution

Models the number of failures before a specified number of successes. Generalises the geometric distribution.

Use the interactive controls above to adjust the distribution parameters and see how the shape of the probability mass function (PMF) and cumulative distribution function (CDF) change in real time. The probability calculator lets you compute exact probabilities for any range.

Fitting the negative binomial distributionto real data is a modelling decision with consequences downstream, in the tails the model never sees during training. We review that choice in someone else's model as part of AI due diligence, and make it in your own as part of AI consulting for mid-market firms.

Related calculations

  • Binomial: Use binomial when trial count is fixed in advance rather than determined by successes.
  • Geometric: The geometric is the one-success case; check whether failures or total trials are counted.
  • Poisson: Compare the Poisson restriction that the count mean and variance are equal.
  • Gamma: A gamma mixture of Poisson rates gives a negative-binomial count model.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

Negative Binomial Distribution FAQ

Common questions about the negative binomial distribution