Hi all,(adsbygoogle = window.adsbygoogle || []).push({});

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 [Broken]

, 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

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Test whether a n-sided coin is fair?

Loading...

Similar Threads - Test whether sided | Date |
---|---|

A F-test regression test, when and how? | Sep 17, 2017 |

A Testing Fit in Latent Class Analysis | Jul 17, 2017 |

A Separate tests vs Simultaneous tests | Jun 19, 2017 |

A Testing if probability is the same for two groups | May 31, 2017 |

Test whether matrixes are equal | Mar 14, 2008 |

**Physics Forums - The Fusion of Science and Community**