Back to Module 6 notes

This set practises the counting behind the lecture’s hand table, the derivation and use of the Kelly criterion, and the risk-of-ruin formula for a poker bankroll.

Problem 1

Problem 6.1 (Counting the high-card table).

Use the definition of a high-card hand from the module (five different ranks, no straight, not a flush).

  1. Show that every set of five different ranks has exactly 1020 non-flush suit patterns, and that there are 1277 non-straight rank sets. Conclude that there are 1,302,540 high-card hands.
  2. Compute the table entries for top card K and top card 7 from first principles.
  3. Explain why the ace row subtracts two rank sets from while the king row subtracts only one.
  4. Explain why the bottom-card column is the top-card column read upside down.
  5. In early poker there were no straights or flushes, so every hand with five different ranks counted as a no-pair hand. Recount the ace-high row and the total under those rules. Does the share of ace-high hands change much?
  6. What fraction of all 2,598,960 five-card hands are high-card hands?

Problem 2

The equities for part 3 come from the course tool:

$ rust/target/release/poker equity AA KK --exhaustive
hand/range  equity %    win %   tie %
----------  --------  -------  ------
AA           81.9461  81.7147  0.2314
KK           18.0539  17.8226  0.2314
mode: exhaustive   samples: 61642944
Problem 6.2 (Kelly with ties, and a large edge).

A bet pays even money. It wins with probability , loses with probability and ties (stake returned) with probability .

  1. Write down the long-run growth rate when a fraction of wealth is staked each time, and show that it is maximised at .
  2. Show that the quadratic approximation , with and the mean and second moment of the per-unit return, gives exactly the same for this bet, but not the same maximal growth.
  3. You may bet repeatedly at even money that AA beats KK all-in preflop. Using the tool output above, compute , the growth rate at , and the growth rate at half Kelly. What share of the maximal growth does half Kelly keep, and why is it not the 75% predicted in the module?
  4. A friend says: “AA wins 82% of the time, so I should bet 90% of my wealth.” Compute his growth rate.

Problem 3

Problem 6.3 (Risk of ruin: exact and approximate).
  1. A bettor wins one unit with probability and loses one unit with probability , starting with units and never stopping. Find with for one step , and use the martingale argument of the module to show that the probability of ever going broke is exactly . Why is there no overshoot correction here?
  2. Take and . Compare the exact risk with and with the second-order version . Explain the ordering.
  3. A poker player has bb/100 and bb/100. What bankroll gives a 1% risk of ruin at fixed stakes?
  4. The same player moves to a game with the same win rate but bb/100. What bankroll is now needed for 1%?

Problem 4

Problem 6.4 (Fractional Kelly for a poker bankroll).

A player estimates bb/100 and bb/100 and has a bankroll of $8,000.

  1. Find the Kelly bankroll in big blinds and the big blind at which the player’s $8,000 is exactly a full-Kelly and a half-Kelly bankroll.
  2. Using the fractional-Kelly proposition of the module, find the probability that wealth ever falls to half, and to a quarter, of its current value under full Kelly, half Kelly and one-third Kelly. What share of the maximal growth does each keep?
  3. The estimate came from 40,000 hands. Compute its standard error and the relative error . What is the best fraction of the estimated Kelly stake, and what share of the attainable growth does full Kelly on the estimate keep on average?

Problem 5

Problem 6.5 (Who pays the winners).

A six-handed online table collects 6 bb of rake per 100 hands in total. All six players play every hand.

  1. What is the sum of the six players’ win rates? What is the average win rate?
  2. Alice wins 5 bb/100 and Bob 2 bb/100. What is the average win rate of the other four players?
  3. Six players of exactly equal skill sit down. Explain why all of them are losing players, and use the lecture’s account of poker networks to explain why games like this nevertheless kept running.