TestU01: A C library for empirical testing of random number generators
The DOI matches its Crossref record; 129 of the 130 references it cites were found in a registry or an index.
Abstract
We introduce TestU01 , a software library implemented in the ANSI C language, and offering a collection of utilities for the empirical statistical testing of uniform random number generators (RNGs). It provides general implementations of the classical statistical tests for RNGs, as well as several others tests proposed in the literature, and some original ones. Predefined tests suites for sequences of uniform random numbers over the interval (0, 1) and for bit sequences are available. Tools are also offered to perform systematic studies of the interaction between a specific test and the structure of the point sets produced by a given family of RNGs. That is, for a given kind of test and a given class of RNGs, to determine how large should be the sample size of the test, as a function of the generator's period length, before the generator starts to fail the test systematically. Finally, the library provides various types of generators implemented in generic form, as well as many specific generators proposed in the literature or found in widely used software. The tests can be applied to instances of the generators predefined in the library, or to user-defined generators, or to streams of random numbers produced by any kind of device or stored in files. Besides introducing TestU01 , the article provides a survey and a classification of statistical tests for RNGs. It also applies batteries of tests to a long list of widely used RNGs.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“However, these traditional methods have been reported to be inadequate, especially for high-dimensional data and for analyzing complex dependencies”
From A novel deep learning-based statistical randomness evaluation test methodology for cryptographic applications (2025) · cites this paper as L'Ecuyer and Simard 2007
In the citing paper
“NIST SP-800.22 statistical test suite [90] and Die-hard test suite [91] and Test U01 [92] and AIS31 [93] are most common statistical test suites to evaluate their RNGs by researchers.”
From True Random Number Generators Using Electrical Noise (2019) · cites this paper as [92]
In the citing paper
“The Philox and Threefry generators are shown to produce at least 2 64 independent streams of random numbers, with a period of 2 128 or more, and pass BigCrush [36] statistical tests.”
From Bandwidth-Optimal Random Shuffling for GPUs (2022) · cites this paper as [36]
Citations
Cites
The Art of Computer Programming
Knuth, D. E. (1968) · Cited by 16,320
Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. (1994) · Cited by 15,411
Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator
Matsumoto, M., & Nishimura, T. (1998) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/272991.272995 · Cited by 5,780
The Art of Computer Programming. Volume 2: Seminumerical Algorithms.
Taussky, O., & Knuth, D. E. (1970) · The American Mathematical Monthly · doi:10.2307/2317055 · Cited by 3,822
Bassham, L. E., Rukhin, A. L., Soto, J., Nechvatal, J. R., Smid, M. E., Barker, E. B., Leigh, S. D., Levenson, M., Vangel, M., Banks, D. L., et al. (2010) · NIST Special Publication 800-22 Revision 1a · doi:10.6028/nist.sp.800-22r1a · Cited by 3,617 · cited 11×
“Besides TestU01, the best-known public-domain statistical testing packages for RNGs are DIEHARD [Marsaglia 1996] and the test suite implemented by the National Institute of Standards and Technology (NIST) of the USA [Rukhin et al. 2001].”
MethodInfluentialAsymptotic Theory of Certain "Goodness of Fit" Criteria Based on Stochastic Processes
Anderson, T. W., & Darling, D. A. (1952) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177729437 · Cited by 3,542 · cited 2×
“Their (approximate) distributions under H0 can be found in Anderson and Darling [1952], Darling [1960], Durbin [1973], Stephens [1970], Stephens [1986a], and Sinclair and Spurr [1988]. The p-value of the GOF test statistic is computed and H0 is rejected if this p-value is deemed too extreme, as usual.”
BackgroundCompression of individual sequences via variable-rate coding
Ziv, J., & Lempel, A. (1978) · IEEE Transactions on Information Theory · doi:10.1109/tit.1978.1055934 · Cited by 3,432 · cited 2×
“This number measures the compressibility of the sequence by the Lempel-Ziv compression algorithm given in Ziv and Lempel [1978]. According to Kirschenhofer et al.”
MethodAn Introduction to Probability Theory.
Fristedt, B., & Moran, P. A. P. (1986) · Journal of the American Statistical Association · doi:10.2307/2288022 · Cited by 3,300
Modern Applied Statistics with S-Plus.
Venables, W. N., & Ripley, B. D. (1996) · Biometrics · doi:10.2307/2532871 · Cited by 2,994 · cited 3×
“The combined LCGs of Wichmann and Hill (1982) is of that form, with three components of moduli near 30300, whose outputs are added modulo 1.”
BackgroundMethodInfluentialRandom Number Generation and Quasi-Monte Carlo Methods.
Collings, B. J., & Niederreiter, H. (1993) · Journal of the American Statistical Association · doi:10.2307/2290359 · Cited by 2,884
Random Number Generation and Quasi-Monte Carlo Methods
Niederreiter, H. (1992) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611970081 · Cited by 2,770 · cited 1×
“Theoretical figures of merit for measuring this uniformity are discussed, e.g., in L’Ecuyer (2006), Niederreiter (1992) , Tezuka (1995) and the references given there.”
BackgroundAlgebraic Coding Theory: Revised Edition
Berlekamp, E. R. (2015) · WORLD SCIENTIFIC eBooks · doi:10.1142/9407 · Cited by 2,474
Daemen, J., & Rijmen, V. (2002) · Information Security and Cryptography · doi:10.1007/978-3-662-04722-4 · Cited by 2,437 · cited 2×
“AES uses the Advanced Encryption standard based on the Rijndael cipher [NIST 2001; Daemen and Rijmen 2002] with a 128-bit key, in output feedback mode (OFB), in counter mode (CTR), and in key counter mode (KTR).”
MethodShift-register synthesis and BCH decoding
Massey, J. (1969) · IEEE Transactions on Information Theory · doi:10.1109/tit.1969.1054260 · Cited by 2,186 · cited 4×
“GFSR(521, 32) has also been very popular; we use the initialization of Ripley [1990]. GFSR(607, 273) was proposed by Tootill et al.”
MethodInfluentialRukhin, A., Sota, J., Nechvatal, J., Smid, M., Barker, E., Leigh, S., Levenson, M., Vangel, M., Banks, D., Heckert, A., et al. (2000) · doi:10.6028/nist.sp.800-22 · Cited by 1,867
Monte Carlo: Concepts, Algorithms, and Applications
Wasserstein, R. L. (1997) · Technometrics · doi:10.1080/00401706.1997.10485133 · Cited by 1,790 · cited 2×
“Several authors have advocated and/or applied a two-level (or second-order) procedure for testing RNGs [Fishman 1996; Knuth 1998; L’Ecuyer 1992; Marsaglia 1985].”
MethodFishman, G. S. (1996) · Springer eBooks · doi:10.1007/978-1-4757-2553-7 · Cited by 925
Modern Applied Statistics with S-Plus
Venables, W. N., & Ripley, B. D. (1994) · Statistics and Computing · doi:10.1007/978-1-4899-2819-1 · Cited by 806
Goodness-of-Fit Statistics for Discrete Multivariate Data
Read, T. R. C., & Cressie, N. A. C. (1988) · Springer Series in Statistics · doi:10.1007/978-1-4612-4578-0 · Cited by 771 · cited 3×
“0, we obtain the log-likelihood statistic G2 [Read and Cressie 1988].”
BackgroundMethodGoodness-of-fit statistics for discrete multivariate data
(1989) · Choice Reviews Online · doi:10.5860/choice.26-2740 · Cited by 738
Numerical Computing with Matlab
Moler, C. B. (2004) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9780898717952 · Cited by 646 · cited 6×
“Matlab-randis the uniform generator randincluded in MATLAB [Moler 2004].”
BackgroundMethodInfluentialAlgorithm AS 183: An Efficient and Portable Pseudo-Random Number Generator
Wichmann, B. A., & Hill, I. D. (1982) · Applied Statistics · doi:10.2307/2347988 · Cited by 618
Use of the Kolmogorov–Smirnov, Cramér–Von Mises and Related Statistics Without Extensive Tables
Stephens, M. A. (1970) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1970.tb00821.x · Cited by 580
Applications of Number Theory to Numerical Analysis
(1972) · Elsevier eBooks · doi:10.1016/c2013-0-11736-9 · Cited by 500
Efficient and portable combined random number generators
L'Ecuyer, P. (1988) · Communications of the ACM · doi:10.1145/62959.62969 · Cited by 494 · cited 7×
“CombMRG96, MRG32k3a, and MRG31k3p are combined MRGs for 32-bit computers, proposed by L’Ecuyer (1996a), L’Ecuyer (1999a), and L’Ecuyer and Touzin (2000), respectively. MRG63k3a is a combined MRG for 64-bit computers, proposed by L’Ecuyer (1999a).”
BackgroundMethodInfluentialSelf-citationGood Parameters and Implementations for Combined Multiple Recursive Random Number Generators
L'Ecuyer, P. (1999) · Operations Research · doi:10.1287/opre.47.1.159 · Cited by 460
Self-citationMonte Carlo simulations: Hidden errors from ‘‘good’’ random number generators
Ferrenberg, A. M., Landau, D. P., & Wong, Y. J. (1992) · Physical Review Letters · doi:10.1103/physrevlett.69.3382 · Cited by 437 · cited 2×
“The simple structure that permits some classes of generators to run very fast is often the source of major statistical weaknesses, which sometimes lead to totally wrong simulation results [Couture and L’Ecuyer 1994; Ferrenberg et al. 1992; L’Ecuyer and Simard 1999; L’Ecuyer et al. 2002; L’Ecuyer and Touzin 2004; Panne…”
BackgroundMarsaglia, G. (2003) · Journal of Statistical Software · doi:10.18637/jss.v008.i14 · Cited by 434 · cited 2×
“In this C program, the function xorshiftimplements a 32-bit xorshift generator [Marsaglia 2003].”
MethodDistribution Theory for Tests Based on the Sample Distribution Function.
Holgate, P., & Durbin, J. (1974) · Journal of the American Statistical Association · doi:10.2307/2286032 · Cited by 376
A New Class of Random Number Generators
Marsaglia, G., & Zaman, A. (1991) · The Annals of Applied Probability · doi:10.1214/aoap/1177005878 · Cited by 370 · cited 2×
“These generators, denoted SWB(m, r, k), employ a linear recurrence like a subtractive lagged-Fibonacci but with a borrow [Marsaglia and Zaman 1991]: xi = (xi−r − xi−k − ci−1) mod m where ci = (xi−r−xi−k−ci−1)/m , and ui = xi/m.”
MethodA pseudo-random number generator for the System/360
Lewis, P. A. W., Goodman, A. S., & Miller, J. M. (1969) · IBM Systems Journal · doi:10.1147/sj.82.0136 · Cited by 370
An Object-Oriented Random-Number Package with Many Long Streams and Substreams
L'Ecuyer, P., Simard, R., Chen, E. J., & Kelton, W. D. (2002) · Operations Research · doi:10.1287/opre.50.6.1073.358 · Cited by 347
Self-citationSAKATA, S. (2008) · IEICE ESS Fundamentals Review · doi:10.1587/essfr.1.3_44 · Cited by 347
DIEHARD : A battery of tests of randomness
Marsaglia, G. (1996) · Medical Entomology and Zoology · Cited by 341
Recommendation for random number generation using deterministic random bit generators
Barker, E. B., & Kelsey, J. M. (2012) · doi:10.6028/nist.sp.800-90a · Cited by 306
A portable high-quality random number generator for lattice field theory simulations
Lüscher, M. (1994) · Computer Physics Communications · doi:10.1016/0010-4655(94)90232-1 · Cited by 286 · cited 2×
“SWB(224, 10, 24)[24, l], called RANLUX, was advocated in (Lüscher, 1994; James, 1994) with luxury levels l = 24, 48, 97, 223, 389.”
BackgroundImproved long-period generators based on linear recurrences modulo 2
Panneton, F., L'Ecuyer, P., & Matsumoto, M. (2006) · ACM Transactions on Mathematical Software · doi:10.1145/1132973.1132974 · Cited by 283
Self-citationL'Ecuyer, P. (1990) · Communications of the ACM · doi:10.1145/84537.84555 · Cited by 282 · cited 1×
“LCGs with power-of-two modulus m = 2e are known to be badly behaved, especially in their least significant bits (L’Ecuyer, 1990).”
BackgroundSelf-citationUniform random number generation
L'Ecuyer, P. (1994) · Annals of Operations Research · doi:10.1007/bf02136827 · Cited by 279
Self-citationAlgorithm 806: SPRNG: a scalable library for pseudorandom number generation
Mascagni, M., & Srinivasan, A. (2000) · ACM Transactions on Mathematical Software · doi:10.1145/358407.358427 · Cited by 275
Maximally equidistributed combined Tausworthe generators
L’Ecuyer, P. (1996) · Mathematics of Computation · doi:10.1090/s0025-5718-96-00696-5 · Cited by 267
Self-citationModern Cryptography, Probabilistic Proofs and Pseudorandomness
Goldreich, O. (1999) · Algorithms and Combinatorics · doi:10.1007/978-3-662-12521-2 · Cited by 265 · cited 4×
“The theoretical analysis of RNGs in cryptology is usually asymptotic, in the framework of computational complexity theory [Knuth 1998; Lagarias 1993; Goldreich 1999].”
BackgroundMethodInfluentialA universal statistical test for random bit generators
Maurer, U. M. (1992) · Journal of Cryptology · doi:10.1007/bf00193563 · Cited by 263 · cited 3×
“The test of Maurer [1992], discussed earlier, is an entropy test, and the binary versions of the multinomial tests are essentially entropy tests as well [Wegenkittl 2001].”
MethodA very fast shift-register sequence random number generator
Kirkpatrick, S., & Stoll, E. P. (1981) · Journal of Computational Physics · doi:10.1016/0021-9991(81)90227-8 · Cited by 252
Uniform Random Numbers: Theory and Practice
Tezuka, S. (1995) · Cited by 247
Handbook of Computational Statistics: Concepts and Methods
(2012) · CERN Document Server (European Organization for Nuclear Research) · doi:10.1007/978-3-642-21551-3 · Cited by 247
Numerical computing with MATLAB
(2005) · Choice Reviews Online · doi:10.5860/choice.42-3475 · Cited by 222
(2008) · The Concise Encyclopedia of Statistics · doi:10.1007/978-0-387-32833-1_341 · Cited by 206
Fishman, G. S., & Moore, III (1986) · SIAM Journal on Scientific and Statistical Computing · doi:10.1137/0907002 · Cited by 205
Tezuka, S. (1995) · Springer eBooks · doi:10.1007/978-1-4615-2317-8 · Cited by 196 · cited 2×
“Certain types of LFSR generators are constructed so that if we partition (0, 1)t into 2t. subcubes of equal size, where 2t. is the cardinality of the set Wt , then each subcube contains exactly one point from Wt [L Ecuyer 1996b, 1999; Tezuka 1995].”
BackgroundRANLUX: A Fortran implementation of the high-quality pseudorandom number generator of Lüscher
James, F. (1994) · Computer Physics Communications · doi:10.1016/0010-4655(94)90233-x · Cited by 191 · cited 4×
“SWB(224, 10, 24)[24, ], called RANLUX, was advocated in [Lüscher 1994; James 1994] with luxury levels = 24, 48, 97, 223, 389. In its original form it returns only 24-bit output values. For our tests, we use a version with 48 bits of precision obtained by adding two successive numbers modulo 1 as ui = (x2i/2(24)+x2i+1/…”
MethodInfluentialTables of maximally equidistributed combined LFSR generators
L’Ecuyer, P. (1999) · Mathematics of Computation · doi:10.1090/s0025-5718-99-01039-x · Cited by 178
Self-citationMatsumoto, M., & Kurita, Y. (1994) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/189443.189445 · Cited by 174 · cited 2×
“Maurer [1992] introduced a special case of this type of test and proposed as a test statistic the average of the logarithms of all the gaps, where the gaps start to be collected only after a long warm-up.”
BackgroundResultMatsumoto, M., & Kurita, Y. (1992) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/146382.146383 · Cited by 171 · cited 1×
“T800 and TT800 are twisted GFSR generators proposed in ( Matsumoto and Kurita, 1992, 1994 ).”
BackgroundBickel, P. J., & Breiman, L. (1983) · The Annals of Probability · doi:10.1214/aop/1176993668 · Cited by 168 · cited 1×
“Bickel and Breiman [1983] proposed a related goodness-of-fit test of uniformity based on the statistic Bn = ∑n i=1(Wn,(i) − i/n)2, where Wn,(1) ≤ · · · ≤ Wn,(n) are the ordered values of the Wn,i = 1 − exp[−nVt(Dn,i)], 1 ≤ i ≤ n, and Dn,i is the distance from point i to its nearest neighbor (based on an arbitrary norm…”
BackgroundThe Structure of Linear Congruential Sequences
MARSAGLIA, G. (1972) · Applications of Number Theory to Numerical Analysis · doi:10.1016/b978-0-12-775950-0.50013-3 · Cited by 166 · cited 4×
“The multiplicative lagged Fibonacci generators LFib(264, 17, 5, ∗), LFib(264, 55, 24, ∗), LFib(264, 607, 273, ∗) and LFib(264, 1279, 861, ∗) are from Marsaglia (1985) and are available in SPRNG (Mascagni and Srinivasan, 2000).”
BackgroundMethodInfluentialCombined Multiple Recursive Random Number Generators
L'Ecuyer, P. (1996) · Operations Research · doi:10.1287/opre.44.5.816 · Cited by 157
Self-citationSome Difficult-to-Pass Tests of Randomness
Marsaglia, G., & Tsang, W. W. (2002) · Journal of Statistical Software · doi:10.18637/jss.v007.i03 · Cited by 156
A non-linear congruential pseudo random number generator
Eichenauer, J., & Lehn, J. (1986) · Statistische Hefte · doi:10.1007/bf02932576 · Cited by 149 · cited 1×
“The inversive congruential generator ICG (m, a, b) uses the recurrence xj +1 = (ax j + b) mod m, where xx = 1 mod m if x .= 0, and 0 = 0 [Eichenauer and Lehn 1986].”
MethodA search for good multiple recursive random number generators
L'Ecuyer, P., Blouin, F., & Couture, R. (1993) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/169702.169698 · Cited by 122 · cited 1×
“MRGk5-93 is from (L’Ecuyer et al., 1993) and has recurrence xi = (107374182xi−1 + 104480xi−5) mod (2 31 − 1).”
Self-citationOn the xorshift random number generators
Panneton, F., & L’Ecuyer, P. (2005) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/1113316.1113319 · Cited by 120
Self-citationMatrices and the structure of random number sequences
Marsaglia, G., & Tsay, L.-H. (1985) · Linear Algebra and its Applications · doi:10.1016/0024-3795(85)90192-2 · Cited by 118
Testing random number generators
L'Ecuyer, P. (1992) · Proceedings of the 24th conference on Winter simulation - WSC '92 · doi:10.1145/167293.167354 · Cited by 115 · cited 1×
“Several authors have advocated and/or applied a two-level (or second-order) procedure for testing RNGs (Fishman, 1996; Knuth, 1998; L’Ecuyer, 1992; Marsaglia, 1985).”
Self-citationThe serial test for sampling numbers and other tests for randomness
Good, I. J. (1953) · Mathematical Proceedings of the Cambridge Philosophical Society · doi:10.1017/s030500410002836x · Cited by 115 · cited 11×
“[2002], where good approximations for their distributions under HA 0 are given. In each case, the test statistic is a measure of clustering: It decreases when the points are more evenly distributed between the cells. (For the entropy, this is true if we take −H.) The number of collisions C is often the most powerful t…”
BackgroundMethodInfluentialAn extreme value theory for long head runs
Gordon, L., Schilling, M. F., & Waterman, M. S. (1986) · Probability Theory and Related Fields · doi:10.1007/bf00699107 · Cited by 108 · cited 2×
“The longest head run test [F¨ oldes 1979; Gordon et al. 1986] is a variant of the run test that looks at the length Y of the longest substring of successive 1 s in a string of length m.”
BackgroundMonkey tests for random number generators
Marsaglia, G., & Zaman, A. (1993) · Computers & Mathematics with Applications · doi:10.1016/0898-1221(93)90001-c · Cited by 102 · cited 1×
“Some of these tests and new ones have been studied more extensively by Erdmann (1992), Marsaglia and Zaman (1993b) , Vattulainen et al. (1995), L’Ecuyer and Simard (1999), L’Ecuyer et al. (2000), L’Ecuyer and Simard (2001), L’Ecuyer et al. (2002), Rukhin (2001), for instance.”
BackgroundFour-tap shift-register-sequence random-number generators
Ziff, R. M. (1998) · Computers in Physics · doi:10.1063/1.168692 · Cited by 101 · cited 3×
“This number measures the compressibility of the sequence by the Lempel-Ziv compression algorithm given in Ziv and Lempel (1978). According to Kirschenhofer et al.”
MethodInfluentialSoftware for uniform random number generation: distinguishing the good and the bad
L’Ecuyer, P. (2001) · doi:10.5555/564124.564139 · Cited by 98
Self-citationA random number generator for PC's
Marsaglia, G., Narasimhan, B., & Zaman, A. (1990) · Computer Physics Communications · doi:10.1016/0010-4655(90)90033-w · Cited by 93 · cited 1×
“SWB(232 − 5, 22, 43) was proposed as a component of the RNG of Marsaglia et al. (1990) .”
BackgroundInversive Congruential Pseudorandom Numbers: A Tutorial
Eichenauer-Herrmann, J., & Eichenauer-Herrmann, J. (1992) · International Statistical Review / Revue Internationale de Statistique · doi:10.2307/1403647 · Cited by 88
An Asymptotically Random Tausworthe Sequence
Tootill, J. P. R., Robinson, W. D., & Eagle, D. J. (1973) · Journal of the ACM · doi:10.1145/321765.321778 · Cited by 88
Thoughts on pseudorandom number generators
Ripley, B. D. (1990) · Journal of Computational and Applied Mathematics · doi:10.1016/0377-0427(90)90346-2 · Cited by 84
A random number generator based on the combination of four LCGs
L’Ecuyer, P., & Andres, T. (1997) · Mathematics and Computers in Simulation · doi:10.1016/s0378-4754(97)00052-9 · Cited by 83
Self-citationFishman, G. S. (1990) · Mathematics of Computation · doi:10.1090/s0025-5718-1990-0993929-9 · Cited by 78 · cited 2×
“2004], under the name fishman2x (although G. Fishman never proposed this generator). Press and Teukolsky [1992] proposed a slightly modified version of CombLec88 (with shuffled output) named ran2.”
BackgroundEmpirical evidence concerning AES
Hellekalek, P., & Wegenkittl, S. (2003) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/945511.945515 · Cited by 76 · cited 1×
“AES under these modes was tested empirically by Hellekalek and Wegenkittl (2003) .”
MethodL’Ecuyer, P., & Buist, É. (2006) · Winter Simulation Conference · doi:10.1109/wsc.2005.1574301 · Cited by 76 · cited 1×
“The xorshift RNGs are a special form of LFSR generators proposed by Marsaglia (2003), and further analyzed by Brent (2004) and Panneton and L’Ecuyer (2005).”
MethodSelf-citationUniform random numbers : theory and practice
手塚, 集. (1995) · Kluwer Academic Publishers eBooks · Cited by 75
Physical models as tests of randomness
Vattulainen, I., Ala-Nissilä, T., & Kankaala, K. (1995) · Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · doi:10.1103/physreve.52.3205 · Cited by 75 · cited 2×
“The n-block test of Vattulainen et al. [1995] is equivalent to counting the proportion of walks for which H ≥ /2.”
BackgroundMethodRandom Number Generation for the New Century
Deng, L.-Y., & Lin, D. K. J. (2000) · The American Statistician · doi:10.1080/00031305.2000.10474528 · Cited by 72 · cited 1×
“DengLin(m, k, a) have the form xi = (−xi−1 + axi−k) mod m and were proposed by Deng and Lin (2000) .”
BackgroundRandom Number Generators: Selection Criteria and Testing
L’Ecuyer, P., & Hellekalek, P. (1998) · Lecture notes in statistics · doi:10.1007/978-1-4612-1702-2_5 · Cited by 69
Self-citationBad Lattice Structures for Vectors of Nonsuccessive Values Produced by Some Linear Recurrences
L'Ecuyer, P. (1997) · INFORMS Journal on Computing · doi:10.1287/ijoc.9.1.57 · Cited by 69
Self-citationChapter 3 Uniform Random Number Generation
L’Ecuyer, P. (2006) · Handbooks in operations research and management science · doi:10.1016/s0927-0507(06)13003-0 · Cited by 62
Self-citationL’Ecuyer, P., & Buist, É. (2005) · Winter Simulation Conference · doi:10.5555/1162708.1162815 · Cited by 60
Self-citationOn the performance of birthday spacings tests with certain families of random number generators
L’Ecuyer, P., & Simard, R. (2001) · Mathematics and Computers in Simulation · doi:10.1016/s0378-4754(00)00253-6 · Cited by 59 · cited 2×
“This has the advantage of providing more points (a larger n, and usually a more powerful test) for a given number of calls to the generator [L’Ecuyer et al. 2002]. Marsaglia and Zaman [1993b] name these overlapping serial tests monkey tests: they view the generator as a monkey typing “random” characters from a d lette…”
BackgroundSelf-citationA new test for randomness and its application to some cryptographic problems
Ryabko, B. Y., Stognienko, V. S., & Shokin, Y. I. (2003) · Journal of Statistical Planning and Inference · doi:10.1016/s0378-3758(03)00149-6 · Cited by 57
Efficient and portable multiple recursive generators of large order
Deng, L. (2005) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/1044322.1044323 · Cited by 56 · cited 1×
“The DX∗ are selected among the long-period MRGs proposed by Deng (2005) .”
BackgroundSecond Paper on Random Sampling Numbers
Kendall, M. G., & Babington-Smith, B. (1939) · Journal of the Royal Statistical Society Series B (Statistical Methodology) · doi:10.2307/2983623 · Cited by 56 · cited 1×
“The poker test of Kendall and Babington-Smith (1939), described by Knuth (1998), can be seen as yet another way of partitioning the hypercube.”
MethodFast combined multiple recursive generators with multipliers of the form a=±2/sup q/±2/sup r/
L’Ecuyer, P., & Touzin, R. (2002) · Winter Simulation Conference · doi:10.1109/wsc.2000.899780 · Cited by 55
Self-citationOn the lattice structure of certain linear congruential sequences related to AWC/SWB generators
Couture, R., & L'Ecuyer, P. (1994) · doi:10.2307/2153540 · Cited by 53
Self-citationOn the lattice structure of the add-with-carry and subtract-with-borrow random number generators
Tezuka, S., L'Ecuyer, P., & Couture, R. (1993) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/159737.159749 · Cited by 52
Self-citationDon't trust parallel Monte Carlo!
Hellekalek, P. (1998) · ACM/IEEE/SCS Workshop on Principles of Advanced and Distributed Simulation (PADS) · doi:10.1145/278008.278019 · Cited by 52
Recommendation for random number generation using deterministic random bit generators (revised)
Barker, E. B., & Kelsey, J. M. (2007) · doi:10.6028/nist.sp.800-90 · Cited by 52
Note on Marsaglia's Xorshift Random Number Generators
Brent, R. P. (2004) · Journal of Statistical Software · doi:10.18637/jss.v011.i05 · Cited by 51 · cited 9×
“proposed by Brent [2004], combines a xorshift RNG with 4 xorshifts with a Weyl generator. Brent [2004] proposes several other RNGs of that type.”
MethodInfluentialSparse serial tests of uniformity for random number generators
L'Ecuyer, P., Simard, R., & Wegenkittl, S. (2002) · SIAM Journal on Scientific Computing · doi:10.1137/s1064827598349033 · Cited by 50
Self-citationOn the Lattice Structure of Certain Linear Congruential Sequences Related to AWC/SWB Generators
Couture, R., & L’Ecuyer, P. (1994) · Mathematics of Computation · doi:10.1090/s0025-5718-1994-1220826-x · Cited by 50
Self-citation1. Distribution Theory for Tests Based on the Sample Distribution Function
Durbin, J. (1973) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611970586.ch1 · Cited by 48
Distribution properties of multiply-with-c arry random number generators
Couture, R., & L’Ecuyer, P. (1997) · Mathematics of Computation · doi:10.1090/s0025-5718-97-00827-2 · Cited by 47 · cited 4×
“Coveyou-32 and Coveyou-64 [Coveyou 1969] are quadratic generators with recurrence x j+1 = x j (x j + 1) mod 2 , with = 32 and 64 respectively. They both fail, although the larger one is better behaved. The multiplicative lagged Fibonacci generators LFib(264, 17, 5, ∗), LFib(264, 55, 24, ∗), LFib(264, 607, 273, ∗) and…”
BackgroundMethodInfluentialSelf-citationDigital Search Trees Again Revisited: The Internal Path Length Perspective
Kirschenhofer, P., Prodinger, H., & Szpankowski, W. (1994) · SIAM Journal on Computing · doi:10.1137/s0097539790189368 · Cited by 43
Testing Randomness: A Suite of Statistical Procedures
Ruhkin, A. L. (2001) · Theory of Probability & Its Applications · doi:10.1137/s0040585x97978087 · Cited by 42
Inversive pseudorandom number generators: concepts, results and links
Hellekalek, P. (1995) · Proceedings of the 27th conference on Winter simulation - WSC '95 · doi:10.1145/224401.224612 · Cited by 41
Fast combined multiple recursive generators with multipliers of the form a = ±2q ±2r
L’Ecuyer, P., & Touzin, R. (2000) · Winter Simulation Conference · doi:10.5555/510378.510476 · Cited by 39
Self-citationCombined generators with components from different families
L’Ecuyer, P., & Granger-Piché, J. (2003) · Mathematics and Computers in Simulation · doi:10.1016/s0378-4754(02)00234-3 · Cited by 38 · cited 1×
“They are studied and compared in L’Ecuyer et al. [2002], where good approximations for their distributions under HA 0 are given.”
BackgroundSelf-citationBeware of linear congruential generators with multipliers of the form a = ±2 q ±2 r
L’Ecuyer, P., & Simard, R. (1999) · ACM Transactions on Mathematical Software · doi:10.1145/326147.326156 · Cited by 38
Self-citationClose-Point Spatial Tests and Their Application to Random Number Generators
L'Écuyer, P., Cordeau, J.-F., & Simard, R. (2000) · Operations Research · doi:10.1287/opre.48.2.308.12385 · Cited by 38 · cited 3×
“In our extensive empirical experiments on RNG testing (L’Ecuyer et al., 2000), this test was less powerful than a”
MethodInfluentialSelf-citationPseudorandom number generator for massively parallel molecular-dynamics simulations
Holian, B. L., Percus, O. E., Warnock, T. T., & Whitlock, P. A. (1994) · Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · doi:10.1103/physreve.50.1607 · Cited by 35 · cited 2×
“SNWeyl is a shuffled version of a nested Weyl generator defined by ν j = m( j ( jα mod 1) mod 1)+1/2, u j = ν j (ν j α mod 1) mod 1, where m = 1234567 and α = √2 mod 1 [Holian et al. 1994; Liang and Whitlock 2001].”
BackgroundOn a nonlinear congruential pseudorandom number generator
Kato, T., Wu, L.-M., & Yanagihara, N. (1996) · Mathematics of Computation · doi:10.1090/s0025-5718-96-00694-1 · Cited by 34 · cited 3×
“The inversive congruential generator ICG (m, a, b) uses the recurrence x j+1 = (ax j + b) mod m, where xx = 1 mod m if x = 0, and 0 = 0 [Eichenauer and Lehn 1986]. The output is u j = x j /m. ICG(231 − 1, 1, 1) was suggested by EichenauerHerrmann [1992]. ICG(231 − 1, 22211, 11926380) was suggested by Hellekalek [1995]…”
BackgroundMethodOn the Deng-Lin random number generators and related methods
L’Ecuyer, P., & Touzin, R. (2003) · Statistics and Computing · doi:10.1023/b:stco.0000009417.88960.81 · Cited by 33
Self-citationThe limit distribution of the length of the longest head-run
Földes, A. (1979) · Periodica Mathematica Hungarica · doi:10.1007/bf02020027 · Cited by 32 · cited 2×
“The longest head run test (Földes, 1979; Gordon et al., 1986) is a variant of the run test that looks at the length Y of the longest substring of successive 1’s in a string of length m.”
BackgroundWu, P. (1997) · ACM Transactions on Mathematical Software · doi:10.1145/264029.264056 · Cited by 32
Approximations to the Distribution Function of the Anderson—Darling Test Statistic
Sinclair, C. D., & Spurr, B. D. (1988) · Journal of the American Statistical Association · doi:10.1080/01621459.1988.10478720 · Cited by 30 · cited 1×
“Their (approximate) distributions under H0 can be found in Anderson and Darling (1952), Darling (1960), Durbin (1973), Stephens (1970), Stephens (1986a), and Sinclair and Spurr (1988) .”
BackgroundCoupon Collector's Test for Random Digits
Greenwood, R. E. (1955) · Mathematics of Computation · doi:10.1090/s0025-5718-1955-0068168-8 · Cited by 25 · cited 2×
“For example, in the coupon collector s test [Greenwood 1955; Knuth 1998], we partition the interval (0, 1) in d pieces of equal sizes and count how many random numbers uj must be generated to obtain at least one in each piece.”
MethodLagarias, J. C. (1993) · Statistical Science · doi:10.1214/ss/1177011081 · Cited by 25
Numerical computing with MATLAB
Moler, C. (2004) · Cited by 24
On the Theorems of Kolmogorov-Smirnov
Darling, D. A. (1960) · Theory of Probability and Its Applications · doi:10.1137/1105036 · Cited by 20
The Linear Complexity Profile and the Jump Complexity of Keystream Sequences
Niederreiter, H. (1991) · Lecture notes in computer science · doi:10.1007/3-540-46877-3_15 · Cited by 18 · cited 2×
“Under HB and for large n, J is approximately normally 0 distributed with mean and variance given by [Carter 1989; Niederreiter 1991; Wang 1997].”
BackgroundMethodAspects of local linear complexity
Carter, G. (1989) · Royal Holloway Digital Repository (Royal Holloway University of London) · Cited by 18
Theory and application of Marsaglia's monkey test for pseudorandom number generators
Percus, O. E., & Whitlock, P. A. (1995) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/210330.210331 · Cited by 17
Tests based on sum-functions of spacings for uniform random numbers
L'Ecuyer, P. (1997) · Journal of Statistical Computation and Simulation · doi:10.1080/00949659708811859 · Cited by 15
Self-citationThe MCNP5 Random number generator
Brown, F. B., & Nagaya, Y. (2002) · OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · Cited by 14
Entropy estimators and serial tests for ergodic chains
Wegenkittl, S. (2001) · IEEE Transactions on Information Theory · doi:10.1109/18.945259 · Cited by 13 · cited 3×
“The test of Maurer [1992], discussed earlier, is an entropy test, and the binary versions of the multinomial tests are essentially entropy tests as well [Wegenkittl 2001].”
BackgroundMethodCoupon Collector's Test for Random Digits
Greenwood, R. E. (1955) · Mathematical Tables and Other Aids to Computation · doi:10.2307/2002211 · Cited by 12
A universal statistical test for random bit generators
MaurerUeli, M. (1992) · Journal of Cryptology · doi:10.5555/148544.148545 · Cited by 8
Linear complexity profiles and jump complexity
Wang, M. Z. (1997) · Information Processing Letters · doi:10.1016/s0020-0190(97)00004-5 · Cited by 7 · cited 2×
“Under HB and for large n, J is approximately normally 0 distributed with mean and variance given by [Carter 1989; Niederreiter 1991; Wang 1997].”
BackgroundMethodA New Type of Attacks on Block Ciphers
Ryabko, B. Y., Александрович, М. В., & Shokin, Y. I. (2005) · Problems of Information Transmission · doi:10.1007/s11122-006-0006-1 · Cited by 7 · cited 1×
“Ryabko et al. (2004) and Ryabko et al. (2005) propose to do it with a two-phase adaptive approach instead.”
BackgroundA new empirical test for parallel pseudo-random number generators
Liang, Y., & Whitlock, P. A. (2001) · Mathematics and Computers in Simulation · doi:10.1016/s0378-4754(00)00255-x · Cited by 6 · cited 2×
“SNWeyl is a shuf.ed version of a nested Weyl generator de.ned by .j = m( j ( j a mod 1) mod 1)+1/2, uj = .j (.j a mod 1) mod v 1, where m = 1234567 and a = 2 mod 1 [Holian et al. 1994; Liang and Whitlock 2001].”
BackgroundMethodLAST VISIT TIME TESTS FOR PSEUDORANDOM NUMBERS
Takashima, K. (1996) · Journal of the Japanese Society of Computational Statistics · doi:10.5183/jjscs1988.9.1 · Cited by 5 · cited 1×
“With these particular lacunary indices, it turns out that all the points produced by three successive output values of gen3 fall (with up to 31 bits of accuracy) in exactly two planes in the unit hypercube [Couture and L’Ecuyer 1994]. For this reason, gen3 fails several simple tests in three dimensions, including the…”
MethodStochastic investigations of pseudo-random number generators
Ugrin-Šparac, G. (1991) · Computing · doi:10.1007/bf02239011 · Cited by 4
A Generalized φ-Divergence for Asymptotically Multivariate Normal Models
Wegenkittl, S. (2002) · Journal of Multivariate Analysis · doi:10.1006/jmva.2001.2051 · Cited by 3 · cited 2×
“This class contains the power divergence statistics k-1 t 2 Dd = Xj[(Xj/.)d -1], (6) d(1 +d) j =0 studied in [Read and Cressie 1988; Wegenkittl 2001, 2002], where d> -1 is a real-valued parameter.”
BackgroundFast pseudorandom-number generators with modulus 2 k or 2 k -1 using fused multiply-add
Agarwal, R. C., Enenkel, R. F., Gustavson, F. G., Kothari, A., & Zubair, M. (2002) · IBM Journal of Research and Development · doi:10.1147/rd.461.0097 · Cited by 2 · cited 7×
“LCG(246,513, 0) was used by the Numerical Aerodynamic Simulation at NASA Ames Research Center in their benchmarks [Agarwal et al. 2002].”
MethodInfluential
Research works printed but not linked: 13
- Gammel , B. M. 2005 . Matpack C++ Numerics and Graphics Library , Release 1 . 8 . 1 . http://users.physik.tu-muenchen.de/gammel/matpack/index.html. Gammel, B. M. 2005. Matpack C++ Numerics and Graphics Library, Release 1.8.1. http://users.physik.tu-muenchen.de/gammel/matpack/index.html.
- IBM 1968. System/360 Scientific Subroutine Package. Version III , Programmer's Manual. IBM, White Plains , New York . IBM 1968. System/360 Scientific Subroutine Package. Version III, Programmer's Manual. IBM, White Plains, New York.
- IMSL. 1997. IMSL STAT/ LIBRARY. Visual Numerics Inc ., Houston, TX . http://www.vni.com/books/dod/pdf/STATVol_2.pdf. IMSL. 1997. IMSL STAT/LIBRARY. Visual Numerics Inc., Houston, TX. http://www.vni.com/books/dod/pdf/STATVol_2.pdf.
- Jenkins , B. 1996 . ISAAC. in fast software encryption . In Proceedings of the 3rd International Workshop . Cambridge, UK, D. Gollmann, Ed. Lecture Notes in Computer Science , vol. 1039 . Springer-Verlag, 41--49. http://burtleburtle.net/bob/rand/isaacafa.html. Jenkins, B. 1996. ISAAC. in fast software encryption. In Proceedings of the 3rd International Workshop. Cambridge, UK, D. Gollmann, Ed. Lecture Notes in Computer Science, vol. 1039. Springer-Verlag, 41--49. http://burtleburtle.net/bob/rand/isaacafa.html.
- L'Ecuyer , P. 2004. Random number generation . In Handbook of Computational Statistics , J. E. Gentle, W. Haerdle, and Y. Mori, Eds. Springer-Verlag , Berlin, Germany . 35--70. Chapter II.2. L'Ecuyer, P. 2004. Random number generation. In Handbook of Computational Statistics, J. E. Gentle, W. Haerdle, and Y. Mori, Eds. Springer-Verlag, Berlin, Germany. 35--70. Chapter II.2.
- Maplesoft . 2006. Maple User Manual . Waterloo Maple Inc., Waterloo, Canada . http://www.maplesoft.com/products/maple/. Maplesoft. 2006. Maple User Manual. Waterloo Maple Inc., Waterloo, Canada. http://www.maplesoft.com/products/maple/.
- Marsaglia , G. 1985 . A current view of random number generators. In Computer Science and Statistics , Sixteenth Symposium on the Interface. Elsevier Science Publishers, North-Holland , Amsterdam, The Netherlands. 3--10. Marsaglia, G. 1985. A current view of random number generators. In Computer Science and Statistics, Sixteenth Symposium on the Interface. Elsevier Science Publishers, North-Holland, Amsterdam, The Netherlands. 3--10.
- MathSoft Inc. 2000. S-PLUS 6.0 Guide to Statistics. Vol. 2. Data Analysis Division , Seattle, WA . MathSoft Inc. 2000. S-PLUS 6.0 Guide to Statistics. Vol. 2. Data Analysis Division, Seattle, WA.
- Project , T. G. 2003 . R : An Environment for Statistical Computing and Graphics. The Free Software Foundation. Version 1 . 6 . 2 . http://www.gnu.org/directory/GNU/R.html. Project, T. G. 2003. R: An Environment for Statistical Computing and Graphics. The Free Software Foundation. Version 1.6.2. http://www.gnu.org/directory/GNU/R.html.
- SciFace Software . 2004. Mu PAD . SciFace Software GmbH & ; Co.KG , Paderborn, Germany . http://www.mupad.de/home.html. SciFace Software. 2004. MuPAD. SciFace Software GmbH & Co.KG, Paderborn, Germany. http://www.mupad.de/home.html.
- Stephens , M. S. 1986a. Tests based on EDF statistics . In Goodness-of-Fit Techniques, R. B. D'Agostino and M . S. Stephens, Eds. Marcel Dekker , New York, NY . Stephens, M. S. 1986a. Tests based on EDF statistics. In Goodness-of-Fit Techniques, R. B. D'Agostino and M. S. Stephens, Eds. Marcel Dekker, New York, NY.
- Stephens , M. S. 1986b. Tests for the uniform distribution . In Goodness-of-Fit Techniques, R. B. D'Agostino and M . S. Stephens, Eds. Marcel Dekker , New York, NY , 331--366. Stephens, M. S. 1986b. Tests for the uniform distribution. In Goodness-of-Fit Techniques, R. B. D'Agostino and M. S. Stephens, Eds. Marcel Dekker, New York, NY, 331--366.
- Wegenkittl , S. 1998. Generalized &phis;-divergence and frequency analysis in Markov chains. Ph.D. thesis , University of Salzburg. http ://random.mat.sbg.ac.at/team/. Wegenkittl, S. 1998. Generalized &phis;-divergence and frequency analysis in Markov chains. Ph.D. thesis, University of Salzburg. http://random.mat.sbg.ac.at/team/.
Cited by
Computer Simulation of Liquids
Allen, M. P., & Tildesley, D. J. (2017) · doi:10.1093/oso/9780198803195.001.0001 · Cited by 20,945
Significant-Loophole-Free Test of Bell’s Theorem with Entangled Photons
Giustina, M., Versteegh, M. A. M., Wengerowsky, S., Handsteiner, J., Hochrainer, A., Phelan, K., Steinlechner, F., Kofler, J., Larsson, J.-Å., Abellán, C., et al. (2015) · Physical Review Letters · doi:10.1103/physrevlett.115.250401 · Cited by 1,529
Strong Loophole-Free Test of Local Realism
Shalm, L. K., Meyer-Scott, E., Christensen, B. G., Bierhorst, P., Wayne, M. A., Stevens, M. J., Gerrits, T., Glancy, S., Hamel, D. R., Allman, M. S., et al. (2015) · Physical Review Letters · doi:10.1103/physrevlett.115.250402 · Cited by 1,402
Handbook of Monte Carlo Methods
Kroese, D. P., Taimre, T., & Botev, Z. I. (2011) · Wiley Series in Probability and Statistics · doi:10.1002/9781118014967 · Cited by 1,104
Quantum random number generators
Herrero-Collantes, M., & Garcia-Escartin, J. C. (2017) · Reviews of Modern Physics · doi:10.1103/revmodphys.89.015004 · Cited by 791
Metadata
- Authors
- L'Ecuyer, P., & Simard, R.
- Affiliations
- Université de Montréal, Canada
- Université de Montréal (CA)
- Venue
- ACM Transactions on Mathematical Software
- Published
- 2007-08-15
- Volume
- 33
- Issue
- 4
- Pages
- 1-40
- ISSN
- 0098-3500 (ISSN-L)
- 1557-7295
- OpenAlex
- W1963898916
- Semantic Scholar
- ba61b9f0b400b6a375eca7f7ecdb18ad871fa9e8
- Cited by
- 1,014
- References
- 130
- Citations by year
- 2026: 50 · 2025: 69 · 2024: 56 · 2023: 60 · 2022: 64 · 2021: 69 · 2020: 68 · 2019: 54 · 2018: 55 · 2017: 51 · 2016: 45 · 2015: 54 · 2014: 59 · 2013: 51 · 2012: 46
- FWCI
- 42.63
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- ACM Transactions on Mathematical Software (publishedVersion, public-domain)
- Topics
- Physical Sciences › Mathematics › Numerical Analysis › Mathematical Approximation and Integration
- Physical Sciences › Mathematics › Statistics and Probability › Probability and Statistical Research
- Social Sciences › Decision Sciences › Management Science and Operations Research › Simulation Techniques and Applications
- Keywords
- TestU01, random number generators, uniform random number generators, empirical testing, test suite, bit sequences, sample size analysis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.