Option variable
random_binomial_algorithm
Default value: kachit
This is the selected algorithm for simulating random binomial variates. Implemented algorithms are kachit
, bernoulli
and inverse
:
kachit
, based on algorithm described in Kachitvichyanukul, V. and Schmeiser, B.W. (1988) Binomial Random Variate Generation. Communications of the ACM, 31, Feb., 216.
bernoulli
, based on simulation of Bernoulli trials.
inverse
, based on the general inverse method.