Case Study 2 — Dev Prices Head-to-Head Matchups: Are Elo and Bayes Probabilities Calibrated?

Data: REAL — every pair of players in every PGA TOUR event 2016–2026 (ESPN hole-by-hole scores via golfkit), with pre-event ratings only. Dev Raman is a fictional cast member; his data and ratings are real. Code: code/case_study_02.py (about 17 s).


Setup

Dev's first real use of his rating system won't be an outright winner bet. Winner markets have 150 runners and huge margins, and Chapter 32 showed that even the top-rated player wins under a fifth of the time. He starts where the arithmetic is cleaner: head-to-head matchups. Player A against player B, whoever scores better wins, with ties handled by the book's rules.

A matchup needs one number: P(A beats B). Dev has two machines that produce it.

  • Elo (K = 48): $P = 1/(1 + 10^{(R_B - R_A)/400})$.
  • The Bayes strokes model: with skill gap Δθ (strokes per round), posterior SDs $s_A, s_B$, round SD σ = 2.756, over $C$ common rounds, $$P = \Phi\!\left(\frac{C\,\Delta\theta}{\sqrt{C^2(s_A^2 + s_B^2) + 2C\sigma^2}}\right).$$

At the end of the 2026 data, for Scheffler against McIlroy, the two disagree:

Elo (2105 vs 1942):            0.719  (any number of rounds)
Bayes, 1 common round:         0.595
Bayes, 2 common rounds:        0.632
Bayes, 4 common rounds:        0.679

Before Dev risks a cent, he wants to know which machine has told the truth in the past. Matchup prices don't exist in our data, and Dev doesn't need them for this. He needs only to check whether each machine's probabilities matched what actually happened.

The data

The test uses every pair of players in every event from 2016 through 2026: 4,061,213 pairs in 484 events. For each pair:

  • Ratings are pre-event only. Elo is each player's rating before the event (elo_pre, from golfkit.ratings.elo). Bayes skill is the pre-event posterior (pre_event_ratings + posterior), with the predictive prior fitted on 2010–2017 and σ = 2.756.
  • The outcome $S$ is 1, ½ or 0 by comparing the two players' total raw SG over the rounds both completed. That is the same rule the Elo system itself learns from, so neither machine is tested on a contest it wasn't built for. Ties occurred in 4.03% of pairs.
  • Common rounds vary: 64.6% of pairs share exactly 2 rounds (one or both missed the cut) and 28.7% share 4.
# Excerpt from code/case_study_02.py: probabilities and outcomes for every pair in one event
D = (X * M) @ M.T - M @ (X * M).T            # Σ over common rounds of (raw SG_i − raw SG_j)
C = M @ M.T                                   # number of rounds both players completed
pe_ = 1 / (1 + 10 ** ((R[j] - R[i]) / 400))   # Elo probability (ignores C)
pb_ = norm.cdf(c * (th[i] - th[j]) /          # Bayes strokes model (uses C)
               np.sqrt(c ** 2 * (sd[i] ** 2 + sd[j] ** 2) + 2 * c * sigma ** 2))
y = np.where(d > 1e-9, 1.0, np.where(d < -1e-9, 0.0, 0.5))   # actual result, ties = ½

Analysis

Overall accuracy

Elo                  log-loss 0.64059; Brier 0.21489; mean |p − 0.5| 0.1387
Bayes strokes model  log-loss 0.63824; Brier 0.21380; mean |p − 0.5| 0.1258
coin flip           log-loss 0.69315; Brier 0.25000

Both machines beat a coin flip clearly. The Bayes model is better on both scores, and it is better while being less extreme: its probabilities are on average 0.1258 from a coin flip, against Elo's 0.1387. When a forecaster is both more cautious and more accurate, the other forecaster is overconfident.

Calibration

Orient every pair from the favourite's side (the player each machine thinks more likely to win), bin by predicted probability, and compare with the favourite's actual share:

reliability — Elo (K = 48): bin, n, mean predicted, observed (favourite's score)
   0.50–0.55: n   894,903  predicted 0.525  observed 0.523
   0.55–0.60: n   806,862  predicted 0.575  observed 0.570
   0.60–0.65: n   711,114  predicted 0.624  observed 0.615
   0.65–0.70: n   586,775  predicted 0.674  observed 0.661
   0.70–0.75: n   443,310  predicted 0.724  observed 0.707
   0.75–0.80: n   308,225  predicted 0.773  observed 0.755
   0.80–0.85: n   189,294  predicted 0.823  observed 0.802
   0.85–0.90: n    91,452  predicted 0.871  observed 0.849
   0.90–1.00: n    29,278  predicted 0.920  observed 0.909

reliability — Bayes strokes model: bin, n, mean predicted, observed (favourite's score)
   0.50–0.55: n 1,035,139  predicted 0.525  observed 0.528
   0.55–0.60: n   900,903  predicted 0.574  observed 0.583
   0.60–0.65: n   718,909  predicted 0.624  observed 0.636
   0.65–0.70: n   536,253  predicted 0.674  observed 0.684
   0.70–0.75: n   384,348  predicted 0.723  observed 0.731
   0.75–0.80: n   248,107  predicted 0.773  observed 0.776
   0.80–0.85: n   143,589  predicted 0.822  observed 0.816
   0.85–0.90: n    68,227  predicted 0.871  observed 0.860
   0.90–1.00: n    25,738  predicted 0.925  observed 0.904

Case Study 2 — Reliability of Elo and Bayes head-to-head probabilities, 4.0 million pairs, 2016–2026

📊 Figure (described): Predicted probability that the favourite wins (0.5 to 0.95) on the horizontal axis, observed share on the vertical, with a dashed diagonal for perfect calibration. The blue Elo line runs below the diagonal at every point, and the gap widens from almost nothing at 0.525 to about two points by 0.87. The orange Bayes line runs slightly above the diagonal from 0.525 to about 0.77, crosses it near 0.80, and falls about two points below it in the top bin.

Elo's favourites underperform in every bin, and by more the stronger the favourite: 0.724 predicted vs 0.707 observed in the 70–75% bin, 0.871 vs 0.849 in the 85–90% bin. That is the signature of a forecaster that is systematically too confident.

Why? The chapter gave the main reason. Elo uses one curve whatever the contest, but two-thirds of these pairs share only two rounds. Over two rounds, noise has much more chance to beat skill than over four, and Elo can't know that. Its K was tuned on all pairs together, so you would expect it to be too confident on short contests and less wrong on long ones; the Your Turn task tests that split.

The Bayes model has the opposite small error in the middle bins (its favourites win 0.3–1.2 points more often than it says) and a small overconfidence at the very top (0.925 vs 0.904). Both are much smaller than Elo's errors in the bins where most of the action is. The top-bin miss is worth noting: these are the most lopsided pairs, which are likely to include many low-sample players whose posteriors are driven mostly by the prior, so a misfit prior shows up there first.

What it would mean at a sportsbook

Suppose the market's price for Scheffler over McIlroy in a two-round matchup were exactly fair by the Bayes model: 0.632. Pricing it with Elo's 0.719, Dev would believe he had an edge of almost 9 percentage points on Scheffler, and would bet heavily on an illusion. The calibration table says Elo's 70–75% favourites actually win about 70.7% of the time, and that figure mixes two- and four-round contests. For the two-round case the truth is lower still.

This is the general lesson of Chapter 36 in miniature: before a model's probability can show you an edge, it has to be calibrated for that market. A model calibrated for 72-hole outcomes can be badly miscalibrated for 36-hole matchups.

Dev's decision rules for matchups

Dev writes down four rules before he looks at a single price:

  1. Price the contest that is offered. A first-round matchup uses $C$ = 1; a 36-hole matchup uses $C$ = 2; a 72-hole matchup uses $C$ = 4, with a note that one or both players may miss the cut, in which case the book's rules decide what happens.
  2. Include the rating uncertainty. For two established players the posterior SDs barely matter (Exercise B6: 0.570 against 0.572 over two rounds at a half-stroke gap). For a newcomer with a posterior SD above 1, they matter a lot, and they always pull the probability toward 0.5.
  3. Use Elo as a smoke alarm, not a price. When Elo and Bayes disagree about who the favourite is, the matchup is close to a coin flip by both, and the disagreement itself is a reason to pass. Even when they agree, a close pair stays close: for Rahm against Schauffele at the end of the data (Exercise C3) both favour Rahm, but only just (Bayes 0.533, Elo 0.513).
  4. Demand an edge larger than the calibration error. The Bayes model's own errors in this test reached about 1 percentage point in the middle bins and 2 in the top bin. An apparent edge smaller than that is indistinguishable from the model's miscalibration, before any bookmaker margin is counted. Chapter 36 adds the margin.

What it means (and doesn't)

  • For matchups, use a round-aware probability. The Bayes strokes model, with $C$ set to the number of rounds the bet covers, was better calibrated and had lower log-loss on four million real pairs.
  • Elo is still useful, as a cross-check and as an independent view of who is good (Chapter 32: correlation 0.986 with Bayes skill). It just shouldn't price contests directly without adjusting for their length.
  • This test doesn't price anything. There are no bookmaker odds in our data. Whether the market is as miscalibrated as Elo, or better than both machines, is a separate question that needs real prices (Chapter 36 explains how a reader could collect them legally).
  • Ties and dead heats are counted as ½ here. Real books handle them in several ways (pushes, dead-heat rules). Check the rules before translating a probability into a bet.
  • Withdrawals are excluded by construction: a pair needs at least one common round. Real matchups have rules for withdrawals that change their value.

Discussion questions

  1. Elo's log-loss on these pairs (0.64059) is the same number as the K = 48 log-loss in §32.5's K scan. Why?
  2. The Bayes model is underconfident in its middle bins. Suggest one change to its formula that would sharpen those probabilities, and say how you'd test the change without overfitting.
  3. Two-round pairs dominate the data because of the cut. Would you expect Elo's overconfidence to be larger in pairs that share 2 rounds or 4? Design the split that tests it.
  4. A friend proposes using Elo but replacing 400 with a larger scale for two-round contests. Is that the same as the Bayes model's $C$ term? What does the Bayes model include that a rescaled Elo would still miss?

Your turn

Split the pairs by common rounds ($C$ = 2 and $C$ = 4) and rebuild both reliability tables for each. Then fit a single adjustment for Elo, $P' = 1/(1 + 10^{-\Delta R / s_C})$, choosing $s_C$ separately for $C$ = 2 and $C$ = 4 by log-loss on 2016–2020 pairs, and test it on 2021–2026. Report whether the adjusted Elo closes the gap to the Bayes model, and how large $s_2/s_4$ comes out. The Bayes formula predicts that the ratio should be roughly $\sqrt{2}$ when round noise dominates; check whether the data agree.