Inspired by the recent thread on PRNG, I began to wonder: suppose that I
had a pseudorandom number generator that attempted to generate a
nonuniform distribution. Suppose for instance that it was to generate a
0 bit 2/3 of the time, and a 1 bit 1/3 of the time.
How would one go about testing this PRNG against an idealized (similarly
biased) PRNG?
- DLD
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/YOK7YRFHVUI5TJYPZ23R7JLGGX5YD2U5/
Code of Conduct: http://python.org/psf/codeofconduct/