Chapter 31 Exercises
Difficulty: ⭐ concept check · ⭐⭐ calculation or short code · ⭐⭐⭐ analysis and judgment · ⭐⭐⭐⭐ research and extension
Every numeric answer below comes from this chapter's scripts (code/09_exercise_answers.py unless another script is named), run on this book's ESPN snapshot through The RSM Classic (23 November 2026). If the snapshot is rebuilt, rerun the script and expect small changes. That is part of the lesson.
Part A — Concepts ⭐
A.1 List the five layers of professional golf data in order of increasing detail. For each, name one organisation that holds it and say whether this book has a free source for it.
A.2 Explain the difference between ShotLink's first use (about 2001) and the start of ShotLink research data (2003). Which confidence tag does each date carry in this book's references, and why does the difference matter when someone writes "strokes gained since 2003"?
A.3 The PGA TOUR counts par-3 tee shots in SG: Approach, and SG: Off-the-Tee covers only par-4 and par-5 tee shots. Describe a player whose official SG: Off-the-Tee would look worse than his "driving" reputation, and one whose SG: Approach would look better than his iron play from the fairway.
A.4 Why does this book describe DataGolf, 15th Club and ShotLink Intelligence only in general terms, with no prices, client lists or product features? What would you need before adding such detail to a report?
A.5 In your own words, define field strength. Why does SG:Total equal raw SG plus field strength?
A.6 Give two reasons the measured field strength of a major can be lower than that of a signature event, and say which of them is a real difference in the field and which is a measurement artefact.
A.7 What does "missing not at random" mean? Use the OTHER holes to explain it.
A.8 Why is player_id, not the player's name, the only safe join key in the player database? What should you do when two ids share a name?
A.9 The par_ok flag is correct for a scoring-to-par study and wrong for strokes gained. Explain why in two sentences.
A.10 Driving distance is the most persistent ESPN statistic from one season to the next (r = 0.85), yet the five tournament statistics combined explain season SG:Total mostly through GIR and putts per GIR. Explain why "persistent" and "important" are different properties.
Part B — Calculations ⭐⭐
B.1 With σ = 2.756 strokes, how many rounds does a tour player need for a 95% interval of ±1.0 stroke on his mean SG:Total? For ±0.5? What is the SE of a mean over 10 rounds, and over 70?
Solution
$n = (1.96\sigma/h)^2$. For $h = 1.0$: $(1.96 \times 2.756)^2 = 29.2$, so 30 rounds. For $h = 0.5$: $116.7$, so 117 rounds. SE at 10 rounds $= 2.756/\sqrt{10} = 0.87$; at 70 rounds $= 0.33$.
B.2 A player shoots 68 in a course-round where the field averages 70.4. The field's strength is −0.62 (a weak opposite-field event). What are his raw SG and his SG:Total? A second player shoots 69 where the field averages 71.1 and the field strength is +0.71 (a signature event). Who had the better round against an average tour field?
Solution
Player 1: raw SG $= 70.4 - 68 = +2.4$; SG:Total $= 2.4 - 0.62 = +1.78$. Player 2: raw SG $= 71.1 - 69 = +2.1$; SG:Total $= 2.1 + 0.71 = +2.81$. Player 2's round was about one stroke better against an average field, even though he beat his own field by less.
B.3 You join 120 rounds from a single-course event to a course table that has one row per hole, using only event_id as the key. How many rows result? If the event used two courses (36 hole rows), how many? Which validate= argument would have stopped you?
Solution
$120 \times 18 = 2{,}160$ rows for one course, and $120 \times 36 = 4{,}320$ for two. validate="many_to_one" raises a MergeError because the right-hand key (event_id) isn't unique. The chapter's 2026 version turned 16,364 rounds into 335,088 rows (×20.5, because some events have two or three courses).
B.4 In a stored set of rounds, 0.8% are missing, and the missing rounds averaged −5.11 SG while all rounds together average 0.00. By how much does the mean of the stored rounds overstate the true mean? What if 3% were missing with the same mean?
Solution
$p(\bar m_{\text{all}} - m_b)/(1-p) = 0.008 \times 5.11/0.992 = 0.041$ strokes. With $p = 0.03$: $0.03 \times 5.11/0.97 = 0.158$ strokes. The bias grows almost linearly with the missing share.
B.5 Driving accuracy's season-to-season correlation among regulars is 0.749 from 1,484 pairs. Compute its 95% interval with Fisher's transformation.
Solution
$z = \tanh^{-1}(0.749) = 0.971$. Half-width $= 1.96/\sqrt{1{,}481} = 0.0509$. Interval $= \tanh(0.920)$ to $\tanh(1.022)$, which is 0.726 to 0.771. The script prints 0.725 to 0.770 from the unrounded correlation.
B.6 The chapter's fit at Sawgrass 17 is double-or-worse $= -2.5 + 0.750 \times$ water balls. In a year with 60 published water balls, how many double-or-worse scores would you expect in ESPN's data? If ESPN showed 20, what would you suspect?
Solution
$-2.5 + 0.750 \times 60 = 42.5$, so about 42–43. A count of 20 would be far below the 22-year pattern (r = 0.985). Suspect missing ESPN scores for that year (check the round count against the field), a wrong hole mapping, or an error in the reference count, before believing that the hole suddenly stopped producing big numbers.
B.7 Over 2025–2026, major fields averaged +0.35 and opposite-field events −0.68. Over four rounds, how many strokes of field strength separate them? A player averages +0.5 raw SG per round in opposite-field events. What raw SG per round would you expect from him in a major, ignoring course effects?
Solution
The gap is $0.35 - (-0.68) = 1.03$ strokes per round, or 4.1 strokes over 72 holes. His SG:Total is $0.5 - 0.68 = -0.18$. Against a major field of +0.35, his expected raw SG is $-0.18 - 0.35 = -0.53$ per round. He goes from beating the field to trailing it.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C.1 ⭐⭐ — Compare two players: the 2024 season. Build td.player_season_table(2024, min_rounds=40). Report the top five with rounds, SG per round and 95% CI, wins and top 10s. Then test whether the gap between first and second is statistically clear: $z = \Delta/\sqrt{SE_1^2 + SE_2^2}$.
Expected shape: a five-row table and one z value.
Answer
Scottie Scheffler 79 rounds, +3.24 (2.72 to 3.75), 8 wins, 17 top 10s; Xander Schauffele 83 rounds, +2.63 (2.06 to 3.21), 2 wins, 15 top 10s; then Collin Morikawa +1.89, Rory McIlroy +1.79 and Ludvig Åberg +1.78. Gap 0.60, z = 1.52: suggestive, not decisive, for one season. Eight wins against two exaggerates a 0.6-stroke difference, which is the convex payoff of §31.6.
C.2 ⭐⭐ — Analyze an event. Run td.event_summary for the 2025 Masters. Report the field size and strength, the cut and how many made it, the winner, his score to par, the margin, his SG per round, the scoring average and the hardest and easiest holes. What does a margin of 0 mean?
Answer
Field 95, strength +0.68; cut 146 with 53 making it; Rory McIlroy at −8 with margin 0, meaning he was tied after 72 holes and won a playoff; winner SG +4.11 per round; scoring average 72.81; hardest hole the 5th (+0.324 to par), easiest the 2nd (−0.385).
C.3 ⭐⭐ — Build your model: one event's field over time. Compute the mean field strength of THE PLAYERS Championship for every year in the data (mean over its course-rounds). Has the field got stronger or weaker? Compare 2004–2015 with 2016–2026.
Expected shape: 22 yearly values (only the cancelled 2020 edition is missing) and two means. Match the name case-insensitively: ESPN spells the 2018 edition "The Players Championship", and a case-sensitive filter silently drops it. Count the rows your filter returns.
Answer
Values range from +0.41 (2015) to +0.61 (2023). The means are +0.49 (2004–2015) and +0.51 (2016–2026), essentially unchanged. THE PLAYERS has kept one of the strongest fields in the database every year, at a level close to the 2025–2026 signature-event average (+0.71) minus about 0.2.
C.4 ⭐⭐ — Audit the database. Run td.audit_snapshot(). Find the single complete round whose score falls outside 55–95. Who was it, where, and should it be removed?
Answer
Billy Casper, 106 in round 1 of the 2005 Masters. It's a genuine score (the hole scores sum to it), so keep it. A plausibility check exists to make a human look, not to delete. It's also the worst round in the SG table (SG −30.58 in this book's computed numbers).
C.5 ⭐⭐⭐ — Decode the stats: is sand-save percentage a skill? Extend Figure 31.3. For player-seasons with at least 40 SG rounds and at least 30 bunker attempts in stat rows that cover every round, compute the bunker-attempt-weighted sand-save percentage and its season-to-season correlation. Where does it sit among the eight metrics in the chapter?
Answer
r = 0.251 over 1,564 season pairs, the least persistent of all nine. Thirty-odd bunker shots a season are too few, and each save also depends on the putt that follows. Treat a single season's sand-save leaderboard as mostly luck.
C.6 ⭐⭐ — Analyze the seasons: who wins with a negative SG? Using every player-season with at least 40 rounds, 2004–2026, count the seasons with negative SG:Total and the wins they produced. Then list three such winning seasons and look at each winner's event: how many SG strokes per round did he gain that week?
Answer
1,898 of 4,534 player-seasons had negative SG, and they produced 92 of 989 wins (9.3%). The winning weeks themselves will typically show +2.5 to +4 SG per round: one great week inside an ordinary season. (Your three examples depend on which seasons you pick; check each against event_summary.)
C.7 ⭐⭐⭐ — Compare two players: McIlroy vs Fleetwood, 2025. From the 2025 season table, compare Rory McIlroy and Tommy Fleetwood on SG per round (with SE), wins and ESPN earnings. Which one "had the better season", and how confident are you?
Answer
McIlroy +2.29 over 58 rounds (SE 0.37), Fleetwood +2.17 over 74 (SE 0.28): difference +0.12, z = 0.26, statistically indistinguishable. McIlroy won 3 times to Fleetwood's 1; Fleetwood earned more by ESPN's figures ($18.50M against $16.92M). On skill per round they were level; on results McIlroy had the better year. The honest answer names the measure.
C.8 ⭐⭐⭐ — Build your model: who does the wrong filter hurt? Compare each player's career SG:Total in the canonical table with the table that wrongly drops the four par_ok-False events (td.canonical_sg(include_bad_par=False)), for players with at least 100 rounds. Who moves most, and in which direction?
Answer
The largest moves are Joey Snyder III (−0.143 per round when the four events are dropped) and Darren Clarke (−0.127), then Gene Sauers (−0.067), Hank Kuehne (+0.066) and J.L. Lewis (−0.065). Both directions occur. The filter removes good weeks for some players and bad weeks for others, so its effect on any one player is unpredictable without running it.
Part D — Judgment ⭐⭐⭐
D.1 A betting newsletter writes: "Player X ranks 4th in SG: Approach this season, so back him at a second-shot course." List the questions you'd ask about the number (source, baseline, rounds, majors) and what you could check with free data.
D.2 You're asked to build a "best players of 2026" list for a club newsletter. Using Figure 31.7, decide how many players you can rank with confidence, and how you'd present the rest. Write the two sentences that go under the table.
D.3 Coach Tasha's student tracks his rounds in an app and has quietly deleted three rounds he "didn't finish properly" this year. His average looks two strokes better than his handicap suggests. Using §31.8, explain to him (kindly) what has happened, and what he should do with his data from now on.
D.4 Dev wants to include every 2026 Open entrant in a forecast. Some have 4 rounds in the database in the last year. Decide among three policies: (a) use the Bayesian rating as is; (b) widen those players' uncertainty by a recency rule; (c) leave them out of any bet. Defend your choice in a paragraph, using the numbers from §31.9 and Case Study 2.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M.1 (with Chapter 14) The 2026 table's third to tenth places are separated by 0.15 strokes. Using Chapter 14's idea of regression to the mean, predict roughly how next season's order of those eight players will compare with this season's. What season-to-season correlation from this chapter supports your answer?
M.2 (with Chapter 17) Chapter 17 found that the five ESPN statistics explain 81.9% of the variance in season SG:Total. This chapter found that GIR is one of the least persistent of them (0.49). Reconcile the two findings in a short paragraph.
M.3 (with Chapter 2) Chapter 2's validate_shots checks your own shot data for problems such as a hole that never finishes. Write down three checks from this chapter's audit_snapshot that have a direct equivalent for an amateur's shot or scorecard data, and say what each would catch.
M.4 (with Chapter 32) Chapter 32's ratings decay by rounds, not days. Using §31.9, explain why that design choice matters more since 2023 than it did in 2019, and sketch a fix.
M.5 (with Chapter 10) Chapter 10 defined SG:Total relative to an average PGA TOUR player-round of the same calendar year. If ESPN's snapshot had included LIV events with no overlap with TOUR players, what would go wrong with that zero point?
Part E — Research & Extension ⭐⭐⭐⭐
E.1 — A second cross-check. Find another published ShotLink aggregate (a hole scoring average, a ball-in-water count, a proximity figure that implies a scoring average) in PGA TOUR media material. Compute the corresponding number from ESPN's hole scores and report how closely they agree. Cite your source exactly, with its date, and state its confidence.
E.2 — Identity resolution. For the 16 shared names whose ids both have SG rounds, decide for each whether you think the ids are the same golfer. Use career spans, countries and whether the two ids ever appear in the same event (if they do, they can't be one person). Report your decisions and your evidence, and say how many you can't resolve from this data.
E.3 — A days-aware rating. Modify a decay-weighted rating so that weights decay with calendar time as well as rounds (for example, $w = 0.5^{k/40} \times 0.5^{d/365}$, where $d$ is days since the round). Recompute the 2026 Open field's ratings and their uncertainties. Report which players' intervals change most, and whether the change brings the stated precision closer to the "last 365 days" check in Case Study 2.
Answer Guide: Parts A, D and M
Part A
A.1 Results (every tour, results sites; free via ESPN); round and hole scores (tours, redistributed by ESPN; free 2004–2026); tournament statistics (tours, redistributed by ESPN; free 2015–2026); shot-level records (the PGA TOUR's ShotLink; no free source, aggregates only); derived models (the TOUR's official strokes gained, DataGolf and others; this book builds its own from the free layers).
A.2 The system first appeared around 2001 (MED: sources disagree on whether it covered every event before 2003). Research-grade data begins in 2003 (HIGH, Broadie 2012). "Strokes gained since 2003" confuses the data with the statistic. The data reach back to 2003, but SG: Putting became an official statistic only in May 2011.
A.3 A long, wild driver who is excellent on par 3s with irons will see the par-3 skill credited to Approach, not Off-the-Tee, and his tee number reflects only the par-4 and par-5 drives. Conversely, a player who is ordinary from the fairway but superb with mid-irons from the tee on par 3s will have an SG: Approach that flatters his fairway iron play.
A.4 None of those details is in this book's sourced references, and all of them change over time. Before adding them you'd need a dated, citable source (the company's own current terms or a published report) and a note of when you checked.
A.5 Field strength is the mean ability of the players in a course-round, in strokes per round relative to an average PGA TOUR player-round that year. Raw SG measures how much better you scored than the players actually there. Adding their mean ability converts that to "better than an average field".
A.6 Real: majors invite amateurs, club professionals and qualifiers. Artefact: some strong entrants have few rounds in the database, so the model shrinks their abilities toward the tour average, which pulls the measured strength down.
A.7 The probability that a value is missing depends on the value itself. ESPN coded only quadruple bogeys or worse as OTHER, and the early build dropped exactly those holes, so the missing data were systematically the worst scores.
A.8 Seventeen names belong to 34 different ids, and 302 ids have no name. A name join can merge two golfers or lose one. Keep shared-name ids separate by default and resolve identity by hand when it matters, recording the decision.
A.9 The four events' hole pars are wrong, so any statistic relative to par (birdie rates, scoring to par) is wrong there. Their strokes are right, and SG:Total needs only strokes and the field, so removing them from SG throws away good data and moves real players' numbers.
A.10 Persistence says a statistic measures something stable about the player. Importance says how much that thing moves the score. Distance is stable because it's close to a physical trait, but its effect on scoring is small per yard and is partly offset by accuracy. GIR is less stable but tracks scoring closely.
Part D
D.1 Which source (pgatour.com's ShotLink-based stat, a subscription site, an app)? Which baseline and which category rules (par-3 tee shots count in Approach)? How many rounds, and what's the uncertainty? Are the majors included? With free data you can check the player's SG:Total in the season table (is his total consistent with an elite approach game?), his GIR from ESPN's statistics, and whether "second-shot course" fit has any out-of-sample value (Chapter 33 finds very little).
D.2 Only the top one or two players are clearly separated (Scheffler's interval barely overlaps McIlroy's, and the rest overlap almost completely). A fair presentation ranks those two and lists the next group alphabetically or with intervals: "Places 3 to 20 are separated by less than the uncertainty in any one season. Treat them as a group of roughly equal seasons, not a strict order."
D.3 Deleting the rounds he didn't finish properly is the same mistake as the early build's: the missing rounds were his worst ones, so his stored average is flattered, and the flattery grows with the share deleted. Two strokes is plausible if the deleted rounds were very bad. From now on he should record every hole, mark unfinished rounds as unfinished rather than deleting them, and let the handicap system's rules (not his feelings about a round) decide what counts.
D.4 Any of the three can be defended, but (a) is the weakest. The model's stated ±0.8 for players with 10 recent rounds rests on old rounds counted as if they were fresh. Option (b) keeps them in the field (they still affect everyone else's probabilities) while being honest about uncertainty. Option (c) is sensible for betting on those players, but not for simulating the field. A good answer uses both: simulate everyone with widened uncertainty for the low-recency group, and don't take positions on players whose recent half-width exceeds about ±1.5 strokes.
Part M
M.1 Expect a substantial reshuffle. Season SG:Total carries over at r ≈ 0.71 for regulars, with a slope of about 0.79 in this book's computed numbers, so about a fifth of a season's deviation from average fades by the next year. For players near +1.7, that's roughly a third of a stroke each, far more than the 0.15-stroke gaps between them, and the fading isn't the same for every player. Their order next season will look close to random among themselves, though the group as a whole will stay well above average.
M.2 Explaining variance in the same season and persisting across seasons are different questions. A season's GIR moves with that season's scoring, because both are driven by the same approach shots and the same courses. Much of that shared movement is the season's luck and schedule, which doesn't repeat, so GIR can explain a lot within a season and still persist only moderately.
M.3 Examples: (1) key uniqueness, so no duplicated hole or shot numbers in a round, which catches double-entered holes; (2) completeness, so each round has 18 (or 9) holes summing to the score, which catches skipped blow-up holes; (3) plausibility ranges, such as score per hole between 1 and about 12 and putts no more than strokes, which catch typing errors; (4) foreign keys, so every round's course exists in your course table, which catches renamed courses.
M.4 Since 2023 a group of established players appear in the data only at majors, with a few rounds a year. Decay by rounds treats their 2022 rounds as nearly as recent as last week's, so their ratings stay confident on old evidence. In 2019 nearly every strong player was a regular and rounds and days moved together. A fix adds calendar-time decay (Exercise E.3), or inflates the posterior SD by elapsed time, as a state-space model does.
M.5 The zero point is set by averaging over all player-rounds in a year. If LIV rounds had no overlap with TOUR rounds, the model couldn't tell whether LIV fields were stronger or weaker than TOUR fields, because the two groups' scales would be unlinked. The pooled average would mix two separate scales, and the year's zero point would depend arbitrarily on how many rounds each tour contributed.