Are there any existing software toolkits, libraries, frameworks or whatever for studying the quality of pseudorandom number generators that allow one to add a known amount of imperfection - e.g deliberate higher-order correlations - then obtain statistics of various RNGs whose outputs are so modified?

  • 1
    $\begingroup$ I suppose you're talking about something more than quasi random number generators? $\endgroup$ – David Z Feb 13 '12 at 1:22
  • $\begingroup$ I'm wanting to create imperfect random numbers 1) to test the methods by which we test RNGs and 2) to see just what effects imperfect RNGs have on physics simulations, Monte Carlo calculations etc. $\endgroup$ – DarenW Feb 13 '12 at 20:44

Did you have a look at dieharder?

Dieharder is a random number generator (rng) testing suite. It is intended to test generators, not files of possibly random numbers as the latter is a fallacious view of what it means to be random. Is the number 7 random? If it is generated by a random process, it might be. If it is made up to serve the purpose of some argument (like this one) it is not. Perfect random number generators produce "unlikely" sequences of random numbers -- at exactly the right average rate. Testing a rng is therefore quite subtle.

| cite | improve this answer | |
  • $\begingroup$ I heard of Dieharder (and Diehard) years ago but wasn't aware of any capability to add imperfection to a good stream of randomness. $\endgroup$ – DarenW Feb 13 '12 at 20:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.