Negative Binomial Distribution

Compact study note.

Summary

The negative binomial distribution models the number of failures before a fixed number of successes in independent Bernoulli trials.[1]

Prerequisites

Definition

XNegBin(r,p) here means X counts failures before the r th success.

Notation and Assumptions

Trials are independent, success probability is constant, and r is fixed in advance.

Parameters

r{1,2,} and 0<p1 .

Support

{0,1,2,} .

PMF or PDF

P(X=k)=(k+r1k)pr(1p)k for k=0,1,2, .

CDF

Usually evaluated by summing the PMF; closed forms use special functions.

Moments

E[X]=r(1p)/p and Var(X)=r(1p)/p2 .

Essential Result

For r=1 , this is the failure-count version of the geometric distribution.

Small Example

For r=3 , p=0.5 , P(X=2)=(42)(0.5)3(0.5)2=6/32=0.1875 .

Common Mistakes

Connections

References


  1. OpenStax, Introductory Statistics 2e, "Chapter 4: Discrete Random Variables", https://openstax.org/books/introductory-statistics-2e/pages/4-introduction ↩︎