Tests based on sum-functions of spacings for uniform random numbers
The DOI matches its Crossref record; 1 of the 1 references it cites were found in a registry or an index.
Abstract
We examine the idea of testing uniform random number generators via two goodness-of-fit statistics: the sum of the logarithms and the sum of squares of overlapping m-spacings. The first statistic is related to an estimator of the entropy of a density and is good to detect clustering, whereas the second one, known as Greenwood's statistic for m=1,is optimal in terms of Pitman efficiency,in certain setups,among sum-functions of m-spacings. These statistics are asymptotically normally distributed. We evaluate the distance between the standard normal distribution and that of the standardized statistics,as a function of m and of the sample size,when standardization is done using either the asymptotic or the exact (for finite sample size) mean and variance. We then report on experiments with these statistics to detect defects in some popular random number generators.
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
“This two-level test permits us to apply the test with a larger total sample size, and hence, it is often more powerful than one-level tests.”
From Study on upper limit of sample size for a two-level test in NIST SP800-22 (2021) · cites this paper as [11]
In the citing paper
“On the other hand, the two-level test tends to reject even good PRNGs because of approximation errors in computation of the p -values at the first level.”
From Study on upper limit of sample size for a two-level test in NIST SP800-22 (2021) · cites this paper as [11]
Citations
Cites
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
Self-citation
Research works printed but not linked: 41
- 10.1007/978-1-4419-8724-2 · DOI · Paper page
- 10.1103/PhysRevE.52.5634 · DOI
- 10.1093/biomet/63.2.343 · DOI
- 10.1093/biomet/66.3.619 · doi:10.1093/biomet/66.3.619
- Del Pino , G. E. 1979 . On the asymptotic distribution of k-spacings with applications to goodness-of-fits tests . Annals of Statistics. , 7 ( 2 ) : 1058 – 1065 .
- 10.1080/01621459.1981.10477750 · DOI
- 10.1080/01966324.1995.10737389 · DOI
- Durbin , J. Distribution Theory for Tests Based on the Sample Distribution Function . SI AM CBMS-NSF Regional Conference Series in Applied Mathematics . Vol. 9 , Philadelphia : SIAM .
- 10.2307/1403647 · DOI · Paper page
- 10.1007/BF00161571 · doi:10.1007/bf00161571
- 10.1145/132277.132278 · doi:10.1145/132277.132278
- 10.1090/S0025-5718-1994-1212266-4 · doi:10.1090/s0025-5718-1994-1212266-4
- 10.1137/0907002 · DOI · Paper page
- 10.1016/0167-9473(83)90087-7 · DOI
- 10.2307/2981176 · DOI
- 10.1017/S0305004100062459 · DOI
- 10.1016/0047-259X(86)90027-8 · DOI
- Hellekalek , P. Proceedings of the 1995 Winter Simulation Conference , Edited by: Alexopoulos , C. , Kang , K. , Lilegdon , W. R. and Goldman , D. 255 – 262 . IEEE Press .
- 10.1214/aop/1176994901 · doi:10.1214/aop/1176994901
- 10.1007/BF02614112 · doi:10.1007/bf02614112
- 10.1016/0021-9991(81)90227-8 · DOI · Paper page
- Knuth , D. E. 1981 . “ The Art of Computer Programming ” . In Seminumerical Algorithms , Vol. 2 , Mass : Addison-Wesley . Reading
- Kuo , M. and Rao , J. S. Limit theory and efficiencies for tests based on higher order spacings . Proceedings of the Indian Statistical Institute Golden Jubilee International Conference on Statistics: Applications and New Directions . pp. 333 – 352 . Calcuta: : Statistical Publishing society .
- Law , A. M. and Kelton , W. D. 1991 . Simulation Modeling and Analysis , New York : McGraw-Hill .
- 10.1145/62959.62969 · DOI · Paper page
- 10.1007/BF02136827 · DOI · Paper page
- 10.1287/opre.44.5.816 · DOI · Paper page
- 10.1090/S0025-5718-96-00696-5 · DOI · Paper page
- L'ecuyer , P. , Compagner , A. and Cordeau , J. F. 1996 . Entropy-based tests for random number generators . Also GERAD technical report number G 96-41 . 1996 . Submitted.
- 10.1145/249204.249208 · DOI
- Marsaglia , G. 1985 . “ A current view of random number generators ” . In In Computer Science and Statistics,Sixteenth Symposium on the Interface , 3 – 10 . North-Holland : Amsterdam . Elsevier Science Publishers
- 10.1145/232807.232815 · DOI
- Niederreiter , H. Random Number Generation and Quasi-Monte Carlo Methods . SIAM CBMS-NSF Regional Conference Series in Applied Mathematics . Vol. 63 , Philadelphia : Siam .
- Plauger , P. J. 1992 . The Standard C Library , New Jersey : Englewood Cliffs . Prentice Hall
- 10.1111/j.2517-6161.1965.tb00602.x · DOI · Paper page
- Rao , J. S. and Kuo , M. 1984 . Asymptotic results on the Greenwood statistic and some of its generalizations . Journal of the Royal Statistical Society , 46 : 228 – 237 . Series B · DOI
- 10.1007/BF02127580 · DOI · Paper page
- 10.1016/0377-0427(90)90346-2 · DOI
- 10.1080/03610919508813281 · DOI
- Sethuraman , J. and Rao , J. S. 1970 . “ Pitman efficiencies of tests based on spacings ” . In In Nonparametric Techniques in Statistical Inference , Edited by: Puri , M.L. 405 – 515 . Cambridge University Press .
- 10.1111/j.2517-6161.1976.tb01566.x · DOI · Paper page
Cited by
TestU01: A C library for empirical testing of random number generators
L'Ecuyer, P., & Simard, R. (2007) · ACM Transactions on Mathematical Software · doi:10.1145/1268776.1268777 · Cited by 1,014
Self-citationHaramoto, H., & Matsumoto, M. (2019) · Mathematics and Computers in Simulation · doi:10.1016/j.matcom.2018.08.005 · Cited by 7
“You can find further descriptions and explanations in [6, 7, 8, 9, 10, 12].”
BackgroundStudy on upper limit of sample size for a two-level test in NIST SP800-22
Haramoto, H. (2021) · Japan Journal of Industrial and Applied Mathematics · doi:10.1007/s13160-020-00434-y · Cited by 5
“d level makes the two-level test makes reliable: we can maximize the power and avoid erroneous rejections of the two-level test. You can nd further descriptions and explanations of two-level tests in [6, 7, 8, 9, 14, 15]. However, NIST recommends that the sample size at the second level should be on the order of the i…”
Background
Metadata
- Authors
- L'Ecuyer, P.
- Affiliations
- Universite de Montreal
- Venue
- Journal of Statistical Computation and Simulation
- Publisher
- Informa UK Limited
- Published
- 1997-11
- Volume
- 59
- Issue
- 3
- Pages
- 251-269
- ISSN
- 0094-9655 (ISSN-L)
- 1563-5163
- OpenAlex
- W2085890672
- Semantic Scholar
- 2775958e83a99ce55328cbd3614957dac3d1987b
- Cited by
- 15
- References
- 1
- Citations by year
- 2025: 1 · 2022: 1 · 2020: 1 · 2019: 2 · 2018: 1 · 2013: 1 · 2012: 1
- FWCI
- 0.85
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- Journal of Statistical Computation and Simulation (publishedVersion)
- Funders
- Natural Sciences and Engineering Research Council of Canada
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Distribution Estimation and Applications
- Physical Sciences › Mathematics › Statistics and Probability › Probability and Statistical Research
- Physical Sciences › Mathematics › Numerical Analysis › Mathematical Approximation and Integration
- Keywords
- uniform random number generators, goodness-of-fit tests, spacing, entropy estimation, Pitman efficiency, asymptotic normality, standardization, cluster detection, random number generator testing
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.