Option variable
random_negative_binomial_algorithmDefault value: bernoulli
This is the selected algorithm for simulating random negative binomial variates. Implemented algorithms are devroye, bernoulli and inverse:
devroye, based on algorithm described in Devroye, L. (1986) Non-Uniform Random Variate Generation. Springer Verlag, p. 480.
bernoulli, based on simulation of Bernoulli trials.
inverse, based on the general inverse method.