Generating key points…
Answers are grounded in this paper and cite their sources.
We describe two methods and provide C programs for generating discrete random variables with functions that are simple and fast, averaging ten times as fast as published methods and more than five times as fast as the fastest of those. We provide general procedures for implementing the two methods, as well as specific procedures for three of the most important discrete distributions: Poisson, binomial and hypergeometric.
No takes yet. Share an insight, caveat, or question.
Marsaglia et al. (2004) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: