Suppose that I have two random number genertors RNG-A and RNG-B, such that:
I would like to obtain a measure of how similar the two random distributions are, and ideally use this to determine if they appear to producing the same distribution.
What is is the best algorithm for doing this?
I think you'll find your answers here.
Excerpts:
Testing Random Number Generators
Does observed data satisfies a particular distribution?
• Chi-square test
• Kolmogorov-Smirnov test
• Serial correlation test
• Two-level tests
• K-distributivity
• Serial test
• Spectral test
.....
Another section:
Serial Correlation Test
• Test if 2 random variables are dependent
—is their covariance non-zero?
– if so, dependent. converse not true.
HTH!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With