Question about a simple game
|
04-24-2019, 02:25 PM
Post: #6
|
|||
|
|||
RE: Question about a simple game
Hi, Namir
Your different results probably due to quality of the random generator. This is especially true here since we are subtracting two random outputs. Also, many random generator have low linearity complexity issues. That meant it is ok to use the randoms as *values*, but not in pairs. The pairs may not be independent enough to give good result. This also meant jamming random bits to make bigger random numbers is a bad idea. see http://www.azillionmonkeys.com/qed/random.html My patched Lua were using xoroshiro128+ PRNG, with decent randomness properties. Just to be sure, I redid the simulation using *two* random generators: With 5000 runs, ME = xoroshiro128+, PC = Mersenne Twister, results are similar: For T=40, N ≈ 6.12 T^2 For T=1, N ≈ 9.26 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Question about a simple game - Namir - 04-23-2019, 08:09 PM
RE: Question about a simple game - Thomas Okken - 04-23-2019, 08:38 PM
RE: Question about a simple game - Albert Chan - 04-23-2019, 11:05 PM
RE: Question about a simple game - Albert Chan - 04-24-2019, 02:14 AM
RE: Question about a simple game - Namir - 04-24-2019, 03:15 AM
RE: Question about a simple game - Albert Chan - 04-24-2019 02:25 PM
RE: Question about a simple game - Namir - 04-24-2019, 03:14 PM
RE: Question about a simple game - Namir - 04-24-2019, 03:10 PM
|
User(s) browsing this thread: 3 Guest(s)