Analytic Comparison of Three General‐Purpose Methods for the Computer Generation of Discrete Random Variables
Arthur V. Peterson and
Richard A. Kronmal
Journal of the Royal Statistical Society Series C, 1983, vol. 32, issue 3, 276-286
Abstract:
Three general‐purpose methods for generating large numbers of discrete random variables are compared: the alias method, the indexed‐search method, and the Marsaglia table method. Unlike previous comparisons, analytic comparisons are emphasized. Results indicate that for any distribution the alias method has fewer operations and thus is faster than the indexed search method. Conclusions about relative speed of the table method, however, are highly dependent on the distribution. For speed and accuracy, the alias method is recommended as a general‐purpose method for generating large numbers of discrete random variables. Timing results are also presented and discussed, and compared with others in the recent literature.
Date: 1983
References: Add references at CitEc
Citations:
Downloads: (external link)
https://doi.org/10.2307/2347950
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:bla:jorssc:v:32:y:1983:i:3:p:276-286
Ordering information: This journal article can be ordered from
http://ordering.onli ... 1111/(ISSN)1467-9876
Access Statistics for this article
Journal of the Royal Statistical Society Series C is currently edited by R. Chandler and P. W. F. Smith
More articles in Journal of the Royal Statistical Society Series C from Royal Statistical Society Contact information at EDIRC.
Bibliographic data for series maintained by Wiley Content Delivery ().