Policy Replication

Portable random number generators

Federal Reserve paper1999 · FRB Atlanta · FRB Atlanta Working Paper · fedawp:13891

Computers are deterministic devices, and a computer-generated random number is a contradiction in terms. As a result, computer-generated pseudorandom numbers are fraught with peril for the unwary. We summarize much that is known about the most well-known pseudorandom number generators: congruential generators. We also provide machine-independent programs to implement the generators in any language that has 32-bit signed integers-for example C, C++, and FORTRAN. Based on an extensive search, we provide parameter values better than those previously available.

References: 24 extracted, 8 linked to papers

Page 1Download these results: CSV · JSON
Press et al. (1992, pp. 274-85)
bookNot linked to a paper · Introduction
Knuth, Donald E. The Art of Computer Programming. Volume 2, Seminumerical Algorithms. Third edition. Reading, Massachusetts: Addison-Wesley Publishing Company, 1998.
bookNot linked to a paper · II. Choosing Among Generators
James (1990)
otherNot linked to a paper · II. Choosing Among Generators
Niederreiter (1992)
bookNot linked to a paper · II. Choosing Among Generators
Marsaglia and Zaman (1991)
journal articleA New Class of Random Number Generators (1991) · II. Choosing Among Generators
L'Ecuyer 1997
journal articleNot linked to a paper · II. Choosing Among Generators
L'Ecuyer and Tezuka (1991)
journal articleNot linked to a paper · II. Choosing Among Generators
Kim et al., 1996
working paperNot linked to a paper · III. Properties of Full Cycles
L'Ecuyer 1988, p. 744
journal articleNot linked to a paper · III. Properties of Full Cycles
Fishman and Moore (1992)
journal articleNot linked to a paper · IV. Spectral Test Results
Dwyer (1996)
journal articleNot linked to a paper · IV. Spectral Test Results
Boyar, Joan. “Inferring Sequences Produced by Pseudo-Random Number Generators.” Journal of the Association for Computing Machinery 36 (January 1989): 129-41.
Krawczyk, Hugo. “How to Predict Congruential Generators.” Journal of Algorithms 13 (1992): 527-45.
journal articleNot linked to a paper · VI. Conclusion
McCullough, Bruce. “Econometric Software Reliability: EViews, LIMDEP, SHAZAM and TSP.” Journal of Applied Econometrics, 1999, forthcoming.
Ferrenberg, Alan M., and D. P. Landau. “Monte Carlo Simulations: Hidden Errors from 'Good' Random Number Generators.” Physical Review Letters 69 (December 7, 1992), pp. 3382-84.
journal articleNot linked to a paper · III. Criteria for Choosing Among Generators
Schmid and Wilding 1995
journal articleERRORS IN MONTE CARLO SIMULATIONS USING SHIFT REGISTER RANDOM NUMBER GENERATORS (1996) · III. Criteria for Choosing Among Generators
Schrage 1979
journal articleA More Portable Fortran Random Number Generator (1979) · III. Criteria for Choosing Among Generators
Cassels 1971
bookNot linked to a paper · III. The Spectral Test
Stuart and Ord 1987
bookNot linked to a paper · IV. Tests for Consistency with Independent Uniform Numbers in One Dimension
Hörmann and Derflinger's (1993)
journal articleNot linked to a paper · VI. Conclusion
Fishman and Moore 1986, p. 43
Gibbons, Jean Dickenson, and Subhabrata Chakraborti. Nonparametric Statistical Inference. Third Edition, Revised and Expanded. New York: Marcel Dekker, Inc., 1992.
bookNot linked to a paper · IV. Runs Test
Giblin, Peter. Primes and Programming: An Introduction to Number Theory with Computing. Cambridge: Cambridge University Press, 1993.
Fishman, George S. Monte Carlo. New York: Springer, 1996.
bookMonte Carlo (1996) · III. Properties of Full Cycles