Negative Binomial

In contrast to the Binomial Experiment, a negative binomial experiment is the number of S's desired to be fixed in advance and the required number of trials is random. More precisely, if the following are satisfied:

  1. The experiment consists of independent trials
  2. Each trial is a S success or fail F
  3. The probability of success is constant from trial to trial, so P(S on trial i)=p for i=1,2,3,...
  4. The experiment continues until a total of r successes has been observed, where r is a specified positive integer.

The random variable of interest is X= the number of trials to achieve the r-th success, and X is the negative binomial random variable. X=r,r+1,...

Let nb(x;r,p) denote the pmf of X. Then:

nb(x;r,p)=P(X=x)=P(r1S’s on the first x1 trials)P(S)

The first probability on the far right is just p, and the left probability is just the binomial probability. Thus:

nb(x;r,p)=(x1r1)pr1(1p)(x1)(r1)
Proposition

The pmf of the negative binomial rv X with parameters r= desired number of S's and p=P(S) is:

nb(x;r,p)=(x1r1)pr(1p)xr

where x=r,r+1,

Mean, Variance, and Moment Generating Function

Proposition

If X is a negative binomial rv with parameters r and p, then:

E(X)=rp,Var(X)=r(1p)p2