Skip to main content

Negative binomial: definition and difference

Short answer

Negative binomial gives probability that rth success occurs on xth trial. It differs from binomial because number of trials is random, not fixed.

Define Negative Binomial distribution and explain characteristics. How does it differ from binomial distribution?

Definition

Consider repeated independent Bernoulli trials, each with probability of success p and failure q = 1 − p. The negative binomial distribution gives the probability that the r-th success occurs on the x-th trial.

P(X = x) = C(x − 1, r − 1) pʳ qˣ⁻ʳ ,   x = r, r + 1, r + 2, ...

The last (x-th) trial must be a success, and the previous x − 1 trials contain exactly r − 1 successes. Here r is a fixed positive integer and p is the parameter. It is written NB(r, p).

Characteristics

  1. The trials are independent and have only two outcomes, with constant p.
  2. The number of successes r is fixed; the number of trials X is random.
  3. The range of X is r, r + 1, r + 2, … (infinite and discrete).
  4. Mean: E(X) = r/p.
  5. Variance: Var(X) = rq/p², which is greater than the mean when q > p.
  6. For r = 1 it reduces to the geometric distribution: P(X = x) = q ˣ⁻¹ p.
  7. The sum of r independent geometric variables is negative binomial.
  8. If the number of failures Y = X − r is counted, P(Y = y) = C(y + r − 1, y) pʳ qʸ, with mean rq/p and variance rq/p².

Example: a player shoots until he scores 3 goals, with p = 0.4 per shot. The probability that the 3rd goal comes on the 5th shot is C(4, 2) (0.4)³ (0.6)² = 6 × 0.064 × 0.36 = 0.138.

Difference from the binomial distribution

BasisBinomialNegative binomial
FixedNumber of trials nNumber of successes r
Random variableNumber of successesNumber of trials needed
Possible values0, 1, …, nr, r + 1, …
pmfC(n, x) pˣ qⁿ⁻ˣC(x − 1, r − 1) pʳ qˣ⁻ʳ
Mean, variancenp, npqr/p, rq/p²
Variance vs meanVariance < meanVariance > mean when q > p

✓ Answer checked by Claude Sonnet 5.5

All Probability and Statistics chapter 2 questions →