- #1
ohliuw
- 6
- 0
Hi all,
I've been looking for a general formula to check whether a random number generator is random. Basically, I need something similar to:
http://en.wikipedia.org/wiki/Checkin...a_coin_is_fair
, but for a n-sided coin.
Suppose we have a random generator of integers between 1 and "n". I need to obtain a formula of "n" telling me how many samples I need before being able to tell with certain confidence and within acceptable error that the generator is "fair" - that is, whether the generator is behaving randomly or not.
Does anyone know anything that could help?
Thanks in advance
I've been looking for a general formula to check whether a random number generator is random. Basically, I need something similar to:
http://en.wikipedia.org/wiki/Checkin...a_coin_is_fair
, but for a n-sided coin.
Suppose we have a random generator of integers between 1 and "n". I need to obtain a formula of "n" telling me how many samples I need before being able to tell with certain confidence and within acceptable error that the generator is "fair" - that is, whether the generator is behaving randomly or not.
Does anyone know anything that could help?
Thanks in advance
Last edited by a moderator: