The negative binomial distribution
Studying this course? Keep your progress in one place.
Key facts
- is the number of trials needed to get successes, so
- .
- and : times the geometric values.
- With it is the geometric distribution.
- Binomial fixes the trials; negative binomial fixes the successes.
The negative binomial model
The number of independent trials needed to obtain successes.
The negative binomial distribution extends the geometric distribution. With independent trials, each with probability of success, is the number of trials needed to obtain successes: .
The conditions are the same as for the geometric model: two outcomes, constant and independent trials.
The th success must happen on trial , so When it is geometric. The number of rolls of a fair die to get two sixes is .
| Binomial | Geometric | Negative binomial | |
|---|---|---|---|
| Fixed in advance | Number of trials | One success | Number of successes |
| What you count | Successes | Trials to the first success | Trials to the th success |
Binomial
- Fixed in advance:
- Number of trials
- What you count:
- Successes
Geometric
- Fixed in advance:
- One success
- What you count:
- Trials to the first success
Negative binomial
- Fixed in advance:
- Number of successes
- What you count:
- Trials to the th success
How many rolls of a fair die are needed to get three sixes?
The probability function
Trial is the th success, and the earlier trials contain exactly successes in any order.
Trial must be the th success, giving a factor . The first trials contain exactly successes in any order, with probability . Multiplying gives the formula.
The binomial coefficient is , not : the final trial is fixed as a success, so only the first trials can be arranged.
For "on or before" probabilities, add the individual terms. For "more than", use as it has fewer terms.
- 1
First x − 1 trials
exactly r − 1 successes in any order: C(x−1, r−1) p^(r−1) (1−p)^(x−r)
- 2
Trial x
must be the rth success, with probability p
- 3
Multiply
P(X = x) = C(x−1, r−1) p^r (1−p)^(x−r), for x = r, r+1, r+2, …
Worked example
A shooter hits with probability and is the number of shots needed for hits. Find and .
- 1
.
- 2
.
- 3
and .
- 4
Add the terms, since .
. Find .
Mean and variance
They are times the geometric mean and variance.
For : and .
These are in the formulae booklet and you do not need to prove them. They are times the geometric mean and variance, which fits waiting for successes one after another.
Do not use instead of in the denominator of the variance, or leave out the factor .
- Mean
- Variance
- Mean
- Variance
Worked example
Find the mean and variance when and , and when and (rolls of a die to get two sixes).
- 1
, : .
- 2
.
- 3
, : and .
. Find and .
Using the model in context
State the trial and success, give , then add the right probabilities.
State what a trial and a success are, then give with the values of and .
The model suits "first to " situations. For a best-of-five series won by the first team to wins, imagine the games continuing regardless. A team wins the series if its third win comes by game , so you add , and .
For the series to last exactly five games, either team's third win is on game 5: add the two probabilities, which cannot happen together. Check assumptions such as independence and constant .
- 1
Define
say what a trial and a success are
- 2
State
give X ~ NB(r, p) with its values
- 3
Calculate
write each term of the sum on its own line
- 4
Comment
check independence and constant p
Worked example
Two evenly matched teams play a best-of-five series, so each wins a game with probability . The first to wins takes the series. Find the probability that the series lasts exactly five games.
- 1
For team A, is the game on which A's third win comes.
- 2
.
- 3
Team B has the same probability, and both cannot happen together, so add them.
Team A wins each game with probability . What is the probability that A wins the series in exactly 3 games?
Try an exam question
A shooter hits a target with probability on each independent shot. Let be the number of shots needed to score hits. Find and .
[5 marks]
- [1].
- [1].
- [1].
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme