Photo AI

Last Updated Sep 27, 2025

The Negative Binomial Distribution Simplified Revision Notes

Revision notes with simplified explanations to understand The Negative Binomial Distribution quickly and effectively.

user avatar
user avatar
user avatar
user avatar
user avatar

455+ students studying

17.1.4 The Negative Binomial Distribution

Introduction

The negative binomial distribution is a probability distribution that models the number of trials needed to achieve a fixed number of successes (rr) in a sequence of independent and identically distributed Bernoulli trials, each with success probability pp.

It is often used to model scenarios where you are counting failures before achieving a specified number of successes. This note covers:

  1. The probability mass function (PMF).
  2. Relationships with the binomial distribution.
  3. Mean and variance of the negative binomial distribution.
  4. Applications and examples.

Probability Mass Function (PMF)

If YNegBin(r,p)Y \sim \text{NegBin}(r, p), the probability that Y=xY = x (i.e., xx failures before achieving rr successes) is given by:

P(Y=x)=(x+r1r1)pr(1p)xP(Y = x) = \binom{x + r - 1}{r - 1} p^r (1-p)^x

where:

  • rr is the fixed number of successes,
  • pp is the probability of success in a single trial,
  • (x+r1r1)=(x+r1)!(r1)!x!\binom{x + r - 1}{r - 1} = \frac{(x + r - 1)!}{(r - 1)! \, x!} is the number of ways to arrange r1r-1 successes and xx failures.

Relationship with the Binomial Distribution

There is an important relationship between the negative binomial distribution and the binomial distribution:

If YNegBin(r,p)Y \sim \text{NegBin}(r, p), the cumulative probability P(Yn)P(Y \leq n) can be related to a binomial random variable XBin(n,p)X \sim \text{Bin}(n, p)

P(Yn)=P(Xr)P(Y \leq n) = P(X \geq r)

where XX is the number of successes in nn trials.

This relationship helps in solving cumulative probability problems.

Mean and Variance

For YNegBin(r,p)Y \sim \text{NegBin}(r, p)

Mean (μ\mu)

μ=r(1p)p\mu = \frac{r(1-p)}{p}

Variance (σ2\sigma^2)

σ2=r(1p)p2\sigma^2 = \frac{r(1-p)}{p^2}

Worked Examples

infoNote

Example 1: Finding Probabilities with the Negative Binomial Distribution


Problem

A basketball player makes a shot with a success probability of p=0.6p = 0.6.

What is the probability that it takes exactly 4 shots to make 2 successful shots?


Solution

The number of failures before achieving r=2r = 2 successes follows a negative binomial distribution:

P(Y=x)=(x+r1r1)pr(1p)xP(Y = x) = \binom{x + r - 1}{r - 1} p^r (1-p)^x

Step 1**:** Identify values:

  • r=2r = 2 (number of successes),
  • p=0.6p = 0.6 (probability of success),
  • x=2x = 2 (number of failures before achieving 2 successes)

Step 2**:** Use the PMF formula:

P(Y=2)=(2+2121)(0.6)2(10.6)2P(Y = 2) = \binom{2 + 2 - 1}{2 - 1} (0.6)^2 (1-0.6)^2

Step 3**:** Calculate:

P(Y=2)=(31)(0.6)2(0.4)2P(Y = 2) = \binom{3}{1} (0.6)^2 (0.4)^2P(Y=2)=3×0.36×0.16=0.1728P(Y = 2) = 3 \times 0.36 \times 0.16 = 0.1728

Final Answer:

The probability that it takes exactly 44 shots (22 failures) to make 22 successful shots is 0.1728.

infoNote

Example 2: Using the Relationship Between Negative Binomial and Binomial Distributions


Problem

A manufacturing process produces defective items with a probability of p=0.2p = 0.2

Find the probability that it takes at most 7 trials to produce 3 non-defective items.


Solution

This is a negative binomial problem with r=3r = 3 successes and p=0.8p=0.8 (probability of non-defective items). The probability P(Y7)P(Y \leq 7) can be written using the relationship with the binomial distribution:

P(Y7)=P(X3)P(Y \leq 7) = P(X \geq 3)

where XBin(7,0.8)X \sim \text{Bin}(7, 0.8) is the number of non-defective items in 7 trials.


Step 1: Use the complement rule:

P(X3)=1P(X2)P(X \geq 3) = 1 - P(X \leq 2)

Step 2: Find P(X2)P(X \leq 2) using the binomial formula:

P(X=k)=(nk)pk(1p)nkP(X = k) = \binom{n}{k} p^k (1-p)^{n-k}

For n=7,p=0.8n=7,p=0.8

P(X=0)=(70)(0.8)0(0.2)7=1×0.27=0.000128P(X = 0) = \binom{7}{0} (0.8)^0 (0.2)^7 = 1 \times 0.2^7 = 0.000128P(X=1)=(71)(0.8)1(0.2)6=7×0.8×0.26=0.005376P(X = 1) = \binom{7}{1} (0.8)^1 (0.2)^6 = 7 \times 0.8 \times 0.2^6 = 0.005376P(X=2)=(72)(0.8)2(0.2)5=210.640.25=0.057344P(X = 2) = \binom{7}{2} (0.8)^2 (0.2)^5 = 21 \cdot 0.64 \cdot 0.2^5 = 0.057344

Step 3: Sum probabilities:

P(X2)=P(X=0)+P(X=1)+P(X=2)P(X \leq 2) = P(X = 0) + P(X = 1) + P(X = 2)P(X2)=0.000128+0.005376+0.057344=0.062848P(X \leq 2) = 0.000128 + 0.005376 + 0.057344 = 0.062848

Step 4: Find P(X3)P(X \geq 3)

P(X3)=1P(X2)=10.062848=0.937152P(X \geq 3) = 1 - P(X \leq 2) = 1 - 0.062848 = 0.937152

Final Answer:

The probability that it takes at most 77 trials to produce 33 non-defective items is 0.9372

infoNote

Example 3: Mean and Variance of a Negative Binomial Distribution


Problem

A factory produces defective items with a probability of p=0.3p = 0.3. If we are interested in finding the number of trials needed to produce 5 defective items, find the mean and variance of the distribution.


Solution

For a negative binomial distribution:

μ=r(1p)p,σ2=r(1p)p2\mu = \frac{r(1-p)}{p}, \quad \sigma^2 = \frac{r(1-p)}{p^2}

Step 1: Mean:

μ=r(1p)p=5(10.3)0.3=5×0.70.3=3.50.3=11.67\mu = \frac{r(1-p)}{p} = \frac{5(1-0.3)}{0.3} = \frac{5 \times 0.7}{0.3} = \frac{3.5}{0.3} = 11.67

Step 2: Variance:

σ2=r(1p)p2=5(10.3)(0.3)2=5×0.70.09=3.50.0938.89\sigma^2 = \frac{r(1-p)}{p^2} = \frac{5(1-0.3)}{(0.3)^2} = \frac{5 \times 0.7}{0.09} = \frac{3.5}{0.09} \approx 38.89

Final Answer:

  • Mean: 11.67
  • Variance: 38.89

Note Summary

infoNote

Common Mistakes

  1. Misinterpreting xx and rr: xx is the number of failures, while rr is the number of successes.
  2. Confusing binomial and negative binomial distributions: Negative binomial counts failures before successes, while binomial counts successes in a fixed number of trials.
  3. Forgetting to adjust for cumulative probabilities: Use P(Yn)=P(Xr)P(Y \leq n) = P(X \geq r) when needed.
  4. Incorrectly applying mean and variance formulas: Ensure pp and rr are correctly substituted.
infoNote

Key Formulas

  1. PMF:
P(Y=x)=(x+r1r1)pr(1p)xP(Y = x) = \binom{x + r - 1}{r - 1} p^r (1-p)^x
  1. Mean:
μ=r(1p)p\mu = \frac{r(1-p)}{p}
  1. Variance:
σ2=r(1p)p2\sigma^2 = \frac{r(1-p)}{p^2}
  1. Relationship with Binomial:
P(Yn)=P(Xr)P(Y \leq n) = P(X \geq r)
Books

Only available for registered users.

Sign up now to view the full note, or log in if you already have an account!

500K+ Students Use These Powerful Tools to Master The Negative Binomial Distribution

Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!

40 flashcards

Flashcards on The Negative Binomial Distribution

Revise key concepts with interactive flashcards.

Try Further Maths Further Statistics 1 Flashcards

4 quizzes

Quizzes on The Negative Binomial Distribution

Test your knowledge with fun and engaging quizzes.

Try Further Maths Further Statistics 1 Quizzes

29 questions

Exam questions on The Negative Binomial Distribution

Boost your confidence with real exam questions.

Try Further Maths Further Statistics 1 Questions

27 exams created

Exam Builder on The Negative Binomial Distribution

Create custom exams across topics for better practice!

Try Further Maths Further Statistics 1 exam builder

50 papers

Past Papers on The Negative Binomial Distribution

Practice past papers to reinforce exam experience.

Try Further Maths Further Statistics 1 Past Papers

Other Revision Notes related to The Negative Binomial Distribution you should explore

Discover More Revision Notes Related to The Negative Binomial Distribution to Deepen Your Understanding and Improve Your Mastery

96%

114 rated

Geometric & Negative Binomial Distributions

Binomial Distribution

user avatar
user avatar
user avatar
user avatar
user avatar

409+ studying

181KViews

96%

114 rated

Geometric & Negative Binomial Distributions

Spearman's Rank Correlation Coefficient

user avatar
user avatar
user avatar
user avatar
user avatar

231+ studying

196KViews

96%

114 rated

Geometric & Negative Binomial Distributions

The Geometric Distribution

user avatar
user avatar
user avatar
user avatar
user avatar

305+ studying

198KViews
Load more notes

Join 500,000+ A-Level students using SimpleStudy...

Join Thousands of A-Level Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!

97% of Students

Report Improved Results

98% of Students

Recommend to friends

500,000+

Students Supported

50 Million+

Questions answered