PRNG Analysis


This project conducts three tests on each programming language :

                 1) 1 Million Trials, Numbers 1 - 10
                 2) 1 Billion Trials, Numbers 1 - 10
                 3) 1 Million Trials, Numbers 1 - 1000

Randomization : Generate random numbers via the language
Frequency : Count the number of occurances for each number
Percentage : Divide the Frequency by the number of Trials
Output : Write each number's occurance precentage
Statistics : Calculate the standard deviation
Graph : Plot the actual and expected results for visualization

Statistical population: the generated data
Statistical significance: the difference in the actual and expected
Variance: the spread of the actual and expected probabilities
Standard deviation: the formatted variance
Z-score: standard deviation values normalized

For each of the three tests, compare across all languages to determine which language's PRNG performed more closely to the corresponding expected uniform random distribution.

View the results here: