Asian Journal of Computer Science and Technology (AJCST)
Evaluation of Random Number Generator Functions Using Statistical AnalysisAuthor : Rajashree Chaurasia
Volume 8 No.2 April-June 2019 pp 1-5
Most programming languages have in-built functions for the sole purpose of generating pseudo-random numbers. This manuscript is aimed at analyzing the appropriateness of some of these in-built functions for some basic goodness-of-fit statistical tests for random number generators. The document is divided into four sections. The first section gives a broad introduction about randomness and the methods of generation of pseudo-random numbers. Section two discusses the statistical tests that were employed for testing the built-in library functions for random number generation. This section is followed by an analysis of the data collected for the various statistics in the third section, and lastly, the fourth section presents the results of the data analysis.
Random Numbers, Statistical Analysis, Random Number Generation, Programming Language, Built-in Functions, C/C++, C#, Java
 E. Knuth, “The Art of Computer Programming”, Semi-numerical Algorithms, 3rd ed., Boston, MA, USA: Addison Wesley Longman Inc., Vol. 2, 1997.
 M. Abramowitz and I. A. Stegun (Eds.), Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, Washington, D.C., USA: Government Printing Office, Table 26.8, 1964.
 N. Deo, System Simulation with Digital Computer, NJ, USA: Prentice Hall Inc., 2006.
 D. H. Lehmer, “Mathematical methods in large-scale computing units”, In Proc. 2nd Symposium on Large-Scale Digital Calculating Machinery, Cambridge, MA: Harvard University Press, pp. 141-146, 1951.
 G. Marsaglia, “A Current iew of Random Number Generators”, Keynote Address, In Proc. of the Computer Science and Statistics: 16thSymposium on the Interface, Atlanta, 1954.
 Fourmilab Switzerland Chi-square calculator. [Online]. Available: http://www.fourmilab.ch/ rpkp/experiments/analysis/chiCalc.html, 2012.
 M. Rütti, “A Random Number Generator Test Suite for the C++ Standard”, Diploma Thesis, Institute for Theoretical Physics, ETH Zürich, March 2004.