Chapter 34 Exercises — Tournament Prediction
Difficulty: ⭐ concept check · ⭐⭐ calculation or short code · ⭐⭐⭐ analysis and judgment · ⭐⭐⭐⭐ research and extension
All tour data are REAL (ESPN PGA TOUR hole-by-hole scores through golfkit). All amateur and cast data are SIMULATED (golfkit.shotsim, with the seed stated). Where a question asks you to run code, the answer is whatever your run prints; we describe the expected shape so you can check you're on track.
Part A — Concepts ⭐
A1. In one or two sentences each, define: field favourite, walk-forward evaluation, Brier skill score, reliability diagram.
A2. The pre-event #1 won 18.7% of the events he entered from 2005 to 2026, and the field favourite won 10.8%. Why are those two numbers different, and which is the better measure of "how predictable is golf"?
A3. Explain, without equations, why playing four rounds instead of one helps the better player, but not by a factor of four.
A4. A friend says: "Your model gave the winner only 1.2%. It obviously didn't see him coming." Give two reasons that statement is not, by itself, evidence of a bad model.
A5. What does the event shock η represent in the simulator, and why is it drawn once per player per simulated tournament rather than once per round?
A6. Why does the simulator use each real event's own cut rule? Why is that not look-ahead?
A7. Why is a skill score in the win market expected to be smaller than in the top-10 or make-cut markets, even for the same model?
A8. What is a proper scoring rule, and why is "the share of events the favourite won" not one?
A9. Give two reasons a model can have its win probabilities sum exactly to the number of events and still be miscalibrated.
A10. State two things ESPN's scoring data cannot tell a tournament model, and how each would change the forecast if it could be included.
Answers to Part A
A1. Field favourite: the entrant with the highest pre-event rating (or model P(win)) in that event's field. Walk-forward evaluation: for each event, refit every model component on data dated before it, forecast, then score against what happened, so no forecast has seen its own outcome. Brier skill score: 1 − Brier(model)/Brier(reference); the share of the reference forecast's squared error the model removes. Reliability diagram: observed frequency plotted against predicted probability, bin by bin; calibrated forecasts lie on the diagonal.
A2. The #1 is the best active player in the world and skips many events, especially weaker ones; the field favourite is the best player in that field, which in a weak field may be a much lower-rated player. The field favourite's rate is the better general measure because it covers every event; the #1's rate measures how dominant the best player is.
A3. Skill adds linearly (4Δ over four rounds), while independent noise adds as a square root (2σ over four rounds). The edge-to-noise ratio improves by √4 = 2, not 4.
A4. (1) A calibrated model should see many winners it gave about 1%: the median winner in the walk-forward test had about that much. (2) One event can't test a probability; only many forecasts can, through calibration and proper scores.
A5. It is a "hot or cold week": anything that shifts a player's level for the whole event (feeling, form, an equipment change, a course he likes). Drawing it once correlates his four rounds; drawing it per round would just add to the round noise.
A6. The cut decides who can finish top N and who makes the cut, so the wrong rule biases every market below the win. Cut rules are published before play, so the rule is known in advance.
A7. A win is a rare outcome decided by beating everyone; even a perfect model leaves most of the uncertainty. Top 10 and make cut have base rates near 10% and 50–70%, so a player's skill edge moves the probability by larger absolute amounts that a proper score can reward.
A8. A scoring rule whose expected value is optimised by reporting your true probability. The favourite's win rate ignores every probability except the top one, and can be gamed by choosing which events to forecast.
A9. (1) Over-rating favourites and under-rating long shots by the same total cancels in the sum. (2) Errors in different events can offset (too confident in strong fields, too timid in weak ones).
A10. Any two of: weather and tee times (would add shared noise and a wave effect, widening some players' ranges and shifting others); LIV/DP World rounds (would sharpen ratings for players with few PGA TOUR rounds); injuries and news (would move individual means); shot-level category data (might improve ratings and allow tests of course fit).
Part B — Calculations ⭐⭐
B1. Head to head. Player A is 0.75 strokes per round better than player B. Using σ = 2.76 and no other uncertainty, what is P(A finishes ahead of B over 72 holes)? Over 36 holes?
Solution
72 holes: z = √2 × 0.75 / 2.76 = 0.384, so P = Φ(0.384) ≈ 0.650. 36 holes: the difference has mean 2 × 0.75 = 1.5 and SD √(4 × 2.76²) = 5.52, so z = 1.5 / 5.52 = 0.272 and P ≈ 0.607. Halving the event costs the better player about 4 points of head-to-head probability.
B2. Monte Carlo error. A player's simulated P(win) is 0.02. (a) What is its Monte Carlo SE with 10,000 simulations? (b) How many simulations would you need for an SE of 0.0005?
Solution
(a) √(0.02 × 0.98 / 10,000) = 0.0014. (b) N = p(1 − p)/SE² = 0.0196 / 0.00000025 = 78,400 simulations. Halving the error costs four times the simulations.
B3. Brier score by hand. In a 4-player toy event, a model gives P(win) = 0.50, 0.30, 0.15, 0.05; the third player wins. Compute the model's Brier score and the reference Brier score for "everyone 0.25". What is the BSS?
Solution
Model: [(0.50)² + (0.30)² + (0.85)² + (0.05)²]/4 = (0.25 + 0.09 + 0.7225 + 0.0025)/4 = 0.26625. Reference: [3 × 0.0625 + 0.5625]/4 = 0.1875. BSS = 1 − 0.26625/0.1875 = −0.42. One event can make a good model look bad; this is why we grade over many events.
B4. Skill score. A model's top-20 Brier score is 0.1320 over a season, and the base-rate reference scores 0.1450. What is the BSS, and what does it mean in words?
Solution
BSS = 1 − 0.1320/0.1450 = 0.090. The model removes about 9% of the squared error left by the forecast "every player in each event has the event's top-20 rate".
B5. Log-loss charges. In a 150-player field, the winner was given 0.8% by your model. What does log-loss charge for that forecast? What would the equal-chance forecast (1/150) have been charged? Which forecast scores better on that event's winner?
Solution
Model: −ln 0.008 = 4.83. Equal chance: −ln(1/150) = 5.01. The model scores better on the winner even though it gave him less than 1%, because it gave him more than his equal share.
B6. The 72-hole spread. Using the simulator's variance model with σ = 2.76, rating SD s = 0.41 and event shock η = 0.15, compute the SD of a player's 72-hole total. What share of its variance comes from round noise?
Solution
Variance = 4σ² + 16(s² + η²) = 4(7.6176) + 16(0.1681 + 0.0225) = 30.47 + 3.05 = 33.52, so SD = 5.79 strokes. Round noise is 30.47 / 33.52 = 91% of the variance. The remaining 9% is what makes a player's rounds move together.
B7. Protecting a lead. Two equally skilled tour players, one round to play, both with σ = 2.76. What is P(the leader wins) for a 3-stroke lead (normal approximation, ties ignored)? If the chaser takes on more risk so that his round SD becomes 4.0 with no change in his average, what is it now?
Solution
Equal SDs: Φ(3/√(2 × 2.76²)) = Φ(3/3.90) = Φ(0.769) ≈ 0.779. Chaser at 4.0: Φ(3/√(2.76² + 4.0²)) = Φ(3/4.86) = Φ(0.617) ≈ 0.731. The chaser's extra variance is worth about 5 points of win probability to him.
B8. The pool. In a 20-person office pool, you expect 8 entrants to pick the favourite (P(win) 0.14) and nobody to pick a player you rate at 0.045. Ignoring everyone else, what is your expected share of the pot for each pick?
Solution
Favourite: 0.14 × 1/9 (you plus 8 others) ≈ 0.016. Unpicked player: 0.045 × 1 = 0.045. The unpicked player is worth almost three times as much, because the favourite's win is split nine ways.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. Build your model: one real event. Use yardbook.forecast.find_event("PLAYERS", 2024) and forecast_event(eid, n_sims=10000, seed=1). Print the ten most likely winners with their skill, P(win), P(top 10), P(make cut) and actual finish. Then pull the same event's rows from golfkit.predict.walk_forward() and compare the favourite's P(win).
Expected shape: a table sorted by P(win) with the favourite well above everyone else; the two sources agree to within about a percentage point. Each carries a Monte Carlo SE of about 0.003 at 10,000 simulations, so differences up to about ±0.009 are noise (our run: Scheffler 0.1121 against 0.1047, a difference of +0.0074). The absent-player adjustment can also be applied to an entrant in one source and not the other.
C2. Build your model: grade a subset. Run forecast.calibration_report() on (a) the majors only (wf[wf.major.notna()]), (b) signature-style small fields (wf[wf.field_n <= 80]), and (c) full fields (wf[wf.field_n >= 140]).
Expected shape: three report cards. The majors' card rests on about a dozen events, so its BSS intervals are very wide (our run: win BSS 0.070, interval 0.013–0.124, about three times the full set's width; it happened to exclude zero, but only just); small fields should show larger win BSS than full fields, because the base rate (1/field) is higher and the favourite's edge is larger relative to it. Write two sentences on whether the differences are larger than the intervals.
C3. Build your model: reliability with your own bins. Using forecast.reliability(wf, "top20", bins=[0, .05, .1, .2, .3, .5, 1]), draw a reliability diagram with golfkit.predict.plot_reliability. Which bin has the largest |z|? Is a single |z| near 2 among six bins surprising?
Expected shape: six points near the diagonal; at most one or two with |z| between 1.5 and 2.5.
C4. Build your model: a faster rating. Chapter 32 found a 20-round half-life gave slightly better next-event RMSE than 40. Forecast three events of your choice with forecast_event(eid, params=golfkit.predict.ModelParams(half_life_rounds=20)) and with the default. How much do the favourites' P(win) change?
Expected shape: changes of a few tenths of a percentage point for established players, larger for players whose recent rounds differ from their longer record.
C5. Analyze a Sunday: live forecasts. For the 2026 Masters, run forecast.live_forecast(eid, after_round=2) and after_round=3. How did the eventual winner's live P(win) evolve from pre-event to 36 holes to 54 holes?
Expected shape: a probability that rises sharply as the leaderboard fills in; the 54-hole number is far more decisive than the pre-event one.
C6. Compare two players. Using golfkit.predict.simulate_tournament(..., return_sims=True) on the 2025 Masters pre-event field, compute the probability that Rory McIlroy finishes ahead of Jon Rahm (count a missed cut as behind any finisher, and two missed cuts as a tie). Compare it with the head-to-head formula using their skill difference and σ.
Expected shape: both numbers a little above 0.5; the simulation is slightly closer to 0.5 than the formula because it includes rating uncertainty, the event shock and the cut.
C7. Analyze your rounds: a club event. With 20 or more of your own 18-hole scores (or 20 SIMULATED rounds from yardbook.cast.cast_rounds("Dev Raman", 20) with its default seed, scored by shotsim.round_summary), build a five-player field with golfkit.shotsim.Golfer.from_handicap(h) presets for your partners and run forecast.simulate_from_samples for a 36-hole gross and net event.
Expected shape: a table of P(win), P(top 3) and expected position; the net event's probabilities are much closer to 1/5 each than the gross event's.
C8. Build your model: the field-size experiment on another field. Repeat code/02_field_size_and_noise.py experiment A for the 2026 Masters field. Does the favourite's P(win) against 9 random opponents differ from the PLAYERS 2025 result? Why might it?
Expected shape: a falling curve like Figure 34.4; the level depends on how far the favourite is ahead of that particular field.
Hints for Part C
- C1.
forecast_eventrefits the strokes-gained model as of the event's start date, so it takes several seconds. Compare like with like: the walk-forward row used seed 2024 + the event's index, so expect small Monte Carlo differences, not identical numbers. If your favourite differs by more than about one percentage point, check that you passed the right event id (several events contain "PLAYERS" in older seasons). - C2. Filter the walk-forward table first, then pass it in:
forecast.calibration_report(wf_subset). The bootstrap resamples whole events, so with a dozen majors the interval is wide by construction. Do not conclude that the model is "worse at majors" unless the intervals for majors and non-majors barely overlap. - C3.
plot_reliabilitydraws ±2 SE bars. With six bins, the chance that at least one |z| exceeds 2 by luck alone is roughly 1 − 0.954⁶ ≈ 0.25, so a single large z is not alarming. - C4. Make a small table: event, player, P(win) at h = 40, P(win) at h = 20, difference. Sort by the absolute difference. The players who move most are usually those with a hot or cold last 20 rounds relative to their last 100.
- C5.
live_forecastuses the walk-forward pre-event skill and keeps it fixed, so the movement you see comes entirely from strokes already taken. - C6. With
return_sims=Truethe function returns (table, totals, positions); positions are NaN for players who missed the cut or withdrew. Build a 0 / ½ / 1 score for "McIlroy ahead" per simulation and average it. - C7. For a net event pass
handicaps={name: course_handicap}; the function subtracts it from every round. Usegolfkit.whs.course_handicap(index, slope, rating, par)and state the 🧪 course you assumed. - C8. Reuse the script and change only the
event_lookupline. Keep the seed so your random subfields are reproducible.
Part D — Judgment ⭐⭐⭐
D1. The broadcast graphic. A broadcast shows "Model says: Scheffler 18% to win" on Wednesday, and he finishes 25th. A commentator says the model "got it wrong". Write the two-sentence on-air reply a data analyst should give.
D2. A coach and a missed cut. A player you coach, rated about +0.5 strokes per round, misses three cuts in a row. His P(make cut) in those events was about 0.6 each. Should he change his swing? Use the numbers to frame your advice, and say what evidence would change your mind.
D3. Which market to model. A startup wants to sell golf predictions to subscribers and asks whether to lead with outright winners or top-20 finishes. Using the walk-forward skill scores, advise them, and include one sentence on what they must not claim.
D4. Protecting the lead. Marcus leads his club's first flight by 3 strokes with 18 holes to play. His playing partner urges him to "keep attacking pins, that's what got you here." Using §34.9 and Case Study 2, what should Marcus do, and why?
D5. The over-eager model. A colleague "improves" the model by multiplying every player's skill by 1.3, because "the favourites keep winning more than we predict". What will happen to the long-shot reliability and to the log-loss? Is there a better fix for the Scheffler problem?
Notes on Part D
D1. Something like: "An 18% chance means he loses about four weeks in five; a single result can't tell us the number was wrong. Over the last three seasons, players the model rated this way won about as often as it said." D2. At 0.6 each, three straight missed cuts have probability 0.4³ ≈ 0.064, unusual but not rare across a tour full of players; three events say little about his level. Look at his strokes gained over 30+ rounds before changing anything. D3. Lead with top 20 (larger, better-calibrated skill); never claim to "predict the winner" or promise profits. D4. Protect the lead with the lower-variance, lower-average plan (dispersion-based aim): it raises his chance of holding on at every lead size in the SIMULATED case. D5. Long shots will win more often than predicted, and log-loss will get worse (§34.8's stretched model). A better fix targets the specific issue: test a player-specific variance or a slower shrinkage for players with long elite records, walk-forward (Case Study 1).
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. Chapter 14 + Chapter 34. Chapter 14 shows that leaders regress. Use this chapter's live model results to explain why solo 54-hole leaders ranked in their field's top 10 convert more often than leaders ranked 51st or lower (57.7% vs 33.5% in 2004–2026). Which ingredient of the live model captures this, and which deliberate simplification ignores part of it?
M2. Chapter 32 + Chapter 34. The Bayesian rating's posterior SD is about 0.41 strokes per round for established players and much larger for rookies. Simulate a field in which one player has skill +1.0 and posterior SD 0.41, and another has the same skill with posterior SD 1.5. Which has the higher P(win)? Which has the higher P(make cut)? Explain the difference in terms of the shape of each player's outcome distribution.
M3. Chapter 16 + Chapter 34. Chapter 16 computed hole score probabilities exactly with a Markov chain. Explain why the same exact approach is infeasible for a 150-player tournament, and describe one quantity in this chapter that could be computed exactly instead of simulated (hint: the head-to-head formula, or the Poisson-binomial count of a player's wins in Case Study 1).
M4. Chapter 19 + Chapter 34. Chapter 19 measured dispersion; this chapter shows variance helps a trailing player and hurts a leader. Design a two-option decision for a par-5 second shot (go for it vs lay up) with 🧪 expected scores and SDs, and show for which scoreboard situations each option maximises P(win) in a two-player race with one hole to play.
M5. Chapter 29 + Case Study 2. Marcus's handicap understates his gross scoring because net double bogey removes more strokes from his blow-up holes than from his peers'. Using yardbook.cast.scorecard on SIMULATED rounds, find which other cast member's index flatters their gross score most, and predict who that helps in a net event.
M6. Chapter 33 + Chapter 34. Course fit adds at most about 0.0015 strokes per round of accuracy in this data. Convert that into a change in P(win) for a typical favourite (use the field-size experiment or a quick simulation), and explain why a bettor should still not ignore Augusta history (the Augusta findings in Chapter 33).
Sketches for Part M
M1. A lead is skill plus luck. A top-10 player's lead is more skill, so it carries into round 4 better; the live model captures this through each player's pre-event skill m, which gives the better leader a better final round on average. The simplification is that it does not update m from the first 54 holes, so it ignores the evidence that any leader (especially one with a big lead) may be playing above his rating this week. That is one reason the live model under-predicts large leads (§34.9).
M2. With the same mean, the player with SD 1.5 has a wider distribution of "true level this week". Wins come from the far right tail of that distribution, so his P(win) is higher; making the cut depends on the middle, and the wider distribution also puts more mass on the left, so his P(make cut) is lower (for a player above the cut line). Uncertain players are more likely to win and more likely to miss the cut.
M3. A tournament's joint outcome space is every combination of 150 players' four-round totals, positions and the cut, far too large to enumerate. The head-to-head formula Φ(√2Δ/σ) and the Poisson-binomial distribution of a player's win count across many events (computed by a simple recursion in code/case_study_01.py) are exact.
M4. Choose, for example, 🧪 go for it: mean 4.7, SD 1.0; lay up: mean 4.8, SD 0.6. For a two-player race with one hole left, compute P(win) for leads of −1, 0 and +1 by simulating both players' scores. When ahead, the low-variance lay-up usually maximises P(win) unless its mean cost is large; when behind by one, the high-variance option is better because it creates more chances of a birdie or eagle swing.
M5. Compute gross minus adjusted gross score (net double bogey) per round for each cast member over the same number of SIMULATED rounds. The member whose cap removes the most strokes per round has an index that flatters his gross scoring the most; in a net event that player is helped, because his handicap is relatively generous for his average round.
M6. Over 72 holes, 0.0015 strokes per round is 0.006 strokes. Rerun the simulator with the favourite's mean raised by that amount: P(win) changes by less than the Monte Carlo error of 10,000 simulations. Augusta is different because past Augusta over-performance repeats more strongly than at other courses (Chapter 33), so a careful bettor tests a course-specific effect where the data support one, instead of a generic "course fit" score.
Part E — Research & Extension ⭐⭐⭐⭐
E1. Update skill in play. The live model in §34.9 keeps each player's pre-event skill fixed. Build a version that updates skill from the first k rounds with the normal–normal posterior (Chapter 32: the rounds this week are k more observations, discounted by κ). Re-run code/07_live_after_54.py and compare the solo-leader table and the live reliability. Does updating fix the under-prediction of large leads?
E2. Player-specific variance, walk-forward. Rebuild walk_forward with ModelParams(player_sd=True) (it takes about 20 minutes) and grade it with forecast.calibration_report. Does it improve the win log-loss or the top bins? Report the BSS difference with an event-block bootstrap interval for the difference, not just each model.
E3. A market test you can actually run. The data contains no bookmaker odds. Design a legal, reproducible way to collect pre-event prices for a season (which markets, which timestamps, how to remove the margin), and pre-register the test you would run: the metric, the sample size needed to detect a 2-point log-loss difference, and what result would make you stop. Chapter 36's edge tables are the starting point.