Negative multinomial distribution (source code)

= Negative multinomial distribution
{wiki=Negative_multinomial_distribution}

The negative multinomial distribution is a generalization of the negative binomial distribution and is used to model the number of trials needed to achieve a certain number of successes in a multinomial setting. This type of distribution is particularly useful when dealing with problems where outcomes can fall into more than two categories, as is the case with multinomial experiments.