Roulette Test

Copying roulette

roulette is a program that allows you to spin a roulette wheel thousands of times to see how often a square wins. The chi-square test tells you if the squares have an equal chance of winning.

roulette has one parameter:

Example of how to run the program.

      roulette 10000

In this example, the program spins the wheel 10 thousand times.

The Chi-square number should fit within the Range 95 percent of the time.


References

The chi-square test is similar to:

Chapter 12, Chi-square Tests
Section 3, Testing for Goodness of Fit
Formula 12-3
Example 12-4

In Table 12-3, each category in the chi-square test has a different expected frequency. This corresponds to the different expected frequencies for the number of successes.


John Scarne
Scarne's New Complete Guide to Gambling
Fully revised, expanded, updated edition
New York: Simon & Schuster, 1961, 1974, 1986
A Fireside book, 871 p.
ISBN: 0-671-21734-8 hardback
ISBN: 0-671-63063-6 paperback
Chapter 14, Roulette
Section: Possible Roulette Bets, Odds and Percentages