Fixed Fractions and Fair Games
A gambler has a $100 bankroll. He’s feeling lucky and he wants to make some bets. But he only wants to play fair games where the expectation is breakeven for a large number of plays. If the gambler plays a fair game repeatedly using a constant bet amount, would it still be a fair game if he decides to bet a fixed fraction of his bankroll instead of betting a fixed constant amount?
Coin Toss Game
Suppose the gambler wants to place bets on the outcome of a coin toss. Ignoring the small possibility of the coin landing on its edge, there are only two possible outcomes: heads or tails. We can model a repeated coin toss game using the following notation:
If we assume it’s a fair coin, then each of the two outcomes has a 50% probability of occurring for each toss of the coin:
The gambler needs to decide how much to bet on each play. If he bets his entire stake, then he risks losing everything in the first round. If he only bets a portion of his bankroll, then he can afford to absorb a few losses without going broke. There are two betting strategies the gambler can choose from: a fixed constant bet size strategy and a fixed fraction bet size strategy. The gambler must choose one strategy and stick to it for every round of the game.
Fixed Constant Bet Size
Using the fixed constant bet size strategy, the gambler must choose a specific amount he wants to wager on each play. Suppose the gambler wants to bet $20 on each round. We can model this as 20% of the gambler’s initial bankroll:
Now let’s define a reward function to determine the payoff for each round based on the outcome of the coin toss:
The gambler gains $20 if the coin lands on heads; he loses $20 if the coin lands on tails. Is this a fair game? The answer might seem obvious, but let’s make some empirical observations just to be sure. We can use the reward function above in the following equation to compute the gambler’s holdings for a series of coin tosses:
Using a random number generator, we can run a computer simulation of the coin toss game and plot the gambler’s bankroll after each round. Here is a plot of the gambler’s holdings over a period of 200 plays using a random sequence of coin tosses:
It looks like it just zigzags up and down randomly with no clear pattern. Empirically, this doesn’t tell us much. If we run 10,000 unique simulations like the one above and then take the average value for each play, here is the result that emerges:
The value appears to have a steady mean of $100, suggesting that this is indeed a fair game with a breakeven expectation. Taking the median value for each round produces a similar result:
The median value straddles the breakeven value of $100, lending further evidence that this is in fact a fair game. But can we determine the expected outcome analytically? Consider the arithmetic mean as the number of plays approaches infinity:
If we know the probability of each outcome of a coin toss, then we can use the law of large numbers to determine the number of winning games and losing games for a large number of plays. Let’s use the following notation:
Instead of taking the limit as the number of plays approaches infinity, we can compute the arithmetic mean using the number of winning and losing games based on the expected behavior of a coin toss. As demonstrated below, the arithmetic mean is equal to the gambler’s initial bankroll; a result that corresponds to the empirical observations derived from the simulations:
While this is certainly a fair game, look closely at the result of the repeated coin toss simulation. The gambler’s holdings dip below zero for a few rounds before moving back up. This might not be possible if the gambler is unable to borrow a few bucks to temporarily cover his debt. Also, note that the constant bet size is a smaller percentage of the gambler’s stake as his winnings increase, but it’s a larger percentage of his stake as his holdings decrease. What happens if he bets a fixed percentage every time?
Fixed Fraction Bet Size
Using the fixed fraction bet size strategy, the gambler chooses a fixed percentage of his bankroll to wager on each play. Suppose the gambler wants to bet 20% on each round:
Like the previous example, we can define a reward function to determine the payoff for each round based on the outcome of the coin toss:
In this case, the reward function returns a multiplier that gets applied to the gambler’s bankroll after each round. The following shows how to apply the reward function for a series of coin toss games:
Using the same sequence of coin tosses from the previous example, we can simulate the coin toss game again using the fixed fraction bet size strategy. Here is a plot of the gambler’s holdings over the same 200 coin tosses using fixed fraction bets:
It looks like it bounces up and down with smaller and smaller spikes until it ultimately fizzles out to zero. Here is the same plot on a logarithmic scale:
On the logarithmic chart, the plot looks similar to that of the game played with a fixed constant bet size, only with a slight tilt downwards. Does this indicate a downward bias when playing with the fixed fraction bet size strategy? Let’s see what happens if we take the average value of 10,000 simulations:
As with the previous example, the value appears to have a mean of $100. Notice, however, that the value seems to become increasingly unstable as more rounds are played. Taking the median value for each round produces a very different result:
Unlike the previous example, the median value decays steadily downward, gradually approaching the zero asymptote. Here it is again on a logarithmic chart:
So is this a fair game or not? The mean value suggests that it might be, but the median value suggests otherwise. What if we take an analytical approach? Since the fixed fraction betting strategy is multiplicative instead of additive, let’s consider the geometric mean instead of the arithmetic mean:
Using the law of large numbers, we can apply the expected number of winning and losing games as we did before in the previous example. The following calculation provides an explanation for the median values observed in the simulation results:
The geometric mean computed above indicates that the gambler’s bankroll is expected to be a fraction of its previous value after each play, leading to a conclusion that the gambler is at a disadvantage when playing with a fixed fraction betting strategy. But how can we account for the breakeven average values we observed in the empirical results? Perhaps we can get a better understanding if we examine the possible outcomes more closely.
Understanding the Results
What exactly does it mean for a gambling game to be a fair game with a breakeven expectation? As we saw with the fixed fraction betting game, the answer can be somewhat ambiguous. There are two aspects of the coin toss game that are worth looking at:
- The average value of the gambler’s bankroll for all possible outcomes
- The percentage of winning, losing, and breakeven outcomes
Let’s suppose the gambler plays two rounds of the coin toss game and always bets on heads. There are four possible outcomes, each with an equal probability of occurring. If the gambler chooses the fixed constant betting strategy, the value of the gambler’s stake after each possible outcome is shown below:
In this case, the average value of all possible outcomes is $100, which is the breakeven amount. Also notice that there are an equal number of winning games as there are losing games. Both aspects are indicative of a fair game. If the gambler chooses the fixed fraction betting strategy, the results are a bit different:
As with the fixed constant betting strategy, the average value of all possible outcomes is $100. The fixed fraction game is a fair game in this respect. Now look at the number of winning outcomes versus the number of losing outcomes. Only 25% of the outcomes are winners, while 75% of the outcomes result in a loss. The player is three times more likely to have a losing outcome than have a winning outcome, which is not a fair expectation at all. But while a losing outcome is more likely, the payoff of a winning outcome is large enough to offset the other three losing outcomes combined.
Comments