Linear congruential generator - how to choose seeds and statistical tests
问题 I need to do a linear congruential generator that will successfully pass the selected statistical tests. My question is: how to choose numbers for the generator properly and which statistical tests should I choose? I thought about: Chi-Square Frequency Test for Uniformity Collect 10,000 numbers per generation method Sub-divide[0.1) into 10 equal subdivisions Kolmogorov-Smirnov Test for uniformity Since K-S Test works better with a smaller set of numbers, you may use the first 100 out fo the