Negative Binomial Distribution
Parameters: Probability of success in each trial (p), Shape ()
Formula:
where:
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.