Instructor Notes — Chapter 33: Course Fit
Chapter 33 takes one of the most repeated ideas in tournament previews ("he's a horse for this course") and tests it on REAL ESPN data. It splits "course fit" into three claims: A (he plays well here, which is mostly skill), B (he beats his rating here, which is course fit) and C (his game matches the course, a mechanism). Claim B is then measured with a residual against the pre-event rating. The findings are consistent and humbling. Length does pay more on long courses, but out of sample it adds almost nothing. Course history needs very heavy shrinkage, and the best specification saves 0.00150 (± 0.00065) strokes per round. Augusta is the one striking exception, and even it shrinks sharply once stale ratings are accounted for. The message to leave students with: rating first, variance second, course fit last, and only after a walk-forward test.
Chapter text: Chapter 33 · Discussion guide: ch-33-discussion.md
Learning Objectives
By the end of the session students should be able to:
- Distinguish the three claims (A, B, C) inside "course fit" and state why only B and C are course fit.
- Define the course-fit residual against the pre-event rating and explain why difficulty can't create fit.
- Interpret an interaction between driving distance and course length, both in sample and out of sample.
- Apply shrinkage, $\hat v = \bar r\,n/(n+k)$, to a short course history and explain why $k$ is in the tens.
- Bound what any course-fit model can find using variance components and the ceiling $\Delta(n)$.
- Evaluate a feature with a walk-forward test and an event-block standard error.
- Critique the Augusta history result by separating regulars from occasional entrants.
- Identify which famous course-fit mechanisms ESPN data cannot test, and what measurement would test them.
Suggested Session Plan (75 minutes)
| Minutes | Activity | Notes |
|---|---|---|
| 0–8 | Hook: last visit here vs last event elsewhere | Raw r +0.193 vs +0.266; residuals +0.029 vs +0.060 (n 58,624). Ask for predictions first. |
| 8–18 | Three claims; difficulty isn't fit (33.1–33.2) | Oakmont 2007 +5.64 is difficulty, removed by field adjustment before any residual. |
| 18–30 | Length on long courses (33.3–33.4) | +0.031 → +0.192 per +10 yd across length fifths (z +4.21); out of sample +0.00045. |
| 30–42 | Course history and shrinkage (33.5) | Slopes by visits 0.027 / 0.034 / 0.118 / 0.276; work exercise B1 on the board. |
| 42–52 | The ceiling (33.6) | τ 0.213; 1.62% of residual variance; perfect knowledge saves 0.01363. |
| 52–60 | The out-of-sample verdict (33.7) | 0.00150 vs 0.2014 from skill. |
| 60–72 | Augusta, examined (33.8) | 0.461 vs 0.127, then regulars 0.258 vs 0.096 (z +1.42). |
| 72–75 | Exit ticket | "Which claim (A, B or C) is in tonight's preview, and what would test it?" |
50-minute variant. Hook and the three claims (8 minutes), length × course length in and out of sample (10), shrinkage with B1 (10), the ceiling and the verdict (12), Augusta and the regulars check (10). Assign 33.9 (what we can't test, and amateur course fit) as reading with A6 and D3.
Key Numbers to Emphasise
| Number | What it means | Source / label |
|---|---|---|
| Raw SG r: last visit here +0.193, last event elsewhere +0.266; residual r +0.029 vs +0.060 (n 58,624) | Horses for courses is mostly skill | REAL |
| Course difficulty persistence r +0.759 (745 pairs); hardest Oakmont 2007 +5.64 | Difficulty is real, and isn't fit | REAL |
| Distance premium per +10 yd: shortest fifth +0.031, longest +0.192; Q5 − Q1 +0.161, z +4.21 | Length pays more on long courses | REAL |
| Interactions beyond main effects, walk-forward 2018–26: +0.00045 (± 0.00024) | Real but tiny out of sample | REAL |
| History slope by past visits: 1–2 0.027; 3–5 0.034; 6–10 0.118; 11+ 0.276 | How much repeats | REAL |
| Data prefer k ≈ 40–80; variance components imply k = 61 | Shrink hard | REAL |
| τ 0.213 per round (0.102–0.284); 1.62% of residual variance | True player × course effects | REAL |
| Ceiling: perfect knowledge 0.01363; real visit mix 0.00043 | The most any model could find | REAL, arithmetic |
| Any-course recent residuals 0.00173 vs course history 0.00070; course beyond any +0.00062 | Much of history is a rating problem | REAL |
| Best specification 0.00150 (± 0.00065) = 0.09% of residual RMSE, 0.74% of skill's 0.2014 | The verdict | REAL |
| Augusta slope 0.461 vs 0.127 (z +3.03); regulars only 0.258 vs 0.096 (z +1.42) | The exception, with a catch | REAL, 🧪 regular threshold |
| Woods at Augusta residual +0.09 (−0.54 to +0.71) | Even Tiger's Augusta record is mostly skill | REAL |
| Emma vs Tasha interaction +0.51 per round (SE 0.14); 1,283 rounds per cell for 80% power | Amateur course fit | SIMULATED |
Likely Misconceptions
- "He always plays well here, so it's his course." That is Claim A. A great player plays well everywhere; the previous event elsewhere predicts better than the previous visit here. Make students subtract the rating first.
- "Hard courses favour certain players." Difficulty affects everyone and is removed by field adjustment; only the interaction of player and course can be fit (A3).
- "z = +3.12 means the feature is valuable." In-sample significance with tens of thousands of rows can coexist with a held-out gain of 0.00045 strokes per round (A10).
- "Two great weeks at a course are worth believing." With $k$ in the tens, two visits earn about 3% belief.
- "Augusta proves course history matters." About half of Augusta's excess comes from stale ratings of veterans and occasional TOUR players, whose ratings decay by rounds rather than days. Among regulars the excess isn't established (z +1.42).
- "Links punish a high ball flight" / "Augusta rewards a draw." ESPN has no shot shape, trajectory or SG by category, so these are hypotheses in this data, not findings (A6).
- "I play better at my home course." Without about 100 rounds per course, and differentials rather than gross scores, the difference is noise.
The Lab
Run each script from the chapter directory with python code/NN_name.py. All run cleanly in about 5–32 seconds. The underlying predict.course_fit_dataset() takes about 25 seconds per call and isn't cached on disk; the course_fit module memoises it within a session, so a notebook that imports it once runs faster than a sequence of separate scripts. There are no order dependencies.
01_horses_for_courses.py: the hook correlations.02_course_features.py: course lengths, pars and difficulty persistence.03_driving_fit.py: distance and accuracy premiums by course-length fifth and the walk-forward gains.04_course_history.py: slopes by visits and the $k$ scan.05_out_of_sample.py: variance components, the ceiling and the verdict table.06_augusta.py(about 32 s, the slowest): Augusta slopes, the regulars check, specialists and Woods.07_exercise_answers.py;case_study_01.py(Masters boards 2012–26 with an Augusta-specific slope);case_study_02.py(SIMULATED Emma and Tasha on two courses, seeds 3301–3304);project_checkpoint.py(yardbook/course_fit.py, the 2026 RBC Heritage board).
What to look for: in 05, that the best specification's gain sits far below the 0.01363 ceiling, and students should be suspicious of any model that claims more; in 06, how the slope changes at the 20, 30 and 40-round thresholds for "regular"; in the checkpoint, that fit scores (SD 0.071) barely move a board ranked by skill (SD 0.672): median rank move 1.
Assigning Exercises by Track
- ⛳ Golfer: A1, A3, A4, A6, B6 (your own home course), D3, M4.
- 📊 Analyst: A2, A5, A7, A8, A10, B1–B5, B7, B8, C1–C8, M1, M2, M5; E1, E2 or E3 as a project.
- 🏌️ Coach/Fitter: A1, A6, B2, B6, C7, D3 (coaching Emma), M3, M5.
- 🎰 Betting/DFS: A4, A9, A10, B1, B5, B8, C2, C5, D1, D2, D4 (Dev's Masters term).
Everyone should do A1 (the three claims), B1 (shrinking a course record) and D1 (an honest preview paragraph). Golfers may skip Part C and Part E.
Connections to Other Chapters
- Chapter 6: the flight physics behind the links hypothesis (M3).
- Chapter 14: rounds needed and regression, translated into visits (M2).
- Chapter 21: the value of a yard and a fairway, season level (M5).
- Chapter 29: Course Rating and Slope as difficulty removal (M4).
- Chapter 32: the pre-event ratings, decay by rounds and form's small value (M1).
- Chapter 34: the tournament model where course fit barely registers, and the absent-player correction that addresses stale ratings.
- Chapter 35: Augusta and the majors in depth.
- Chapter 39: course difficulty and design from the course's side.
- Appendix E: shrinkage, method of moments and Benjamini–Hochberg.
Data and Toolkit Caveats
- Course ids don't see renovations. ESPN attributes a course by
course_id; a lengthened or redesigned course keeps its id. Check a venue's history before reading a long time series. - No mechanism variables. ESPN has no shot shape, launch, spin, peak height or SG by category, so Claim C can only be tested through driving distance and accuracy from tournament statistics (2015+).
- Stale ratings confound history. Pre-event ratings decay by rounds, not days, so veterans and players who seldom play the PGA TOUR carry ratings that run high or low for reasons unrelated to the course. Any use of the Augusta number must carry the regulars caveat (0.258 vs 0.096, z +1.42, not established).
- 🧪 thresholds and windows. "Regular" = 30 or more PGA TOUR SG rounds in the prior 365 days (robustness at 20 and 40 in C2); variance components use pairs 300–430 days apart (robustness ≤ 800 days and 680–780 days reported). Chapter 31's "regular" (40 SG rounds a season) serves a different purpose.
- A constant offset in the residual. The residual's raw unweighted mean is −0.39, absorbed by every model's intercept. It isn't a course effect, but anyone using
residwithout an intercept will be misled. - Innisbrook's negative slope (Copperhead −0.226, q 0.005) is unexplained; it's an open question (E3), not a finding to build on.
- Multiple comparisons. Fifty courses were tested; only two pass Benjamini–Hochberg at q < 0.10. Warn students who scan many interactions and report the best one.
- Case Study 2 is SIMULATED (seeds 3301–3304, 2,000 rounds per cell, against Broadie's tour baseline). Emma's "8 rounds a year per course" in D3 is a 🧪 assumption.