Instructor Notes — Chapter 31: PGA Tour Analytics: The Data Ecosystem
Chapter 31 opens Part VI by asking who holds professional golf's data, what reaches the public, and how to turn ESPN's free scores into a player database and season tables that can be trusted. The hook is three honest answers to "How good was Tiger Woods in 2006?" (+3.72, +3.91, +3.39), which differ because of one filter and one adjustment, not arithmetic. The rest of the chapter maps the five data layers, checks ESPN against a published ShotLink number, teaches three join rules, builds season tables and event summaries with field strength, and audits the snapshot itself. The lesson students should carry into Chapters 32–37: every tour number has a source, a filter, a sample size and a snapshot, and you must know all four.
Chapter text: Chapter 31 · Discussion guide: ch-31-discussion.md
Learning Objectives
By the end of the session students should be able to:
- List the five layers of tour data (results; round and hole scores; tournament statistics; shot-level records; derived models) and name which have a free source.
- Date ShotLink and the official SG categories with their confidence tags, and explain why the majors are outside ShotLink.
- Validate a free source against one published aggregate (ESPN double-or-worse versus ShotLink water balls at Sawgrass 17).
- Apply the three join rules: ids not names, know each join's shape, count what each join drops.
- Build a season table with a minimum-rounds rule and a 95% interval on every mean, and compare two players with a z statistic.
- Explain field strength and why SG:Total = raw SG + field strength.
- Recognise data that is missing not at random and estimate the bias it causes.
- Describe why the majors are the only window onto players who left the PGA TOUR, and why their ratings are fragile.
Suggested Session Plan (75 minutes)
| Minutes | Activity | Notes |
|---|---|---|
| 0–8 | Hook: Woods 2006, three answers | 52 rds +3.72; par-filtered 48 rds +3.91; raw +3.39. Ask "which is right?" before revealing that all three are correct answers to different questions. |
| 8–20 | The layers and ShotLink (31.1–31.2) | Persistence chart; the Sawgrass cross-check, r = 0.985 over 22 years. |
| 20–28 | Public windows (31.3) | Never subtract one provider's category number from another's. |
| 28–42 | ESPN and the player database (31.4–31.5) | Cameos (2025 median 4 rounds); the three join rules; the ×20.5 row explosion. |
| 42–55 | Season tables and field strength (31.6–31.7) | 2026 table with CIs; convex payoff (2.1% of seasons, 20.6% of wins); field strength by event class. |
| 55–68 | Data quality (31.8) | Blow-up holes, the re-enacted bug, σ 2.756 versus 2.723. |
| 68–75 | The split tour (31.9); exit ticket | "Name the source, filter, rounds and snapshot for one number you'll use this term." |
50-minute variant. Hook (5 minutes), layers and the Sawgrass cross-check (8), join rules with the row-explosion demo (10), season table and field strength (12), the missing-not-at-random story (10), majors as bridges (5). Assign 31.3 as reading with A.3 and A.4.
Key Numbers to Emphasise
| Number | What it means | Source / label |
|---|---|---|
| 1,031 events / 408,603 SG rounds / 3,714 players | This book's usable snapshot | REAL, ESPN 2004–2026 |
| σ = 2.756 strokes | Pooled round-to-round SD | REAL |
| Woods 2006: +3.72 (52 rds); par-filtered +3.91 (48); raw +3.39 | One season, three answers | REAL |
| Par filter wrongly applied to SG removes 1,582 rounds from 240 players | Cost of the wrong filter | REAL |
| Season→season r (regulars): distance 0.852, SG:Total 0.714 (0.697–0.730, n 3,338), top-10 rate 0.606, win rate 0.403, putts/GIR 0.374, sand saves 0.251 | What persists | REAL |
| r(double+ vs water balls) = 0.985 over 22 years; scoring average 3.128 vs 3.12 | ESPN agrees with ShotLink at Sawgrass 17 | REAL vs published ShotLink |
| 2025: 692 players, median 4 rounds; 190 regulars play 84.5% of rounds | Most names are cameos | REAL |
| 2026 table: Scheffler +2.86 (2.32–3.41, 78 rds); 22 players outside the top 10 have CIs reaching #10's +1.66 | Rankings beyond the top few are ties | REAL |
| SG ≥ +2.0 seasons: 2.1% of seasons, 20.6% of wins; negative-SG seasons won 92 of 989 (9.3%) | Convex payoff to skill | REAL |
| Field strength 2025–26: signature +0.71, major +0.35, regular +0.08, opposite-field −0.68; major − opposite 1.03/rd (4.1 per 72) | "Beat these players" vs "beat an average field" | REAL |
| Young, 2026 PLAYERS: 3.66 + 0.56 = 4.22 | Raw SG + field strength | REAL |
| Blow-up rounds 0.80%, mean SG −5.11; dropping them gives σ 2.723 and Woods 2006 +3.66 | Missing not at random | REAL (re-enactment) |
| Former regulars seen only at majors: 2.8 per major (2019–21) vs 14.2 (2023–26) | The majors as bridges | REAL, 🧪 definition |
Likely Misconceptions
- "One of the three Woods numbers is wrong." Each answers a different question. The par filter is right for to-par work and wrong for strokes gained, which never uses par; raw SG ignores field strength. Use A.9.
- "ESPN has strokes gained by category." It doesn't. ESPN gives results, hole scores and tournament statistics; category SG lives on pgatour.com and with paid providers. Any category number in this book is SIMULATED or cited.
- "Driving distance persists best, so it explains the most SG." Persistence and explanatory power are different questions (A.10). Distance is stable because it's mostly physical; GIR and putts per GIR carry more of the season-level variance in SG:Total.
- "Earnings rank skill." Earnings track field strength (Spearman 0.851 in 2025) almost as much as SG (0.868). A player who plays strong fields earns more for the same skill.
- "Dropping bad rows makes the data cleaner." The missing
OTHERholes were the worst holes. Dropping them shrank σ and, surprisingly, lowered the steady stars' SG (Woods 2007 +3.70 now, +3.64 in the re-enactment). Missing data is rarely random. - "A season ranking is a ranking." In 2026 only the top few players are separable; McIlroy vs Fleetwood 2025 has z = 0.26. Insist on intervals next to every mean.
- "Names are good enough keys." 17 names map to 34 ids; joining on names silently merges different golfers.
The Lab
Run each script from the chapter directory with python code/NN_name.py. All run cleanly in about 2–45 seconds; there are no order dependencies (the canonical SG table is cached by the toolkit and memoised in tour_data).
01_three_answers.py: the hook table. Have students explain each column before moving on.02_layers_and_persistence.py: season-to-season correlations with Fisher intervals. Look for the gap between distance (0.852) and sand saves (0.251).03_shotlink_crosscheck.py: the Sawgrass 17 fit, double+ = −2.5 + 0.750·balls.04_coverage.py: event classes by year and the rounds-per-player distribution.05_player_database.py: 3,714 players, shared names, the join demonstrations (16,364 → 335,088 rows).06_event_summaries.py(about 40 s, the slowest): field strength for every 2026 event. Start it early.07_data_quality.py(about 18 s; includes an SG refit): the 14-check audit, blow-ups and the re-enactment.08_split_tour.py: former regulars seen only at majors.09_exercise_answers.py;case_study_01.py(the 2025 season, four leaderboards);case_study_02.py(the 2026 Open field and its precision);project_checkpoint.py(yardbook/tour_data.py).
What to look for: in 05, that safe_merge reports row changes instead of hiding them; in 07, that the audit's purpose is to make a human look (Billy Casper's 106 is genuine and stays); in case_study_02.py, that nine long-career Open entrants with 0–16 recent rounds carry the same posterior SD (0.40) as regulars.
Assigning Exercises by Track
- ⛳ Golfer: A.1, A.2, A.5, A.8, B.1, B.2, D.2, D.3, M.3.
- 📊 Analyst: A.6, A.7, A.9, A.10, B.3, B.4, B.5, B.6, C.1–C.8, M.1, M.2, M.4, M.5; E.1, E.2 or E.3 as a project.
- 🏌️ Coach/Fitter: A.1, A.3, A.4, B.1, D.1, D.3 (Coach Tasha's student), M.3.
- 🎰 Betting/DFS: A.5, A.6, B.2, B.7, C.2, C.6, C.7, D.1, D.4 (Dev's Open forecast), M.4, E.3.
Everyone should do B.1 (rounds needed at σ 2.756), A.9 (the par_ok filter) and D.1 (interrogating a quoted category statistic). Golfers may skip Part C and Part E.
Connections to Other Chapters
- Chapter 2: the ESPN snapshot and the toolkit's data loaders;
validate_shotsfor your own data (M.3). - Chapter 10: field-adjusted SG:Total and its zero point (M.5).
- Chapter 14: σ, sample size and regression to the mean behind every season interval (M.1).
- Chapter 17: the history of ShotLink and the five ESPN statistics (M.2).
- Chapter 32: ratings built on these season tables; decay by rounds, not days (M.4).
- Chapter 33, Chapter 34 and Chapter 35: course fit, forecasts and majors all start from
tour_data. - Chapter 36: field strength and thin-data players in betting markets.
- Appendix C: data sources and build history; Appendix E: intervals, Fisher's transformation, z tests.
Data and Toolkit Caveats
- Free data stops at layer 3. ESPN has no shot locations, lies, clubs, wind or tee times. Shot-level ShotLink data has no free source, and the majors aren't in ShotLink at all.
- Provider descriptions are deliberately general. DataGolf, 15th Club, ShotLink Intelligence, LIV and DP World Tour are described only as far as the book's sources allow; no prices, clients or features are claimed. Hold students to the same standard (A.4).
- The
par_okstory. Four events (Bay Hill 2004–06, Booz Allen 2005) have wrong ESPN hole pars. They stay in strokes gained and are excluded from to-par work. The chapter demonstrates the join trap with apar_ok-filtered events table; inner-joining SG rows onto it drops 408,603 → 407,021 rounds. - Re-enactment numbers are not current values. σ 2.723 and Woods 2006 +3.66 appear only as the deliberate re-creation of the earlier
OTHER-hole bug. The current values are σ 2.756 and +3.72. If students consulttoolkit/README.md, warn them that some printed season leaders there predate the fix; the chapter uses them on purpose as "published before the fix". - Rating SD and absence.
ratings.bayes_skill's posterior SD doesn't grow when a player stops playing; decay counts rounds, not days. Nine long-career 2026 Open entrants with 0–16 recent rounds sit at SD 0.40, like regulars. Chapters 34–37 widen these players' uncertainty explicitly. - Earnings are ESPN's
officialAmount, not reconciled with the official money list; majors' stat rows often have no GIR attempts while earnings are present. is_signatureexists only for 2025–2026, so 2023–2024 elevated events and FedExCup playoffs count as "regular" in any class split.- Raw statistics. The persistence correlations for ESPN statistics are raw, not field-centred.
- 🧪 thresholds. "Regular" = 40 SG rounds; "former regular" = 40 or more non-major rounds in an earlier year. Results near either cut-off move if the threshold moves.