negativeBinomialDistribution(r, p)The negative binomial distribution, the distribution of the number of failures in a sequence of Bernoulli trials (with probability of success p) until the rth success.
|
|
|
|
|
Probability texts define the negative binomial distribution in a variety of different ways. Our definition is consistent with R.
The object negativeBinomialDistribution is a method function.
The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Probability.m2:1026:0.