Mean and variance of the negative binomial distribution (Edexcel Further Maths)
Further Maths › Edexcel › Topic 3: Geometric and negative binomial distributions
Mean and variance of the negative binomial distribution
Further Statistics 1 (Paper 3B or 4B), topic 3 (Geometric and negative binomial distributions), spec point 3.3
The results
For X∼NB(r,p):
E(X)=prVar(X)=p2r(1−p)
Why
The number of trials to the rth success is the sum of r independent waits, each Geo(p): the wait for the first success, then the wait for the next, and so on. So the mean and the variance are r times the geometric ones.
Worked example
A salesperson makes a sale on each call with probability 0.4. X is the number of calls needed to make 3 sales.
E(X)=0.43=7.5Var(X)=0.163(0.6)=11.25
Finding the parameters
If E(X)=12 and Var(X)=36: EVar=p1−p=3, so p=0.25 and r=12p=3.
Common mistake: swapping r and p, or using pr(1−p) for the variance. The denominator is p2.
Exam tip: to find both parameters from a mean and variance, divide the variance by the mean to get p1−p first.
Check yourself
X∼NB(5,0.5). Find E(X).
10.
Find Var(X) for X∼NB(2,0.2).
0.042(0.8)=40.
How is a negative binomial variable related to geometric ones?