Tests based on sum-functions of spacings for uniform random numbers
- 1 November 1997
- journal article
- research article
- Published by Taylor & Francis in Journal of Statistical Computation and Simulation
- Vol. 59 (3) , 251-269
- https://doi.org/10.1080/00949659708811859
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.Keywords
This publication has 34 references indexed in Scilit:
- Modified explicit inversive congruential pseudorandom numbers with power of 2 modulusStatistics and Computing, 1996
- Operational conditions for random-number generationPhysical Review E, 1995
- Entropy-Based Random Number EvaluationAmerican Journal of Mathematical and Management Sciences, 1995
- Inversive Congruential Pseudorandom Numbers: A TutorialInternational Statistical Review, 1992
- A new inversive congruential pseudorandom number generator with power of two modulusACM Transactions on Modeling and Computer Simulation, 1992
- A Guide to SimulationPublished by Springer Nature ,1987
- Entropy-Based Tests of UniformityJournal of the American Statistical Association, 1981
- An optimal statistic based on higher order gapsBiometrika, 1979
- On the Asymptotic Distribution of $k$-Spacings with Applications to Goodness-of-Fit TestsThe Annals of Statistics, 1979
- On the logarithms of high-order spacingsBiometrika, 1976