Negative Binomial Distribution


The negative binomial distribution, also known as the Pascal distribution or Pólya distribution, gives the probability of r-1 successes and x failures in x+r-1 trials, and success on the (x+r)th trial. The probability density function is therefore given by

where (n; k) is a binomial coefficient. The distribution function is then given by

where Gamma(z) is the gamma function, _2F^~_1(a,b;c;z) is a regularized hypergeometric function, and I(z;a,b) is a regularized beta function.

The negative binomial distribution is implemented in the Wolfram Language as NegativeBinomialDistribution[r, p].

Defining

the characteristic function is given by

phi(t)=(Q-Pe^(it))^(-r),

(9)

and the moment-generating function by

M(t)=<e^(tx)>=sum_(x=0)^inftye^(tx)(x+r-1; r-1)p^r(1-p)^x.

(10)

Since (N; n)=(N; N-n),

The raw moments mu_n^'=M^((n))(0) are therefore

where

q=1-p

(19)

and (r)_n is the Pochhammer symbol. (Note that Beyer 1987, p. 487, apparently gives the mean incorrectly.)

This gives the central moments as

The mean, variance, skewness and kurtosis excess are then

which can also be written

The first cumulant is

kappa_1=nP,

(31)

and subsequent cumulants are given by the recurrence relation

kappa_(r+1)=PQ(dkappa_r)/(dQ).

(32)


See also

Binomial Distribution

Explore with Wolfram|Alpha

References

Beyer, W. H. CRC Standard Mathematical Tables, 28th ed. Boca Raton, FL: CRC Press, p. 533, 1987.Spiegel, M. R. Theory and Problems of Probability and Statistics. New York: McGraw-Hill, p. 118, 1992.

Referenced on Wolfram|Alpha

Negative Binomial Distribution

Cite this as:

Weisstein, Eric W. "Negative Binomial Distribution." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/NegativeBinomialDistribution.html

Subject classifications