Information on calculator Random Number Generators from PPC Journal articles
|
11-15-2016, 07:57 PM
(This post was last modified: 11-15-2016 08:08 PM by Dieter.)
Post: #39
|
|||
|
|||
RE: Information on calculator Random Number Generators from PPC Journal articles
(11-13-2016 10:46 PM)I Wrote: According to my results the ^5 version is not better than the ^3 version, as far as Chi² and autocorrelation are concerned. I may be wrong, but just to be sure... I did another test of the (x+pi)^5 generator and got a somewhat interesting result. The test was done in Excel VBA, simulating the 41's 10-digit precision with this code: Code: x = Round(r + 3.141592654, 9) And here are the results from 10 runs of 1000 random numbers each: Code: Chi² = 10,40 33,44 33,44 33,44 33,44 33,44 33,44 33,44 33,44 33,44 After the first run (starting with r=0,12345) and Chi²=10,4 all subsequent runs with 1000 numbers yielded the same results. I assume this is due to a rather short period. This behaviour occurs with different seeds. Now, we have learned that the autocorrelation of the ^5 generator is a bit better than with the ^3 version. But there seems to be another property that makes the ^5 generator ..."not the first choice". Gene and Namir, what do you think? BTW I could not find something similar with the (x+pi)^3 generator. At least not yet. ;-) Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)