Negative Binomial Distribution

Parameters: Probability of success in each trial (p), Shape (beta)

Formula:

Formula for negative binomial distribution

where:

Condition for negative binomial distribution formula

and x = total number of trials required to achieve Shape number of successes.

Method: Direct Simulation through summation of Geometric variates

Comment: Computation time increases linearly with Shape.