Modeling With the Negative Binomial Distribution

Use the negative binomial distribution to model real-world scenarios involving repeated independent Bernoulli trials. Compute single-value probabilities, range probabilities, and expected value and variance.

Step 1 of 119%

Tutorial

Setting Up a Negative Binomial Model

The negative binomial distribution models X,X, the number of independent Bernoulli trials needed to obtain the rr-th success, where each trial succeeds with probability p.p. Its PMF is

P(X=k)=(k1r1)pr(1p)kr,k=r,r+1,r+2,P(X = k) = \binom{k-1}{r-1}\, p^r (1-p)^{k-r}, \qquad k = r,\, r+1,\, r+2, \ldots

To model a real-world scenario with the negative binomial, we identify three quantities:

  1. The Bernoulli trial and its success event.
  2. The success probability p.p.
  3. The number of successes rr being awaited.

For instance, suppose a dart player hits the bullseye on each throw independently with probability p=14.p = \dfrac{1}{4}. Let XX be the number of throws needed to land the 33rd bullseye. Then XX is negative binomial with r=3r = 3 and p=14.p = \dfrac{1}{4}. The probability that the 33rd bullseye occurs on the 66th throw is

P(X=6)=(52)(14) ⁣3(34) ⁣3=101642764=2704096=1352048.\begin{align*} P(X = 6) &= \binom{5}{2}\left(\dfrac{1}{4}\right)^{\!3}\left(\dfrac{3}{4}\right)^{\!3} \\[3pt] &= 10 \cdot \dfrac{1}{64} \cdot \dfrac{27}{64} \\[3pt] &= \dfrac{270}{4096} = \dfrac{135}{2048}. \end{align*}
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle