8Some Gambling Games in Detail
The Basic Coin Flip Game
The basic coin flip game is an excellent vehicle for examining probability calculations, their results, and implications. Remember, the game is simple: tails give you a dollar to your opponent, heads your opponent gives you a dollar. Assume a fair coin, that is, . The expected value (EV) of return after a game is simply
The EV after any number, n, of flips must similarly be zero. This is what we are calling a fair game.
Figure 8.1 shows (the upper and lower bounds of) the 95% confidence interval of these expected winnings versus the number of coin flips.
These numbers are the one‐dimensional random walk “couched in coin's clothing.” As in the random walk example, the standard deviation, , n being the number of coin flips. The expected earnings are 0, but the confidence interval gets wider and wider with increased number of coin flips. At n = 50, for example, you are 95% confident of going home with somewhere between 14 dollars won ...
Get Probably Not, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.