Chapter 16 Exercises — Scoring Probability

Difficulty: ⭐ recall and concepts · ⭐⭐ calculation · ⭐⭐⭐ data, code and judgment · ⭐⭐⭐⭐ research and extension

Numbers labelled REAL come from ESPN PGA TOUR hole-by-hole data (2004–2026, the four events with wrong ESPN pars excluded). Numbers labelled SIMULATED come from golfkit.shotsim with the seeds stated. The scripts in code/ reproduce every answer; code/07_exercise_answers.py holds the ones not printed elsewhere.


Part A — Concepts ⭐

A1. In your own words, what is the difference between a hole's average score and its score distribution? Give one decision for which the average is enough and one for which it isn't.

A2. Define an absorbing state. In the Markov model of a golf hole, what is the absorbing state, and why must every other state eventually lead to it?

A3. State the Markov property for a golf hole in one sentence. Name two things a real golfer's next shot might depend on that a lie-and-distance state ignores.

A4. What does the entry $N_{ij}$ of the fundamental matrix $N = (I - Q)^{-1}$ mean in golf terms? Why is the expected score from state $i$ the sum of row $i$ of $N$ when every stroke costs exactly one?

A5. On a par 4, after one stroke, which probability $P_m$ (hole out within $m$ more strokes) is your chance of birdie or better? Of bogey or better?

A6. Why does the logistic model of birdie odds use log-odds rather than fitting a straight line to the birdie percentage?

A7. The 2023 Sanderson Farms 18th and the 2011 Byron Nelson 11th both averaged about 4.10. Explain, without numbers, how two holes can share an average and still be very different holes.

A8. Why does variance matter so much more in match play than in stroke play?

A9. The scoring-probability map of the water-right par 4 shows the left and right rough as equally good. Is that a property of the hole or of the model? Explain.

A10. What does the World Handicap System's net double bogey do to the right tail of your score distribution, and for which purpose?

Model answers (Part A)

A1. The average is the probability-weighted mean score; the distribution is the full list of probabilities of each score. The average is enough for stroke-play expected totals ("how many strokes does this hole cost the field?"). It isn't enough for match play, for a birdie prop, or for deciding whether a hole is "safe" for a player protecting a lead, because those depend on specific outcomes.

A2. A state the chain can enter but never leave. On a golf hole it is "holed". Every other state leads to it because every hole is eventually finished: from any position, there is a positive chance of holing out within a finite number of strokes.

A3. The next shot's outcome depends only on the ball's current lie and distance, not on how it got there. Things it ignores: the side of the hole (water left or right), the angle into the green, the golfer's state of mind after a bad shot, fatigue, a strategy change after a big number.

A4. $N_{ij}$ is the expected number of times a ball starting in state $i$ is played from state $j$ before it's holed. The expected strokes is the expected number of strokes played, which is the expected total number of visits to all transient states: row $i$ of $N$ summed (times 1 stroke each).

A5. Birdie or better: $P_2$ (finish in 3 total). Bogey or better: $P_4$ (finish in 5 total).

A6. Probabilities are bounded by 0 and 1; a straight line would predict negative birdie rates on long holes. Log-odds are unbounded, and a linear model in log-odds produces a curve that flattens near 0 and 1, which is how birdie odds behave. The slope also has a clean reading: a constant multiplicative change in the odds per yard.

A7. One produces nearly all pars (a narrow distribution); the other produces more birdies and more doubles (a wide one). The extra birdies and the extra doubles cancel in the average.

A8. Stroke play adds up strokes over 72 holes, so only the expected total matters (variances barely move the total's spread). Match play scores each hole as win, halve or lose, so the probability that your score is lower than your opponent's depends on the shapes of both distributions; widening yours can raise or lower that probability depending on where your opponent is.

A9. Of the model. The state is lie × distance, so "rough, 150–175 yards" pools both sides. On the real hole (and in the direct simulation), the right rough, with water between it and a right pin, should be worse.

A10. It caps the score you post on a hole at par + 2 + strokes received, trimming the right tail for handicap purposes only. Your actual score in a stroke-play competition is not capped.


Part B — Calculations ⭐⭐

B1. Expected score from shares. A par 4 on tour has these score-type shares (REAL band 450–474 yd): eagle+ 0.0%, birdie 12.5%, par 64.9%, bogey 19.8%, double+ 2.8%. Treat double+ as exactly +2. Compute the expected score and compare it with the band's real average of 4.132.

Solution

$E = 3(0.125) + 4(0.649) + 5(0.198) + 6(0.028) = 0.375 + 2.596 + 0.990 + 0.168 = 4.129$. The real average is 4.132: the small gap is the triples and worse hidden inside "double+".

B2. Logistic odds. The par-3 logistic fit (REAL) has intercept −1.702 at 175 yards and slope −1.025 per 100 yards. Compute the fitted birdie-or-better probability at 175 and at 225 yards. What is the odds ratio for those 50 yards?

Solution

At 175: $p = 1/(1 + e^{1.702}) = 0.154$ (15.4%). At 225: log-odds $= -1.702 - 1.025 \times 0.5 = -2.2145$, $p = 1/(1 + e^{2.2145}) = 0.098$ (9.8%). Odds ratio $= e^{-0.5125} = 0.599$ (= 0.774², two 25-yard steps).

B3. A hole by hand. A short par 4 has four transient states with these 🧪 illustrative probabilities. Tee → wedge position 0.70, rough 0.30. Wedge → long putt 0.50, short putt 0.45, holed 0.05. Rough → long putt 0.60, short putt 0.30, wedge 0.10. Long putt → short putt 0.92, holed 0.08. Short putt → short putt 0.12, holed 0.88. Compute E from each state, starting with the short putt.

Solution

$E_S = 1/0.88 = 1.136$. $E_L = 1 + 0.92(1.136) = 2.045$. $E_W = 1 + 0.50(2.045) + 0.45(1.136) = 1 + 1.023 + 0.511 = 2.534$. $E_R = 1 + 0.60(2.045) + 0.30(1.136) + 0.10(2.534) = 1 + 1.227 + 0.341 + 0.253 = 2.821$. $E_T = 1 + 0.70(2.534) + 0.30(2.821) = 1 + 1.774 + 0.846 = 3.620$.

B4. Improving one transition. In the chapter's toy par 3 (E from the tee 3.064), the golfer improves the short putt from 90% to 95% made. Recompute $E_S$, $E_L$, $E_M$ and $E_T$. How much is the improvement worth per tee shot?

Solution

$E_S = 1/0.95 = 1.053$. $E_L = (1 + 0.90 \times 1.053)/0.98 = 1.947/0.98 = 1.987$. $E_M = 1 + 0.40(1.987) + 0.55(1.053) = 2.374$. $E_T = 1 + 0.60(1.987) + 0.10(1.053) + 0.30(2.374) = 3.010$. Saving: 0.054 strokes per tee shot (the script prints 3.010; base 3.064). Compare B4 with the chapter's better-chipping variant (3.036): on this golfer's toy hole, short putts are the bigger lever because almost every hole goes through that state.

B5. Match play from two pmfs. Player A scores 3, 4, 5 with probabilities 0.2, 0.6, 0.2; player B with 0.1, 0.8, 0.1. Both average 4. Compute P(A wins), P(halve) and P(A loses). Who would you rather be if you must win the hole?

Solution

Win: A=3 and B≥4: 0.2 × 0.9 = 0.18; A=4 and B=5: 0.6 × 0.1 = 0.06; total 0.24. Halve: 0.2(0.1) + 0.6(0.8) + 0.2(0.1) = 0.52. Lose: 1 − 0.24 − 0.52 = 0.24. Equal win and loss chances: in this symmetric case the wider distribution neither helps nor hurts A against B. Variance only becomes an advantage or a handicap when one player's likely score is better than the other's (§16.8). Script 07 prints win 0.24, halve 0.52, lose 0.24.

B6. Variance and the round. On one hole your two options have SDs of 0.639 and 0.576 strokes. Your round SD is 2.756 strokes with the narrow option. What is it with the wide one (assume independence)?

Solution

Extra variance $= 0.639^2 - 0.576^2 = 0.408 - 0.332 = 0.076$. New SD $= \sqrt{2.756^2 + 0.076} = \sqrt{7.672} = 2.770$. The round SD rises by 0.014.

B7. Birdies per round. A tour course has par 3s of 150, 175, 200 and 225 yards. Using the par-3 fit (B2's coefficients), how many birdies or better does a tour field average per round on those four holes?

Solution

At 150: log-odds $-1.702 + 0.256 = -1.446$, $p = 0.191$. At 175: 0.154. At 200: $-1.958$, $p = 0.124$. At 225: 0.098. Sum: 0.191 + 0.154 + 0.124 + 0.098 = 0.567 birdies-or-better per round on the par 3s. (Script 02 prints 19.1% at 150 and 12.4% at 200.)


Part C — Data & Code ⭐⭐–⭐⭐⭐

C1. Build your model ⭐⭐. Build a Markov chain for Golfer.from_handicap(10) on hole 1 of the demo member course (holes.demo_course("member")[0], a 400-yard par 4) with yardbook.scoring_odds.build_chain(g, hole, n=20000, seed=1650). Report the score distribution from the tee and from the fairway and the rough at 150 yards after one stroke. Expected shape: bogey the most likely score from the tee; par odds from the fairway about twice those from the rough.

Answer (SIMULATED, seed 1650)

From the tee: average 4.889; birdie 2.3%, par 31.8%, bogey 46.1%, double+ 19.7%. Fairway 150 after 1: average 4.675, par-or-better 43.0%, double+ 11.4%. Rough 150 after 1: average 5.109, par-or-better 24.0%, double+ 26.8%. The rough costs this golfer 0.43 strokes from 150 yards on this hole and more than doubles the double-bogey rate.

C2. Compare two players ⭐⭐. Build chains on the same hole for Walt Kowalczyk and Coach Tasha Nguyen (cast.get_cast_member, seeds 1651 and 1652, 20,000 plays). Compare their score distributions from the tee and from the fairway at 150 after one stroke, and their up-and-down odds (within 2 more strokes) from sand and rough at 10–20 yards. Which part of each golfer's game does the comparison expose? Expected shape: Walt's tee distribution much worse than his fairway-150 distribution; Tasha's short-game odds far above Walt's.

Answer (SIMULATED)

Walt: tee average 5.582 (par 10.9%, double+ 49.0%); fairway 150 after 1: 5.010 (par-or-better 27.9%). The 0.57-stroke gap is what his tee shots cost him on average compared with a drive that finishes in the fairway 150 out; with a mean drive of 186.4 yards in his simulated rounds (Chapter 15), a 400-yard hole usually leaves him much farther back than that. Sand 15: 10.7% up-and-down, rough 15: 16.1%. Tasha: tee 4.431 (par 52.6%, double+ 5.8%); fairway 150: 4.342 (par-or-better 63.3%); sand 15: 32.4%, rough 15: 40.0%. Tasha's short game is the clear strength (her cast quirk is a 0.75× short-game error); Walt's weakness shows up in the gap between his tee and fairway-150 distributions.

C3. Analyze a real event ⭐⭐⭐. Use golfkit.data.hole_scoring(event_id=...) on the 2025 Masters (data.event_lookup("Masters", year=2025)). Rank the eighteen holes by average to par and, separately, by double-or-worse share. Which hole has the biggest gap between the two rankings, and what does that say about it? Expected shape: the hardest hole by average is a long par 4; at least one par 5 that plays under par is near the top of the double-bogey ranking.

Answer (REAL)

By average: the 5th (par 4, 495 yd, 4.324, +0.324) is hardest, then 18, 11 and 17. By double-or-worse share, the 15th (par 5, 550 yd) is first at 4.7% even though it averaged 4.926, under par (14th of 18 by average, with 28.0% birdie-or-better). The 12th and 11th tie for second (4.4%). The 15th is the clearest "wild" hole: a reachable par 5 with water in front of the green gives up both birdies and big numbers. The 6th (par 3) had no doubles at all.

C4. Build your model: has the slope changed? ⭐⭐⭐. Refit the par-4 logistic model of §16.2 on 2019–2026 only (data.hole_scoring(years=range(2019, 2027))). Compare the intercept, slope, odds ratio per 25 yards and fitted birdie rates at 350 and 450 yards with the full-period values (27.6% and 13.7%; OR 0.803). Expected shape: higher birdie rates at every length; a similar odds ratio.

Answer (REAL)

2019–2026: 4,079 event-holes, 1,425,632 scores; intercept −1.527, slope −0.900 per 100 yd (SE 0.012), odds ratio per 25 yd 0.799; P(350) 29.9%, P(450) 14.8%. Birdies are about 1–2 points more likely at each length than the 2004–2026 pooled fit says, but the rate at which length cuts the odds is essentially unchanged. For a current-season model, use the recent fit (or add a year term).

C5. Optimize your target ⭐⭐⭐. Play Golfer.from_handicap(15) on holes.demo_hole("water_right_par3") 100,000 times with policy="pin" (seed 1653) and with policy="center" (seed 1654). Compare means (with SEs), score-type shares and water balls per play. Is this a "same mean, different distribution" case, as it is for the tour preset? Expected shape: the centre policy lowers the mean by a few hundredths; the birdie shares barely differ.

Answer (SIMULATED)

Pin: 4.318 (SE 0.0043), SD 1.362, birdie 2.3%, par 27.2%, bogey 34.6%, double+ 35.8%, 0.222 water balls per play. Centre: 4.286 (SE 0.0042), SD 1.324, birdie 2.2%, par 27.7%, bogey 35.1%, double+ 34.9%, 0.212 water balls. The centre policy is 0.032 strokes better: about 5 SEs of the difference, so it's real. Unlike the tour preset, the 15-handicapper gains almost no birdies from aiming at the pin (2.3% vs 2.2%) and pays in water and doubles. For this golfer it's not a variance trade at all; the centre is simply better.

C6. Build your model: a family chain ⭐⭐⭐. Simulate 4,000 rounds of Golfer.from_handicap(20) on the demo member course (choose your own seed and state it), build MarkovHole.from_shots(shots), and use scoring_odds.state_probabilities(chain, 3) to find the 20-handicapper's par line: the largest fairway distance at which P(within 3 more strokes) is still at least 50%. Compare with the 15-handicap preset's (about 100 yards in §16.6). Expected shape: a shorter par line than the 15's. Report your seed and the bucket.

C7. Decode your own data ⭐⭐⭐. If you track your shots, export them in yardbook's shot schema (Chapter 15's importers.py) and build MarkovHole.from_shots(my_shots). List the five states you visit most and their $E$ and $P_2$ values. For each, compare with the nearest handicap preset's family chain. How many visits does each of your states have, and which of your numbers would you not trust yet? Expected shape: states with fewer than about 30 visits give unstable probabilities; your green states will be the best estimated.

C8. Design your practice plan ⭐⭐⭐. Using the toy-chain method of B4 (or yardbook.scoring_odds with a modified golfer via Golfer.with_(...)), compare two 🧪 practice outcomes for a golfer: (a) short putts made 5 points more often; (b) chips leaving 10 points more short putts and 10 fewer long putts. Which saves more strokes per hole, and why does the answer depend on how often each state is visited (the fundamental matrix's tee row)?


Part D — Judgment ⭐⭐⭐

D1. The water par 3 in a medal round. You play to a 15 and you're on the 165-yard water-right par 3 in a stroke-play club championship, with nothing special at stake on this hole. A playing partner says "go at the flag, you need birdies". Using C5's numbers, what do you say?

D2. Dormie. Match play, you're 1 up with one to play (dormie: a halve wins the match), on a par 5 with a pond in front of the green. Your opponent has hit his second shot into the pond. You're in the fairway 230 yards out. Which plan do you choose, and what would make you change it? (Case Study 2 has numbers for a similar spot.)

D3. The coach's script. A 10-handicap student is upset about making bogey on a 400-yard par 4 three times in a round. Using §16.7's table, write the two-sentence explanation Coach Tasha might give, and the one thing she'd tell the student to work on instead.

D4. A birdie prop. A friend offers you even money that the leader will birdie a 455-yard par 4 tomorrow. What does the logistic model say about the base rate, what does it not know about tomorrow, and would you take the bet? (No bookmaker prices are in this book's data; reason from probabilities only.)

Discussion notes (Part D)

D1. For the simulator's 15-handicapper, aiming at the pin costs about 0.03 strokes per visit (4.318 vs 4.286) and gains almost no birdies (2.3% vs 2.2%). In stroke play you want the lower mean, so aim at the centre. "You need birdies" is wrong at that level: you need fewer doubles.

D2. A halve wins, so maximise P(win) + P(halve). With the opponent lying three after a drop, his likely score is worse than your typical one, so the low-variance plan (lay up) is the default, as in Case Study 2 where laying up raised Emma's win-or-halve odds from 95.3% to 96.7%. You'd change your mind if the opponent's likely score improved (say, he drops close and has a good angle) or if your lay-up shot is the riskier one for you.

D3. "For a 10, bogey is the most likely score on a hole like that: the simulator's 10-handicapper makes bogey 45% of the time and par 32%. Three bogeys is a normal round; what costs you is the double, which happens one hole in five." Work on avoiding doubles: centre-of-green targets, a reliable lag putt, and getting out of bunkers in one.

D4. The 2004–2026 fit gives about 12–13% for a 455–465-yard par 4 for an average field player (13.7% at 450 yd, 11.3% at 475); the recent fit (C4) is a point or so higher, and a leader is a better-than-average player, but nowhere near 50%. The model doesn't know tomorrow's tee position, wind or pin. Even money on a 15% event is a bad bet for you; at 12–15% you'd need odds of roughly 6 to 7 to 1 just to break even.


Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐

M1. Chapter 10 + this chapter. Using the tour family chain (§16.6), price a shot from fairway 150–175 (E 2.987) to the rough 10–20 yards (E 2.443). What is its strokes gained against the chain's own expectations? Then explain why the average strokes gained of all shots from a state, against that golfer's own chain, is zero.

Hint

2.987 − 2.443 − 1 = −0.456. The one-step equation $E_i = 1 + \sum_j Q_{ij}E_j$ says the expected drop in E from a state equals one stroke.

M2. Chapter 12 + this chapter. Chapter 12 built baselines from bucket averages; this chapter got the same values from a chain. Using script 03's output, find the state with the largest absolute difference from Broadie's table among states with at least 200 visits, and suggest one reason for it.

Hint

Rough 175–200 yards: chain 3.249 vs Broadie 3.349 (−0.099). Possible reasons: the midpoint comparison (balls not evenly spread within the bucket), the simulator's rough model at that distance, few visits (248).

M3. Chapter 14 + this chapter. A tour player's round SD is about 2.76 strokes. Using the par-4 event-hole mean SD (0.642), explain why a player who "made five birdies today" may simply have had a good draw, and estimate how much of the round-to-round SD a single hole contributes.

M4. Chapter 15 + this chapter. Rosa's tracked rounds (Chapter 15) are SIMULATED shot files in yardbook's schema. Build a chain from her default 20 rounds (cast.cast_rounds("rosa")), and compare her fairway-150 state's $E$ and number of visits with the chain from 30,000 simulated plays in the Project Checkpoint. What does the comparison say about how many rounds an amateur needs before a personal chain is useful?

M5. Chapter 18 preview. On the water-right par 4, the map can't tell left rough from right rough. Using golfkit.targeting.expected_strokes from a right-rough coordinate and a left-rough coordinate at the same distance, measure the difference the map misses.

M6. Chapter 13 + this chapter. Chapter 13 decomposed strokes gained by sub-category (for example putting by distance band). Which rows of state_probabilities(chain, 1) would you use to build a "make percentage by distance" table for a golfer, and how would you turn them into a putting sub-category profile?


Part E — Research & Extension ⭐⭐⭐⭐

E1. A side-aware state. Extend the Markov state to (lie, distance bucket, side of the hole relative to the nearest hazard). Rebuild the chain for the tour preset on water_right_approach_par4, compare its check_against_simulation error with the plain chain's, and redraw the par map. Does the right rough now read worse?

E2. Real Markov chains for putting. Fearing, Acimovic and Graves (2011, Journal of Quantitative Analysis in Sports; see data/reference/strokes_gained_history_and_findings.md) used a Markov chain with fitted make probabilities and leave distances to model putts-to-go on the PGA TOUR. Read the paper and build a green-only chain from the putting model in golfkit.shotsim (or a fitted putter from Chapter 8). Compare the three-putt rate from 40 feet with the chain's prediction, and with the published tour three-putt rates in data/reference/esc_one_three_putt_pct.csv (note its confidence tag).

E3. Course-specific birdie models. Add course fixed effects (or a random effect per course) to the par-4 logistic model. Which courses give up the most birdies relative to their card length, and how stable is that ranking from year to year? Discuss what the model still can't see (setup, wind, tee moves).