Post Reply 
HP41C random number generator help
12-05-2017, 08:11 PM (This post was last modified: 12-05-2017 08:13 PM by Dieter.)
Post: #19
RE: HP41C random number generator help
(12-05-2017 07:50 PM)Trond Wrote:  Thanks for the info, Dieter. Yes, I was assuming that it takes more than the mean and SD to really check on a random number generator (let me know if you know further ways to check, that does not involve heavy computing power).

Take a look at the PPC journals I mentioned. In the V4N8 article about a dozen tests are mentioned.

(12-05-2017 07:50 PM)Trond Wrote:  I guess adding 0,211327 each time would not work, as it would mess up the distribution.

No, of course it doesn't! It's exactly this method (rn+1 = 9821 · rn+0,211327) that makes this a high-quality generator that is hard to beat.
Of course you can start with essentially any seed between 0 and 1.

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
HP41C random number generator help - Trond - 12-05-2017, 05:45 AM
RE: HP41C random number generator help - Dieter - 12-05-2017 08:11 PM

User(s) browsing this thread: 1 Guest(s)