NegativeBinomialDistribution
NegativeBinomialDistribution[n, p] represents a negative binomial distribution with parameters n and p.
Examples
NegativeBinomialDistribution[5, 0.5]Mean[NegativeBinomialDistribution[10, 0.3]]Please visit the official Wolfram Language Reference for more details.