Skip to main content
Examonaut

Topic 3

Geometric and negative binomial distributions

The binomial distribution fixes the number of trials and counts the successes. Turn that round: keep going until you get a success, and count the trials. How many times must you roll a dice to get a 6? How many packets of cereal must you buy to collect three tokens? These waiting-time questions are answered by the geometric and negative binomial distributions.

What you need to know

  • Model the number of trials up to and including the first success with the geometric distribution Geo(p)\text{Geo}(p).
  • Model the number of trials up to and including the rrth success with the negative binomial distribution NB(r,p)\text{NB}(r, p).
  • Calculate probabilities, including cumulative probabilities, for both distributions.
  • Know and use their means and variances.

Both distributions need the same conditions as the binomial: trials that are independent, each with two outcomes (success or failure), and the same probability of success pp every time.

Key points

  • Geo(p)\text{Geo}(p): trials up to and including the first success; P(X=x)=p(1−p)x−1\text{P}(X = x) = p(1 - p)^{x-1}, x=1,2,…x = 1, 2, \ldots
  • P(X>x)=(1−p)x\text{P}(X > x) = (1 - p)^x and P(X⩽x)=1−(1−p)x\text{P}(X \leqslant x) = 1 - (1 - p)^x.
  • Geometric mean 1p\frac{1}{p}, variance 1−pp2\frac{1 - p}{p^2}; the distribution has no memory.
  • NB(r,p)\text{NB}(r, p): trials up to the rrth success; P(X=x)=(x−1r−1)pr(1−p)x−r\text{P}(X = x) = \binom{x - 1}{r - 1}p^r(1 - p)^{x - r}, x=r,r+1,…x = r, r + 1, \ldots
  • Negative binomial mean rp\frac{r}{p}, variance r(1−p)p2\frac{r(1 - p)}{p^2}: a sum of rr independent geometric variables.
  • The rrth success by trial nn is the same event as at least rr successes in nn trials (a binomial probability).

Practise this topic

Both are part of Premium.

Next lesson1. The geometric distribution