Topic 3 · Lesson 2 of 3
The negative binomial distribution
Probabilities
Let be the number of trials up to and including the th success. means the th trial is a success and exactly of the first trials were successes. The number of ways to place those is , so
We write . The smallest possible value is (every trial a success), with probability . With this is the geometric distribution.
The coefficient is , not : the last trial is fixed as a success, so only the earlier ones can be arranged.
Worked example
Free throws
A basketball player scores each free throw with probability 0.7. Find the probability that his third score comes from his fifth throw.
Show solutionHide solution
Exactly 2 scores in the first 4 throws, then a score:
Mean and variance
If then
Both are times the geometric values. This is no coincidence: the wait for the th success is the wait for the first, plus the wait from the first to the second, and so on. These waits are independent geometric variables, so
and means and variances of independent variables add.
Given a mean and a variance you can find both parameters: if the mean is 6 and the variance 6, dividing gives , so , and then .
Link with the binomial distribution
"The th success happens on or before trial " is the same event as "there are at least successes in the first trials". So if and ,
This turns a long sum of negative binomial terms into one binomial calculation on your calculator.
Worked example
Collecting stickers
One magazine in 4 contains a rare sticker, and a collector needs 2 of them. .
Show solutionHide solution
- Mean magazines; variance , so standard deviation 4.90.
- Exactly 8 magazines: .
- More than 10 magazines: at most 1 sticker in 10 magazines, with , which is .
Worked example
The most likely number of trials
For , which value of is most likely?
Show solutionHide solution
Compare consecutive probabilities. With and ,
This is greater than 1 when , equal to 1 when and less than 1 when . So the probabilities rise to and then fall: has two modes, 4 and 5. Unlike the geometric distribution, a negative binomial distribution with need not have its mode at the smallest value.
Choosing the right distribution
- Fixed number of trials, counting successes: binomial.
- Counting trials until the first success: geometric.
- Counting trials until the th success: negative binomial.
- Counting events in an interval, with no fixed number of trials: Poisson.
Read the question for what is fixed and what is counted.
Practise this topic
Both are part of Premium.