72 min read

Royal Birkdale, July 2008. The sixth hole on the card is a 499-yard par 4, and for four days of the Open Championship it does something a par 4 almost never does on a professional tour: it makes bogey the normal score. ESPN's hole-by-hole record...

Chapter 16 — Scoring Probability: Markov Chains, Hole-by-Hole Score Distributions, and the Odds from Any Position

Royal Birkdale, July 2008. The sixth hole on the card is a 499-yard par 4, and for four days of the Open Championship it does something a par 4 almost never does on a professional tour: it makes bogey the normal score. ESPN's hole-by-hole record holds 474 scores on that hole that week. Ten were birdies. 160 were pars. 244 were bogeys. Another 60 were double bogey or worse, including one 8. The field averaged 4.764, three-quarters of a stroke over par, and among the 16,000-odd event-holes in this book's data with at least 100 scores it is the hardest hole there is.

Now fly to Maui. The fifth at Kapalua's Plantation Course is a 526-yard par 5 on the card, and at the 2023 Sentry Tournament of Champions its 153 scores averaged 4.065. That's almost a full stroke under par, and 85.6% of the scores were birdie or better. It is the easiest event-hole in the data.

Those two numbers, 4.764 and 4.065, are what most golf statistics give you: an average. And the average is a perfectly good summary if what you want to know is "how many strokes will this hole cost the field?" But it isn't what a player standing on the tee feels, and it isn't what a match-play opponent cares about, and it isn't what a bettor pricing a birdie prop needs. They all care about the distribution: how likely is a birdie, how likely is par, how often does this hole hand out a 6? Birkdale's 4.764 is not "most players made 4.764". Nobody can make 4.764. It is a blend of 33.8% pars, 51.5% bogeys and 12.7% doubles-or-worse, and those proportions are the real hole.

This chapter is about that real hole. We'll do three things with it.

First, we'll look at what tour hole scores actually look like, using every PGA TOUR hole score in ESPN's public data from 2004 to 2026: more than seven million of them. How often does a tour player birdie a par 3? How fast do the odds fall as a par 4 gets longer? What makes a hole "hard", the average or the tail?

Second, we'll build a model that produces the whole distribution from any position on a hole, not just from the tee: the absorbing Markov chain. The chain treats a hole as a set of states (in the fairway 150 yards out, in a greenside bunker, on the green 20 feet away) and a table of the chances of moving from one to another with each stroke. From that table, a few lines of linear algebra give the expected strokes from every state, and a short recursion gives the probability of holing out in exactly one, two, three or more strokes. That turns into scoring-probability maps: your odds of making par or better from every spot on the hole.

Third, we'll use the distributions to show something an average can't: two strategies with the same expected score can be very different bets. On one of this book's simulated par 3s, aiming at the flag and aiming at the middle of the green cost a tour-level golfer the same 3.00 strokes on average, but one strategy makes 23% more birdies and 43% more doubles. In stroke play that difference barely matters. In match play, where only the comparison with your opponent's score counts, it can decide which shot you should hit, and the answer changes with where your opponent's ball is.

Throughout, the tour numbers are REAL (ESPN hole-by-hole data, which you can download), and every shot-level number is SIMULATED with golfkit.shotsim from a fixed seed, so you can rerun it and replace it with your own data.

Learning paths for this chapter

⛳ Golfer: Read §16.1–16.3 (what scores really look like), skim the maths in §16.4–16.5, then read §16.6 (scoring-probability maps), §16.7's "what's normal at your level" table, and §16.8 (same average, different risk). The 📋 scenarios and the ⛳ On-Course Action are the practical core.

📊 Analyst: Everything. The Markov chain (§16.4), the score-distribution recursion and its validation (§16.5), the logistic birdie model (§16.2) and the simulator-vs-tour check (§16.7) are the technical heart. Build yardbook.scoring_odds in the Project Checkpoint.

🏌️ Coach/Fitter: §16.3 (hard holes are wild holes), §16.6 (what a lie is worth to your student) and §16.7 (the score distribution at each handicap) give you the language for "bogey is a good score here". §16.8 is the match-play conversation.

🎰 Betting/DFS: §16.1–16.3 are the base rates behind any hole-score or birdie market: how birdie odds scale with length and how much harder majors' hardest holes are. §16.8's match-play mathematics is the same mathematics as a head-to-head matchup. There are no bookmaker prices in this book's data; we compute probabilities, not edges.


16.1 A Hole Score Is a Distribution

Let $X$ be the number of strokes a player takes on a hole. Before the player tees off, $X$ is a random variable: it will be 3 or 4 or 5 or 6, each with some probability. The list of those probabilities is its probability mass function (pmf), $p_k = P(X = k)$, and the $p_k$ add up to 1. Everything else is a summary of that list. The expected score is the probability-weighted average,

$$E[X] = \sum_k k \, p_k,$$

and the variance measures the spread around it,

$$\operatorname{Var}(X) = \sum_k (k - E[X])^2 \, p_k, \qquad \operatorname{SD}(X) = \sqrt{\operatorname{Var}(X)}.$$

Golfers already think in a coarse version of the pmf: they talk about score types relative to par. In this book (following the definitions in this book's computed hole tables) an eagle or better is two or more under par, a birdie is one under, par, bogey one over, and double bogey or worse ("double+") two or more over. Five buckets are enough to see the shape of almost any hole.

So what does a tour hole score look like? Figure 16.1 pools every PGA TOUR hole score in ESPN's data from 2004 through The RSM Classic in November 2026: 7,326,378 hole scores from 1,027 stroke-play events, excluding four events whose ESPN hole pars are wrong (Bay Hill 2004–06 and the 2005 Booz Allen Classic, where a par 5 is labelled a par 4 and so on). The excluded events would distort any to-par statistic, so the toolkit drops them automatically from every hole-scoring table (the par_ok rule).

# 01_tour_score_distributions.py (excerpt): pool every event-hole by par
from golfkit import data
hs = data.hole_scoring(by_event=True)        # one row per event-hole; drops the 4 bad-par events
hs = hs[hs["par"].isin([3, 4, 5])]
TYPES = ["p_eagle_or_better", "p_birdie", "p_par", "p_bogey", "p_double_plus"]
for par in (3, 4, 5):
    s = hs[hs["par"] == par]
    w = s["n"]                               # weight each event-hole by its number of scores
    avg = (s["avg"] * w).sum() / w.sum()     # hole-score-weighted average strokes
    shares = {t: (s[t] * w).sum() / w.sum() for t in TYPES}
    print(par, round(avg, 3), {t: round(100 * v, 1) for t, v in shares.items()})

The book's full table, which also attributes holes in multi-course pro-ams to their course, gives the following (our rebuild with the excerpt above lands within 0.001 stroke of it):

Par Hole scores Average (95% CI) Eagle+ Birdie Par Bogey Double+ Birdie or better
3 1,648,294 3.074 (3.070–3.078) 0.0% 13.0% 68.7% 16.4% 1.9% 13.0%
4 4,382,183 4.055 (4.052–4.058) 0.1% 16.1% 64.6% 16.9% 2.3% 16.2%
5 1,295,901 4.671 (4.665–4.677) 2.3% 39.7% 48.4% 8.2% 1.4% 42.0%

Figure 16.1 — Score-type distribution of every PGA TOUR hole score, 2004–2026, by par

📊 Figure (described): Grouped bars for five score types (eagle or better, birdie, par, bogey, double or worse) with one bar each for par 3s (blue), par 4s (orange) and par 5s (green). Par dominates every hole type: 68.7% of par-3 scores, 64.6% of par-4 scores and 48.4% of par-5 scores. Birdies are 13.0% on par 3s, 16.1% on par 4s and 39.7% on par 5s. Bogeys are about one in six on par 3s and 4s (16.4% and 16.9%) but only 8.2% on par 5s. Doubles-or-worse are rare everywhere (1.9%, 2.3%, 1.4%), and eagles appear only on par 5s (2.3%). Source note: ESPN PGA TOUR hole-by-hole scores, 2004–2026, par_ok events.

Three things jump out.

Par is the mode everywhere, but par 5s are a different game. On par 3s and 4s, a tour player makes par about two times in three and the rest splits almost evenly into birdies and bogeys. That's why tour par 3s and 4s average a few hundredths over par: 3.074 and 4.055. On par 5s birdie-or-better (42.0%) is almost as common as par (48.4%), and the hole averages 4.671, a third of a stroke under. If you want to know where tour scoring comes from, a large part of it is here: on a par-72 course with four par 5s, those holes alone hand the average player about 4 × 0.33 = 1.3 strokes under par per round. That's arithmetic from the table, not a separate measurement, but it's the reason "par 72" on tour is really something like a par 70 with four bonus holes.

Bogeys are as common as birdies on par 3s and 4s. A tour par 4 produces 16.2% birdie-or-better and 19.2% bogey-or-worse (16.9 + 2.3). Getting through a round at even par means riding out roughly as many bogeys as birdies. One consequence: a tour player's round score is the sum of eighteen small random variables, each with a standard deviation of a bit more than half a stroke, which is why one round tells you so little about a player (Chapter 14's theme, and we'll do the arithmetic in §16.3).

Big numbers are rare but not negligible. Double bogey or worse is 1.9% on par 3s and 2.3% on par 4s. That sounds tiny. But a tour round has about ten par 4s and four par 3s, so a typical player expects about 10 × 0.023 + 4 × 0.019 ≈ 0.31 doubles per round. One every three rounds. The tail of the distribution is where a round goes wrong, and §16.3 will show that hard holes are hard largely because of the tail.

🧩 Productive Struggle

Before you read §16.2, guess. Which gives a tour player the better chance of birdie or better: a par 3 under 150 yards on the card, or a par 4 under 350 yards? And by how much? Write down a number for each. Then ask: what does the par-4 golfer have that the par-3 golfer doesn't? (Hint: think about how many shots the player gets to recover from a mediocre one, and how short the approach can be.)

⚠️ Common Pitfall: reading an average as a typical score.

"The 6th played to a 4.76" invites you to imagine a field mostly making 5s with a few 4s. In fact a third of the field made par. An average can sit where very few scores fall. When you plan for a hole (or price a bet on it), ask for the distribution: the share of pars and the share of big numbers. An average of 4.10 can be a dull hole where everyone makes 4 or a volatile one where 20% make birdie and 5% make double. We'll find two real tour holes exactly like that in §16.3.

🔄 Check Your Understanding

  1. From the par-5 row, compute the expected score from the shares alone, treating eagle+ as 3, birdie 4, par 5, bogey 6 and double+ as 7. Why does your answer come out slightly below 4.671?
  2. A course has four par 3s, ten par 4s and four par 5s. Using the tour shares, how many birdies-or-better per round does a typical tour player expect?
  3. Why is the 95% interval on the par-4 average so narrow (4.052–4.058), and why does this book warn that such intervals are optimistic?

Answers

  1. 0.023×3 + 0.397×4 + 0.484×5 + 0.082×6 + 0.014×7 = 0.069 + 1.588 + 2.420 + 0.492 + 0.098 = 4.667. It is slightly low because "double+" includes triples and worse (scored here as exactly 7), and "eagle+" includes the very rare albatross, so the bucket midpoints are approximations; the exact average uses every stroke count.
  2. 4 × 0.130 + 10 × 0.162 + 4 × 0.420 = 0.52 + 1.62 + 1.68 = 3.82 birdies-or-better per round.
  3. Because there are 4.4 million par-4 scores. The interval is cluster-robust by event-hole, but scores on one hole in one week still share weather, pin positions and setup, and the field changes over the years; real uncertainty about "the tour's par-4 average" as a population quantity is larger than the sampling error.

16.2 Length and the Odds

Not all par 4s are equal, and the first thing that separates them is length. Figure 16.2 splits every hole score that ESPN can attach to a course card with a yardage (7,137,000 of them, 97.4% of the total) into card-yardage bands.

Figure 16.2 — Score-type distribution by par and card-yardage band, PGA TOUR 2004–2026

📊 Figure (described): Sixteen horizontal stacked bars, one per par × yardage band (five par-3 bands, six par-4 bands, five par-5 bands), each split into eagle+ (dark blue), birdie (green), par (grey), bogey (orange) and double+ (red), summing to 100%. Within each par, the green birdie segment shrinks and the orange bogey segment grows steadily as the band gets longer. Par 3s go from 21% birdies and 10% bogeys under 150 yards to 9% birdies and 22% bogeys at 225+. Par 4s go from 32% birdies under 350 to 9% at 500+, with bogeys rising from 10% to 25%. Par 5s go from 49% birdies (plus 4% eagles) under 525 yards to 30% birdies at 600+. The par share stays in a narrower range (56–69%) on par 3s and 4s.

The shape is clean. Here are the end points from the book's band table (ESPN card yardage):

Par Band Hole scores Average Birdie or better Bogey Double+
3 < 150 yd 57,524 2.927 21.5% 9.5% 2.1%
3 225+ yd 259,457 3.168 8.9% 21.7% 1.9%
4 < 350 yd 199,042 3.794 32.5% 9.7% 1.4%
4 400–449 yd 1,701,426 4.028 16.6% 15.3% 2.0%
4 500+ yd 191,191 4.236 8.9% 25.3% 3.4%
5 < 525 yd 133,990 4.510 53.8% 6.2% 1.3%
5 600+ yd 210,278 4.829 30.8% 10.7% 1.7%

That answers the 🧩: a short par 4 (under 350) gives a tour player 32.5% birdie-or-better, against 21.5% on a par 3 under 150. The par-4 player gets two swings at setting up a birdie putt, and from under 350 yards the second one is usually a wedge.

Notice what length does and doesn't do. It moves birdies and bogeys in opposite directions, but the par share hardly moves on par 3s (66.8–69.1% across the bands) and moves modestly on par 4s. Long holes don't so much stop players making par as swap birdie chances for bogey risk. And doubles barely respond to length on par 3s (about 2% in every band) but do on par 4s, rising from 1.4–1.5% under 400 yards to 3.4% at 500+.

A logistic model for birdie odds

Bands are coarse. To get a smooth curve, this book fits a logistic regression of birdie-or-better against card yardage, separately for each par. The model says the log-odds of a birdie fall linearly with length:

$$\log\frac{p(y)}{1 - p(y)} = \beta_0 + \beta_1 \cdot \frac{y - y_c}{100},$$

where $y$ is the card yardage, $y_c$ a centring yardage (175 for par 3s, 425 for par 4s, 560 for par 5s) and the slope $\beta_1$ is per 100 yards. Inverting gives $p(y) = 1/(1 + e^{-(\beta_0 + \beta_1 (y - y_c)/100)})$.

# 02_birdie_odds_and_hard_holes.py (excerpt): binomial GLM on event-hole aggregates
import statsmodels.api as sm
d = hs[(hs["par"] == 4) & hs["yards"].notna()]
bob = d["p_eagle_or_better"] + d["p_birdie"]             # birdie-or-better share per event-hole
X = sm.add_constant((d["yards"] - 425) / 100.0)          # centred, per 100 yd
fit = sm.GLM(bob, X, family=sm.families.Binomial(),
             var_weights=d["n"]).fit(scale="X2")         # quasi-binomial SEs (scores share conditions)
b0, b1 = fit.params                                      # intercept, slope per 100 yd
print(b0, b1, fit.bse[1], fit.scale)                     # -1.623, -0.879, 0.007, 6.2

The fitted values (REAL, ESPN 2004–2026, attributed hole scores):

Par Event-holes Hole scores Slope per 100 yd (SE) Odds ratio per +25 yd (95% CI)
3 4,636 1,605,602 −1.025 (0.017) 0.774 (0.767–0.781)
4 12,193 4,266,651 −0.879 (0.007) 0.803 (0.800–0.806)
5 3,763 1,264,747 −0.893 (0.021) 0.800 (0.792–0.808)

Reading the odds ratio: every 25 extra yards on a par 4 multiplies the odds of birdie by 0.803. Here's the worked number. At the centre, 425 yards, the log-odds is the intercept, −1.623, so $p = 1/(1 + e^{1.623}) = 0.165$, a 16.5% birdie chance. Add 25 yards: the log-odds falls by $0.879 \times 0.25 = 0.220$ to −1.843, and $p = 1/(1 + e^{1.843}) = 0.137$. So a 450-yard par 4 gives the tour field a 13.7% birdie chance; a 350-yard par 4 gives 27.6%. A hundred yards of length halves the birdie odds.

Figure 16.3 — Birdie-or-better rate vs card yardage with logistic fits, by par

📊 Figure (described): Scatter of observed birdie-or-better percentages in 20-yard card-yardage bins (dot size proportional to the number of hole scores), with a fitted logistic curve per par: par 3s (blue) falling from about 26% at 110 yards to about 8% at 250; par 4s (orange) from about 39% at 290 yards to about 7% at 530, with open circles marking 27.6% at 350 yards and 13.7% at 450; par 5s (green) from about 58% at 490 yards to about 22% at 670. The observed bins sit close to the curves through the main range; the shortest and longest bins, with few holes, scatter more.

The fit is good where most holes are. The book's check of observed against fitted rates by 25-yard bin on par 4s finds them within about a point from 325 to 524 yards (for example 15.5% observed vs 15.1% fitted at 425–449 yards; 12.5% vs 12.6% at 450–474). It's worse at the extremes: par 4s under 300 yards make 41.0% birdies against a fitted 38.2%, because drivable holes are a different animal (the player can reach the green from the tee), and the 1,080 scores on par 4s of 550+ yards are too few and too odd to trust.

Why logistic? Because probabilities live between 0 and 1 and a straight line doesn't. A logistic curve can fall steeply in the middle and flatten near zero, which is what birdie odds do: going from 450 to 475 yards costs 2.4 points of birdie chance (13.7% to 11.3%), but going from 500 to 525 costs 1.7 (9.3% to 7.6%). Each 25 yards costs the same fraction of the odds, not the same number of points.

Has the game changed?

Tour scoring has drifted over the 23 years of data. Here are the end points from this book's year-by-year table:

Calendar year Par-4 average Par-4 birdie+ Par-5 average Par-5 birdie+ Mean par-4 card yards
2004 4.072 15.6% 4.691 40.1% 424.9
2026 4.013 17.9% 4.579 48.2% 438.1

Courses got longer (about 4.5 yards per decade on par 4s, by an OLS trend across the 23 years) and scoring still fell (round to par by about half a stroke per decade). The biggest change is on par 5s, where birdie-or-better rose from about 40% to 48%. But treat that table with care: it mixes changes in which courses the tour visits, who is in the fields, how holes are set up and how far the ball goes. The rows don't separate those causes, and this book doesn't claim they do. What they do say is that a birdie probability is tied to an era. The logistic fit pools all 23 years; a model of birdie odds for this year's tour should add a time term (the book's version with a linear year term gives a positive trend in birdie log-odds per decade for every par) or be fitted on recent seasons.

⚠️ Common Pitfall: treating card yardage as the hole's playing length.

ESPN records each event's card yardage, not the day's setup. Tees move, wind blows, fairways run firm or soft, and a "450-yard" par 4 may have played 420 on Thursday and 470 on Saturday. Elevation is invisible too. So the logistic curve is a relationship between card yardage and birdies, averaged over everything else that happened on those holes. It is the right tool for "what does a typical 450-yard par 4 give up?" and the wrong one for "what will this 450-yard hole give up tomorrow in a 25-mph wind?"

🔄 Check Your Understanding

  1. Using the par-3 odds ratio (0.774 per 25 yards), what happens to the odds of birdie when a par 3 is lengthened from 175 to 225 yards?
  2. A 400-yard par 4 has a fitted 19.7% birdie chance. What are the odds (not the probability)?
  3. Why does the book fit the model with quasi-binomial standard errors (a dispersion of about 6 for par 4s) instead of plain binomial ones?

Answers

  1. 50 yards is two steps of 25: the odds are multiplied by 0.774² ≈ 0.60, a 40% cut in the odds.
  2. 0.197 / 0.803 ≈ 0.245, or about 1 to 4.
  3. Scores on the same hole in the same week share conditions (pin, wind, setup), so event-holes vary more than independent coin flips would. The Pearson dispersion φ ≈ 6.2 says the event-hole rates scatter about six times more than binomial noise allows, and the SEs are inflated by √φ to reflect it.

16.3 Hard Holes, Easy Holes and Wild Holes

What makes a hole hard? The ranking everyone quotes is by average. Here is the top of the book's list of the hardest event-holes (one hole in one event, all rounds pooled, single-course events, at least 100 scores; REAL):

Rank Year Event Hole Par Card yd Scores Average To par (95% CI) Birdie+ Double+
1 2008 The Open, Royal Birkdale 6 4 499 474 4.764 +0.764 (±0.067) 2.1% 12.7%
2 2013 U.S. Open, Merion 18 4 521 454 4.707 +0.707 (±0.070) 2.4% 13.2%
3 2013 U.S. Open, Merion 5 4 504 454 4.707 +0.707 (±0.068) 2.6% 12.1%
4 2010 The Open, St Andrews 17 4 495 466 4.665 +0.665 (±0.078) 3.4% 14.6%
5 2008 PGA Championship, Oakland Hills 18 4 498 457 4.661 +0.661 (±0.070) 3.1% 9.2%

Every one of the top five is a long par 4 at a major. The easiest are all par 5s: Kapalua's 5th at the Sentry takes the top four spots (2023: 4.065, −0.935, 85.6% birdie-or-better; 2021, 2022 and 2024 close behind) and sixth (2025), with Waialae's 9th at the 2024 Sony Open in fifth (4.113). Kapalua 5's numbers are consistent across years, but this book's data can't confirm it as "the easiest hole on tour" without checking against the PGA TOUR's own hole statistics, so we say "the easiest event-hole in this data".

The hardest of each type, from the same table: the hardest par 3 was the 17th at PGA National (The Champion Course) at the 2018 Honda Classic, 3.533; the hardest par 5 a 14th hole at the 2010 U.S. Open, 5.441; the easiest par 4 the 13th at the 2026 Mexico Open, 3.334.

Figure 16.4 — Score distributions of the hardest event-hole (Royal Birkdale 6, 2008), all tour par 4s, and the easiest event-hole (Kapalua 5, 2023)

📊 Figure (described): Three bar charts of the five score types. Left, orange: Royal Birkdale 6 at the 2008 Open (par 4, 499 yards, average 4.764): birdie 2.1%, par 33.8%, bogey 51.5%, double+ 12.7%. Centre, grey: all tour par 4s 2004–2026 (average 4.055): birdie 16.1%, par 64.6%, bogey 16.9%, double+ 2.3%. Right, blue: Kapalua 5 at the 2023 Sentry (par 5, 526 yards, average 4.065): eagle 9.2%, birdie 76.5%, par 13.1%, bogey 1.3%, double+ 0.0%. The two extremes are almost mirror images; the typical par 4 is a tall spike at par.

Look at Birkdale 6 against the typical par 4. Its birdie rate is an eighth of normal (2.1% vs 16.1%), and its bogey rate three times normal. But its double-or-worse rate is five and a half times normal: 12.7% vs 2.3%. Hard holes don't just move the distribution right; they stretch its right tail.

Harder holes are wilder holes

That's not a one-hole curiosity. For each of the 16,074 single-course event-holes with at least 100 scores, script 02_birdie_odds_and_hard_holes.py computes both the average relative to par and the standard deviation of the scores (from the raw hole scores, complete rounds only, par_ok events, multi-course events excluded).

Figure 16.5 — Standard deviation of hole scores vs average to par, every single-course event-hole with n ≥ 100

📊 Figure (described): A cloud of about 16,000 faint points, x = average strokes relative to par (from about −0.9 to +0.75), y = SD of the hole's scores (about 0.4 to 1.1 strokes), coloured by par (blue par 3s, orange par 4s, green par 5s). Within each colour the cloud tilts upward: harder holes have larger spreads. Two par 4s with the same average of about 4.10 are circled: a 505-yard par 4 with SD 0.51 near the bottom of the cloud and a 323-yard par 4 with SD 0.85 near the top.

The correlation between difficulty and spread is clearly positive for every par (REAL, our run):

Par Event-holes corr(to par, SD) Mean SD SD, easiest 10% SD, hardest 10%
3 3,591 0.49 0.602 0.553 0.688
4 9,704 0.42 0.642 0.622 0.716
5 2,779 0.28 0.705 0.653 0.749

🔍 Why Does This Work? Why should hard holes be wilder?

Think about how a score is built. A score can't go below the number of strokes a perfect play takes, but it can go up without limit: water, a lost ball, a bunker you can't get out of, a three-putt. On an easy hole most of the field sits near the floor (a par or birdie), so there's little room to spread. A hard hole has more ways to fail and each failure tends to cost more, because a miss on a 500-yard par 4 leaves a long recovery rather than a chip. More branches leading to bigger numbers means a fatter right tail and a larger SD. Par 5s are the exception that proves the rule: even their "hard" versions give the field room to recover with a third shot, so their spread rises less with difficulty (correlation 0.28).

Same average, different hole

Here is the pitfall from §16.1 made real. Among par 4s with at least 300 scores, script 02 found 187 event-holes whose average is within 0.005 of 4.10, and took the tightest and the widest:

Event-hole (REAL) Card yd Scores Average SD Birdie+ Par Double+
2023 Sanderson Farms Championship, hole 18 505 444 4.099 0.506 7.7% 75.5% 0.7%
2011 HP Byron Nelson Championship, hole 11 323 458 4.105 0.851 19.2% 58.5% 5.5%

Both holes cost the field the same tenth of a stroke over par. One is a long, steady grind where three players in four make 4 and almost nobody makes 6. The other is a 323-yard hole on the card that gave up a birdie to one player in five and a double or worse to one in eighteen. The average is identical. If you need a birdie to win, you want to be playing the second hole. If you're protecting a lead, the first.

Augusta's 12th: feared for its tail

The most famous short par 3 in golf is a good test of "average vs tail". Across all 23 Masters in the data (2004–2026; 6,713 scores), the 12th at Augusta National averaged 3.171 (95% CI 3.134–3.208, clustered by year): only about a tenth of a stroke harder than a typical tour par 3 (3.074). It ranked as the single hardest hole at Augusta in 0 of 23 years, with a median difficulty rank of 8th of 18. So by average, it isn't very hard at all.

Its double-or-worse rate is another matter: 5.9% (95% CI 5.4–6.5%), three times the tour par-3 rate of 1.9%, with a yearly peak of 11.5% in 2007 and a 10 on the card in three different years (2006, 2013 and 2020). The 12th's reputation is about variance: it doesn't cost the average player much, but it occasionally costs someone a great deal, and in a major that someone may be the leader. ESPN has no wind data, so this book can't test the popular explanation that swirling wind is the cause; it can only measure the tail.

🔄 Check Your Understanding

  1. Birkdale 6 averaged 4.764 and all par 4s 4.055. Which score type accounts for more of the 0.71-stroke difference: the missing birdies or the extra doubles?
  2. Why is the Byron Nelson hole's SD (0.85) so much bigger than the Sanderson Farms hole's (0.51) when their averages match?
  3. True or false: Augusta's 12th is one of the hardest holes on the PGA TOUR by scoring average.

Answers

  1. Rough decomposition by shares: birdies fell by 14 points (each costing about 1 stroke relative to par), doubles rose by about 10 points (each costing 2+ strokes relative to par), and bogeys rose by 35 points (each 1 stroke). The bogey shift is the biggest single piece, the extra doubles next; the lost birdies matter least. A hard hole is mostly about how many players drop a shot.
  2. It produces both more birdies (19.2% vs 7.7%) and more doubles (5.5% vs 0.7%), so its scores are spread on both sides of par. Its par share is only 58.5% against 75.5%.
  3. False. It averaged 3.171 over 2004–2026 and was never the hardest hole at Augusta in any year of the data. It is famous for its tail (5.9% doubles-or-worse), not its average.

16.4 The Hole as an Absorbing Markov Chain

Real tour data gives you distributions from the tee. It can't tell you the odds from the left rough 160 yards out, because ESPN records scores, not shot positions. For that we need a model of how a hole is played, one stroke at a time. The simplest model that does the job is a Markov chain.

Here is the idea. At any moment on a hole, your ball is in some state: on the tee, in the fairway 150–175 yards from the hole, in a greenside bunker 10–20 yards out, on the green 15–20 feet away. Each stroke moves the ball to a new state, with probabilities that depend on where it is now. Eventually it reaches the one state it never leaves: holed. A chain with a state like that is called absorbing, and the holed state is the absorbing state; all the others are transient (you pass through them).

The Markov property is the assumption that makes this tractable: the chances of where the next shot ends up depend only on the current state, not on how the ball got there. Your third shot from 150 yards in the fairway is treated the same whether you got there with a perfect drive or a topped drive and a recovery. That is an approximation (🧪), and we'll measure how good it is in §16.5.

The matrices

Number the transient states $1, \dots, S$. Write $Q$ for the $S \times S$ matrix of transition probabilities among them ($Q_{ij}$ = probability that a stroke from state $i$ leaves the ball in state $j$), and $R$ for the column of probabilities of holing out from each state. Each row of $[Q \; R]$ adds to 1: from any state, the ball goes somewhere.

The expected number of strokes to hole out from each state, $E_i$, satisfies a one-step equation: hit one stroke (cost $c_i$, which is 1 plus any expected penalty strokes), then continue from wherever you land:

$$E_i = c_i + \sum_j Q_{ij} E_j \quad\Longleftrightarrow\quad E = (I - Q)^{-1} c = N c.$$

The matrix $N = (I - Q)^{-1}$ is the chain's fundamental matrix, and it has a lovely golf meaning: $N_{ij}$ is the expected number of times a ball starting in state $i$ will be played from state $j$ before it's holed. So $E = Nc$ just adds up "expected visits to each state × the cost of a stroke there".

A par 3 by hand

Let's do one small enough to solve with a pencil. A par 3 with four transient states, using illustrative transition probabilities (🧪: these are invented round numbers to show the arithmetic, not data):

From ↓ / to → Long putt (~30 ft) Short putt (~3 ft) Missed green Holed
Tee 0.60 0.10 0.30 0.00
Long putt 0.02 0.90 0.00 0.08
Short putt 0.00 0.10 0.00 0.90
Missed green (chip) 0.40 0.55 0.00 0.05

Every stroke costs 1 (no penalties here), so $c = (1, 1, 1, 1)$. Solve from the hole outward:

  • Short putt. $E_S = 1 + 0.10\,E_S$, so $E_S = 1/0.90 = 1.111$.
  • Long putt. $E_L = 1 + 0.02\,E_L + 0.90\,E_S$, so $E_L = (1 + 0.90 \times 1.111)/0.98 = 2.000/0.98 = 2.041$.
  • Missed green. $E_M = 1 + 0.40\,E_L + 0.55\,E_S = 1 + 0.816 + 0.611 = 2.427$.
  • Tee. $E_T = 1 + 0.60\,E_L + 0.10\,E_S + 0.30\,E_M = 1 + 1.225 + 0.111 + 0.728 = 3.064$.

So this imaginary par 3 plays to 3.064 for its imaginary golfer, which happens to be very close to the real tour par-3 average of 3.074. The fundamental matrix's tee row from script 03 says the same thing another way: starting from the tee, the ball is expected to be played once from the tee, 0.735 times as a long putt, 1.029 times as a short putt and 0.300 times as a chip. Those add up to $1 + 0.735 + 1.029 + 0.300 = 3.064$ strokes.

# 03_markov_hole.py (excerpt): the toy chain, solved with the fundamental matrix
import numpy as np
#             Tee   Long  Short  Miss   Holed        (🧪 illustrative numbers)
P = np.array([[0.00, 0.60, 0.10, 0.30, 0.00],      # from the tee
              [0.00, 0.02, 0.90, 0.00, 0.08],      # from a long putt (~30 ft)
              [0.00, 0.00, 0.10, 0.00, 0.90],      # from a short putt (~3 ft)
              [0.00, 0.40, 0.55, 0.00, 0.05]])     # from beside the green
Q, R = P[:, :4], P[:, 4]                           # transient block, hole-out column
N = np.linalg.inv(np.eye(4) - Q)                   # fundamental matrix: expected visits
E = N @ np.ones(4)                                 # every stroke costs 1 (no penalties)
print(E.round(3))                                  # [3.064 2.041 1.111 2.427]

From the mean to the whole distribution

The expected value is one number. The chain gives much more. Let $f_k(i)$ be the probability that a ball in state $i$ is holed in exactly $k$ more strokes. One stroke from the hole means holing out now, so $f_1 = R$. For $k > 1$, you must hit one stroke that doesn't hole out, land in some state $j$, and then need exactly $k-1$ more:

$$f_1(i) = R_i, \qquad f_k(i) = \sum_j Q_{ij}\, f_{k-1}(j).$$

That's a dynamic program: compute $f_1$, then $f_2$, and so on. Penalty strokes add a wrinkle (a stroke into the water costs 2, so it feeds $f_{k-2}$ rather than $f_{k-1}$), and golfkit's version handles that by keeping separate transition matrices for 0, 1 and 2 penalty strokes. For the toy par 3, the recursion gives:

Score 1 2 (birdie) 3 (par) 4 (bogey) 5 6+
Probability 0.000 0.153 0.654 0.172 0.019 0.002

You can check the birdie by hand: a 2 needs the tee shot to finish somewhere and the next stroke to drop, so $0.10 \times 0.90 + 0.60 \times 0.08 + 0.30 \times 0.05 = 0.090 + 0.048 + 0.015 = 0.153$.

🔄 Check Your Understanding

  1. In the toy chain, why does $E_S$ come out as $1/0.9$ rather than 1.1?
  2. Suppose the golfer's chipping improves so that from "Missed green" the ball goes 0.30 to the long putt, 0.65 to the short putt and 0.05 into the hole. Recompute $E_M$ and $E_T$.
  3. In words: what does $N_{T,S} = 1.029$ mean?

Answers

  1. Because a missed short putt leaves another short putt, which can also be missed. $E_S = 1 + 0.1 + 0.01 + \dots$, a geometric series that sums to $1/(1-0.1) = 1.111$.
  2. $E_M = 1 + 0.30 \times 2.041 + 0.65 \times 1.111 = 1 + 0.612 + 0.722 = 2.334$. $E_T = 1 + 1.225 + 0.111 + 0.30 \times 2.334 = 3.036$: the better chipping saves 0.028 strokes per tee shot on this hole.
  3. A ball starting on the tee is expected to be putted from short range 1.029 times before it's holed: almost every hole includes one short putt, and occasionally two.

golfkit's chain: states from simulated shots

A real hole needs more than four states. golfkit.markov.MarkovHole uses lie × distance bucket states: tee, fairway, rough, sand and recovery (trees) in yard buckets (0–10, 10–20, …, 150–175, 175–200, …), and the green in foot buckets (0–2, 2–3, 3–4, …, 20–30, 30–40, 40–60, …). It estimates the transition probabilities by counting: take a large set of shots in the book's ShotLink-style schema, find which state each shot started in and which state the next shot started from (so a water ball goes to the drop spot, with its penalty stroke recorded), and divide.

Where do the shots come from? For this chapter, from golfkit.shotsim: we simulate a golfer playing a hole tens of thousands of times and let the chain learn from the result. That's MarkovHole.from_simulation(golfer, hole, n, seed). With your own shot data you'd use MarkovHole.from_shots(shots) instead; the mathematics doesn't care where the counts came from.

# 03_markov_hole.py (excerpt): a chain for the tour preset on a 435-yd par 4
from golfkit import shotsim, holes, markov
tour = shotsim.Golfer.tour()                     # calibrated to Broadie's PGA TOUR baseline
h10 = holes.demo_course("tour")[9]               # demo tour course hole 10: 435-yd par 4
mc = markov.MarkovHole.from_simulation(tour, h10, n=40000, seed=16)   # SIMULATED
print(mc)                                        # 63 states, 162,810 transitions
E = mc.expected()                                # solves (I - Q) E = c for every state
print(mc.score_distribution())                   # eagle+/birdie/par/bogey/double+ from the tee

The output (SIMULATED, seed 16): 63 states from 162,810 transitions. From the tee, the chain says the tour preset makes birdie 13.3%, par 67.9%, bogey 17.2% and double-or-worse 1.5% on this 435-yard hole, with an expected score of 4.070. The real tour's band for 400–449-yard par 4s is 16.6% birdie-or-better, 66.1% par, 15.3% bogey and 2.0% double+ (average 4.028). That's close but not identical, and §16.7 will look at why.

There's a deeper check available, and it ties this chapter to Part II's central object. The chain's expected strokes from each state is a baseline: the expected strokes to hole out from a lie and distance. Chapter 12 built baselines by averaging strokes-to-hole-out over every simulated shot in a bucket; the chain gets the same quantity by solving $(I - Q)E = c$. If the chain is right, its $E$ values should land on Broadie's PGA TOUR baseline, which the tour preset was calibrated to.

Figure 16.6 — Expected strokes by state from the Markov chain vs Broadie's PGA TOUR baseline

📊 Figure (described): Two panels. Left, off the green: dots are the chain's expected strokes for fairway (blue), rough (orange) and sand (green) states with at least 200 visits, plotted at each bucket's midpoint distance (5 to 190 yards); lines are Broadie's baseline for the same lies. The dots sit on or just below the lines: fairway rises from about 2.14 at 5 yards to about 3.05 at 190, rough from about 2.29 to about 3.25. Right, on the green: chain dots against Broadie's putting curve from 1 to 50 feet, almost exactly on the line (1.00 at 1 foot, 1.71 at 12.5 feet, 2.11 at 50 feet). Source note: SIMULATED — tour preset, 40,000 plays of demo tour hole 10, seed 16; lines Broadie (HIGH).

The fit is tight: across the states with at least 200 visits, the chain's $E$ differs from Broadie's table by an RMSE of 0.033 strokes on fairway states (10 states), 0.047 on rough states (8) and 0.014 on the green (12). Two examples: fairway 150–175 yards, chain 2.975 vs Broadie 2.991 at the 162.5-yard midpoint; green 15–20 feet, 1.839 vs 1.831. The chain reads slightly easier than the table on average (mean difference −0.017 fairway, −0.038 rough), which is partly a measurement artefact: the comparison is made at each bucket's midpoint, but the balls in a bucket aren't spread evenly across it, so a midpoint reading of Broadie's curve is only approximately the bucket's true reference value.

💡 Key Insight

A strokes-gained baseline and a Markov chain are two views of the same thing. The baseline stores the answer, $E(\text{lie}, d)$; the chain stores the moves that produce it. Store the moves and you can answer questions the baseline can't: the probability of each score, the odds of par from a given spot, what happens to the whole distribution if one transition improves.


16.5 Does the Markov Shortcut Work?

A chain throws information away. It treats every ball in "fairway, 150–175 yards" as the same ball, whether it's on the left edge with a bunker in the way or dead centre with an open green. It forgets that the player just hit two bad shots and might be rattled (the simulator has no nerves, so that part can't hurt us here; on real data it might). The fair question is: how much does the shortcut cost?

golfkit.markov.check_against_simulation answers it directly. It builds the chain from one simulation of a golfer on a hole (40,000 plays, seed 16 here), then plays the hole 40,000 more times with a different seed (17) and compares the chain's score distribution from the tee with what actually happened. Script 03 runs it for two golfers on two holes:

Figure 16.7 — Markov chain vs direct simulation: score-type shares for two golfers on two holes

📊 Figure (described): Four small bar charts (tour preset and 15-handicap preset, each on the 435-yard par 4 and the 165-yard water-right par 3). In each, blue bars (Markov chain) and orange bars (direct simulation) for eagle+, birdie, par, bogey and double+ are visually indistinguishable. Titles give the means: tour par 4 4.070 vs 4.069; tour par 3 2.993 vs 3.004; 15-handicap par 4 5.481 vs 5.482; 15-handicap par 3 4.320 vs 4.326.

Golfer (SIMULATED) Hole Chain mean Direct mean Largest share difference
Tour preset 435-yd par 4 4.070 4.069 0.45 pp (par/bogey)
Tour preset 165-yd par 3, water right 2.993 3.004 0.55 pp (birdie)
15-handicap preset 435-yd par 4 5.481 5.482 0.25 pp (bogey)
15-handicap preset 165-yd par 3, water right 4.320 4.326 0.08 pp (double+)

Across all four, no score-type share is off by more than 0.55 percentage points, and the mean-strokes differences are +0.002, −0.010, −0.000 and −0.006. (The toolkit's own validation, with a 15-handicap preset on all four demo holes, found mean differences of −0.002 to +0.014 and every share within 0.6 points.) For a model that forgets everything but lie and distance, that's remarkably good, and it tells you something about golf: most of what matters about a ball's future is captured by its lie and how far it is from the hole.

Note where the biggest miss is: the tour preset on the water-right par 3, where the chain says 16.96% birdies and the simulation 16.42%. On that hole, a tee shot that finishes right of the pin is in a very different position from one that finishes left (the water is right), and the chain can't tell them apart. Hazards that sit on one side are exactly where the Markov property strains.

⚠️ Common Pitfall: forgetting what the state leaves out.

A lie-and-distance state has no direction. Thirty yards short of the green and thirty yards right of it, over water, are the same "rough, 30–40 yards" state. So a chain built from many holes, or from one hole with hazards on one side, averages over those positions. Use it for questions about typical positions ("what's a 150-yard fairway shot worth to me?") and be careful with questions about specific ones ("what are my odds from this spot, short-siding myself over water?"). If the answer matters, add the missing information to the state (a side-of-hole flag, a short-sided flag) or simulate that exact spot directly with targeting.expected_strokes, which plays from real coordinates (Chapter 18).

🧪 Assumption: the simulated golfers.

Every chain in this chapter is estimated from golfkit.shotsim output: the tour preset (calibrated so its expected strokes reproduce Broadie's 2003–2010 PGA TOUR baseline; RMSE 0.050 strokes in the main ranges) and handicap presets (calibrated so their Handicap Index on the demo member course recovers the nominal handicap, with putting and short game fitted to Broadie's 2008 amateur data). Their probabilities are model outputs. When you see "a 15-handicapper makes par 21.4% of the time on a 400-yard par 4", read "the simulator's 15-handicap preset does".

🔄 Check Your Understanding

  1. The chain and the direct simulation agree to within 0.55 points. Does that prove the Markov property holds for real golfers?
  2. Why might the Markov property fail more often for a real 20-handicapper than for the simulator's 20-handicap preset?
  3. You have 20 rounds of your own tracked shots (about 1,800 shots). Why would a chain built from only those shots give noisy answers for rare states?

Answers

  1. No. It shows that the simulator's golfers, whose shots really do depend only on the current position (plus a pin and hazards), are captured well by lie-and-distance states. Real golfers may have memory: a bad hole affecting the next shot, fatigue, nerves. Testing that needs real shot data.
  2. Real amateurs' shots may depend on things the state ignores (tilting confidence after a duff, a strategy change after a big number, a particular hole's shape they always mishandle). The simulator's shots don't.
  3. Each transition probability is a count ratio. A state you visit only a handful of times (fairway bunker at 120 yards, say) gives a probability built from a handful of shots, so its row of $Q$ is very uncertain, and the uncertainty propagates into the expected strokes and the distribution. Pool similar states, or borrow a level-appropriate simulated chain and adjust it.

16.6 Scoring-Probability Maps: The Odds from Any Position

Now the payoff. Once a chain is built, every state has not just an expected score but a full distribution of the strokes still needed. The simplest summary is

$$P_m(i) = P(\text{hole out within } m \text{ more strokes} \mid \text{ball in state } i) = \sum_{k=1}^{m} f_k(i).$$

$P_m$ turns into a scoring probability as soon as you say how many strokes you've already played. On a par 4 after one stroke, $P_2$ is your chance of birdie or better and $P_3$ your chance of par or better. On a par 5 after two strokes, $P_2$ is birdie-or-better. On a par 3 after one stroke, $P_1$ is birdie. A table of $P_m$ over every lie and distance is a scoring-probability map.

To get maps that represent a whole course rather than one hole, script 05 builds a "family" chain from many holes at once: 4,000 simulated rounds of the tour preset on the demo tour course (284,457 shots, seed 1601) and 4,000 rounds of the 15-handicap preset on the demo member course (364,245 shots, seed 1602). Lie-and-distance states don't care which hole a shot was on, so pooling just gives each state more data.

Figure 16.8 — P(hole out within 2 more strokes) and within 3 more, by lie and distance: tour preset vs 15-handicap preset

📊 Figure (described): Two panels with distance to the hole (0–240 yards) on the x-axis and probability (%) on the y-axis. Solid lines are P(hole out within 2 more strokes), dashed lines within 3 more, for fairway (blue), rough (orange) and sand (green). Tour panel: the dashed fairway line stays above 80% out to about 190 yards; solid lines start at 65–85% within 10 yards and fall to about 15% (fairway) and 8% (rough) at 150–175 yards. 15-handicap panel: everything is much lower and falls faster: dashed fairway from about 97% at 5 yards to about 33% at 150–175 yards; solid lines below 5% beyond 100 yards. Sand is the lowest line close to the green for the 15-handicapper, but close to the fairway line for the tour preset.

Here are some cells from it (SIMULATED; distances in yards, feet on the green):

State Tour: E Tour: within 2 Tour: within 3 15-hcp: E 15-hcp: within 2 15-hcp: within 3
Fairway 100–125 2.835 22.9% 93.8% 3.614 4.0% 47.7%
Fairway 150–175 2.987 15.4% 86.9% 3.931 2.1% 32.7%
Fairway 175–200 3.078 11.6% 82.1% 4.057 1.7% 27.7%
Rough 150–175 3.196 7.9% 74.4% 4.486 0.7% 16.2%
Fairway 20–30 2.435 57.1% 99.1% 2.913 22.0% 88.0%
Rough 10–20 2.443 56.4% 99.1% 2.989 18.0% 84.8%
Sand 10–20 2.470 54.2% 98.7% 3.189 13.5% 73.2%

On the green the summaries are one-putt and two-putt chances: from 4–5 feet the tour preset holes 82.9% (15-handicap 56.9%); from 8–10 feet 45.1% (25.7%); from 20–30 feet 9.8% (4.3%), and two-putts or better 96.4% (83.9%); from 40–60 feet 2.4% (0.9%), two-putts or better 86.0% (57.4%).

Read the table as a golfer. A tour-level player in the fairway 150 yards out on a par 4 after a good drive has a 15.4% chance of birdie and 86.9% of par or better. A 15-handicapper in exactly the same spot has 2.1% and 32.7%. To match the tour player's par odds from 150 yards, the 15-handicapper has to be about 25 yards from the green in the fairway (88.0% within three more strokes from 20–30 yards). The lesson isn't that one golfer is better (obviously); it's that the same position is worth wildly different things to different golfers, so any scoring target ("I should make par from here") has to be golfer-specific.

Three practical findings fall out:

A lie costs amateurs more than it costs pros. From 150–175 yards, moving from fairway to rough costs the tour preset 0.21 strokes of expectation (2.987 to 3.196) and cuts its par-or-better odds (after one stroke on a par 4) from 86.9% to 74.4%. The same move costs the 15-handicapper 0.56 strokes and halves the par odds (32.7% to 16.2%). Chapter 12 found the same thing in the baselines (rough minus fairway at 150 yards: tour 0.25, 15-handicap 0.57); the chain shows what it does to the score distribution.

Greenside bunkers are a tour non-event and an amateur trap. From 10–20 yards, the tour preset's odds from sand (54.2% to get down in two) are within three points of its odds from rough (56.4%). The 15-handicapper's are 13.5% from sand against 18.0% from rough, and only 73.2% get down in three from sand against 84.8% from rough: one sand shot in four costs this golfer two or more extra strokes. If you're a mid-handicapper, the "safe miss" into a bunker is not safe.

Lag putting is about the three-putt, not the make. From 40–60 feet the tour preset two-putts or better 86.0% of the time; the 15-handicap preset only 57.4%, so it three-putts or worse more than 40% of the time from that range. The one-putt chances (2.4% and 0.9%) are both close to nothing. Chapter 22 builds the putting strategy that follows; the chain's job is to show where the strokes are.

📋 Play the Shot: driver into the rough, or 3-wood into the fairway?

You're on the tee of a par 4. 🧪 Suppose your driver leaves you in the rough 150–175 yards out and your 3-wood leaves you in the fairway 175–200 yards out (pretend each outcome is certain, to isolate the lie-vs-distance trade). Which gives better scoring odds?

From the family chains (SIMULATED): the 15-handicap preset has E 4.486 and a 16.2% par-or-better chance from rough 150–175, against E 4.057 and 27.7% from fairway 175–200. The tour preset has E 3.196 and 74.4% from the rough against E 3.078 and 82.1% from the fairway. For both golfers, the longer shot from the fairway beats the shorter one from the rough, by both measures, and the gap is bigger for the 15. In real golf the outcomes aren't certain, so Chapter 21 prices the whole dispersion of each club; but the chain tells you how much a fairway is worth to you before you start.

🔄 Check Your Understanding

  1. Using the family-chain table, what does moving from the fairway to the rough at 150–175 yards cost each preset in expected strokes, and what happens to its par-or-better odds after one stroke on a par 4?
  2. How close to the green, in the fairway, does the 15-handicap preset have to be before its par-or-better odds match the tour preset's from the fairway at 150–175 yards?
  3. In the Play the Shot, how many strokes of expectation does the 3-wood plan (fairway, 175–200 yd) save over the driver plan (rough, 150–175 yd) for each preset? Why is the saving bigger for the 15-handicapper?

Answers

  1. Tour preset: 3.196 − 2.987 = 0.21 strokes, and par-or-better falls from 86.9% to 74.4%. 15-handicap preset: 4.486 − 3.931 = 0.56 strokes, and par-or-better halves, from 32.7% to 16.2%.
  2. About 20–30 yards: from fairway 20–30 it gets down within three more strokes 88.0% of the time, against the tour preset's 86.9% from 150–175. That gap of roughly 130 yards is what "the same position is worth different things to different golfers" means.
  3. Tour: 3.196 − 3.078 = 0.12 strokes. 15-handicap: 4.486 − 4.057 = 0.43 strokes. The rough costs the amateur far more per shot (bigger dispersion and more mishits from a bad lie), so the extra 25 yards from the fairway are cheap by comparison. Both savings assume the outcomes are certain; with real dispersion the answer needs Chapter 21's full pricing.

Maps on the hole

A map by state is abstract. Put it on a hole and it becomes something you can look at on the tee. Script 05 builds a chain for one specific hole (golfkit's demo hole water_right_approach_par4: 410 yards, water right of the green, pin on the right side), with the pin fixed so every simulated play aims at the same flag. Then, for every point on a 3-yard grid, yardbook.scoring_odds.probability_map classifies the lie, measures the distance to the pin and reads $P(\text{par or better})$ from the chain as if the ball were there after one stroke.

# 05_probability_maps.py (excerpt): a par-or-better map on one hole
from golfkit import shotsim, holes
from yardbook import scoring_odds as so
hole = holes.demo_hole("water_right_approach_par4")      # 410 yd, water right, pin right
tour = shotsim.Golfer.tour()
ch = so.build_chain(tour, hole, n=20000, seed=1603, random_pins=False)   # SIMULATED
pm = so.probability_map(hole, tour, strokes_taken=1, target=0, chain=ch, step=3.0)
# one row per grid point: x (downrange), y (lateral, + right), lie, dist, p = P(par or better), E
print(pm.dropna().groupby("lie")["p"].median())

Figure 16.9 — Scoring-probability map: P(par or better) from each spot after one stroke on a 410-yard water-right par 4

📊 Figure (described): Two overhead maps of the same hole (tee at the bottom, green at the top near 410 yards, water as a light-blue block right of the green from about 350 yards on), shaded from white (0%) to dark blue (100%) by P(par or better) if the ball sits there after one stroke. Left, tour preset: the fairway from 240 yards out is dark blue (about 75–90%), the rough on either side a lighter band (about 60%), and the green and its surroundings darkest. Right, 15-handicap preset: the whole map is much paler; the fairway band inside 150 yards of the green is mid-blue (about 30–45%), the rough and the area beyond it very pale, and only the area around the green is dark. In both maps the left and right rough look the same, even though the water is on the right.

Some spots from it (SIMULATED):

Ball position after the drive Tour: P(par or better) Tour: E 15-hcp: P(par or better) 15-hcp: E
Fairway centre, 160 yd out 77.7% 3.193 27.6% 4.449
Fairway centre, 120 yd out 87.5% 2.942 42.6% 3.927
Rough, 160 yd out (either side) 62.4% 3.429 13.3% 5.230
Fairway, 30 yd short of the green 98.1% 2.560 77.8% 3.153

From the tee, the same chains give the tour preset a 4.176 average on this hole (birdie 15.3%, par 60.8%, bogey 16.9%, double+ 7.0%) and the 15-handicap preset 5.823 (birdie 1.0%, par 15.7%, bogey 33.1%, double+ 50.1%). Note that these are single-hole chains with one fixed pin, so the numbers differ from the family chains' cells above: this hole's water makes every approach position worth more strokes than the course-wide average position at the same distance.

Two things to see. First, distance from the tee matters less than lie once you're past the landing area: for the 15-handicapper, the difference between 160 and 120 yards in the fairway (27.6% vs 42.6%) is about the same as the difference between fairway and rough at 160 (27.6% vs 13.3%). Second, look at what the map can't see: the left and right rough read identically (62.4% for the tour preset either side), although a ball in the right rough has the water between it and a right-side pin. That's the Markov blind spot from §16.5, drawn on a hole. The state "rough, 150–175 yards" is the pooled average of left and right. A map built on states is a map of typical outcomes from each lie and distance, not of the precise geometry.

⛳ On-Course Action: find your "par line" on three holes.

Pick three par 4s on your home course. For each, use the table above that's nearest your level (or build your own chain from your tracked rounds with MarkovHole.from_shots) and decide where your par line is: the distance from the green, in the fairway, at which your par-or-better odds pass 50%. For the simulator's 15-handicapper it is about 100 yards (47.7% from 100–125 yards, so just inside that). Then, on the course, judge your second shots against it: from beyond your par line, bogey is the normal score and the goal of the approach is to give yourself a two-putt, not a birdie putt. Note the score you make from each side of the line for five rounds. You'll find the line is a better guide to when to be aggressive than the scorecard's par.

🔄 Check Your Understanding

  1. On a par 5 after two strokes, which $P_m$ is your chance of par or better?
  2. Why is the 15-handicap preset's within-3 probability from 10–20 yards in the sand (73.2%) so much lower than from the same distance in the rough (84.8%), while the tour preset's are almost equal?
  3. The map reads the left and right rough as identical. Name one way to make it tell them apart.

Answers

  1. Par needs the hole finished in 5, so within 3 more strokes: $P_3$.
  2. The 15-handicap preset leaves the ball in the bunker, or blades it over the green, much more often than the tour preset (its bunker play is calibrated to amateurs' sand-save rates), so sand shots carry a fat tail of extra strokes. The tour preset gets out and close almost every time from 10–20 yards.
  3. Add the side of the hole (or "hazard between ball and pin: yes/no") to the state, so "rough, 150–175 yd, right" and "rough, 150–175 yd, left" are different states; or skip the chain and simulate from that exact coordinate.

16.7 Is the Model Right? The Simulated Tour vs the Real One

Every shot-level number so far comes from the simulator. The real tour data can't check a 150-yard state, but it can check the one state we see: the tee. Script 04 plays the tour preset from the tee of randomised generic holes (20,000 balls per length, four seeds per length, simulate_from(golfer, "tee", L)) and compares its birdie-or-better and double-or-worse rates with the real tour's by length.

Figure 16.10 — Simulated tour preset vs the real PGA TOUR: birdie-or-better and double-or-worse by hole length

📊 Figure (described): Two panels with hole length on the x-axis. Left: birdie-or-better percentage. Solid lines are the real tour's logistic fits for par 3s (blue), par 4s (orange) and par 5s (green); open diamonds are the simulated tour preset at fixed lengths. Par-3 and par-4 diamonds sit on or within about two points of their lines across most of the range; par-5 diamonds start above the line at 500 yards and fall well below it beyond 550 (30% vs 40% at 575 yards, 22% vs 34% at 600). Right: double-or-worse. Real lines sit between about 1% and 3.5%; simulated par-3 diamonds climb above the line from 200 yards (6.4% at 240 vs 1.8% real); par-4 diamonds sit slightly above the line at most lengths.

Par Length SIM birdie+ REAL birdie+ (fit) SIM double+ REAL double+ (±12.5 yd)
4 350 27.3% 27.6% 1.9% 1.3%
4 400 18.2% 19.7% 1.5% 1.8%
4 450 12.0% 13.7% 2.9% 2.5%
3 175 17.1% 15.4% 1.6% 1.8%
3 240 11.9% 8.6% 6.4% 1.8%
5 525 50.8% 50.6% 1.8% 1.4%
5 600 22.4% 34.4% 1.9% 1.5%

On par 4s, where most of the game is played, the simulator's tour golfer lands within about two points of the real tour's birdie rate from 350 to 475 yards (mean gap −0.5 points over the seven lengths from 325 to 475). That's good agreement for a model that was calibrated to expected strokes, not to birdie rates.

Two places it misses, and why:

  • Long par 5s. At 575–600 yards the simulator's tour golfer makes 10–12 points fewer birdies than the real tour. The tour preset reproduces Broadie's 2003–2010 baseline and uses a rule that goes for the green only when it's within reach plus a margin; the real 2004–2026 tour, with par-5 birdie rates rising from about 40% to 48% over the period, gets home in two or close to the green on long par 5s far more often than a 2003–2010-era model does.
  • Long par 3s' doubles. The simulator's generic par 3s have no fairway short of the green (it's all rough, per the hole generator), and its long-iron dispersion is wide, so a 240-yard par 3 produces 6.4% doubles against the real 1.8%. Real long par 3s usually have an open front, and tour players miss them in safer places than a simple Gaussian-plus-mishit model does.

So when you read the simulator's distributions, trust the shape on par 4s and mid-length par 3s and 5s; be suspicious of long par 5s (too few birdies) and long par 3s (too many doubles). That is exactly the kind of check every model of yours should get before you believe its maps.

What "normal" looks like at your level

The same machinery answers a question that every golfer asks and almost none can answer from their own scorecards: what's a normal score for me on this hole? Script 04 plays a generic 400-yard par 4 from the tee with each handicap preset (20,000 balls each, SIMULATED):

Figure 16.11 — Score distribution on a 400-yard par 4 by golfer level (simulated)

📊 Figure (described): Eight stacked horizontal bars, tour preset at the top then handicap presets 0, 5, 10, 15, 20, 25 and 30, each split into birdie (green), par (grey), bogey (orange) and double+ (red), with the average written to the right. The par segment shrinks from 68% (tour) to 2% (30-handicap), the double+ segment grows from 2% to 76%, and bogey peaks in the middle (45% for the 10-handicapper). Averages run 3.97, 4.23, 4.58, 4.92, 5.27, 5.65, 6.07 and 6.38.

Golfer (SIM) Average SD Birdie+ Par Bogey Double+ Triple+ (7+)
Tour preset 3.97 0.62 18.2% 68.2% 11.8% 1.7% 0.2%
0 4.23 0.68 9.4% 62.1% 25.2% 3.3% 0.4%
5 4.58 0.82 4.4% 46.8% 38.5% 10.3% 2.4%
10 4.92 0.97 2.4% 32.2% 45.1% 20.3% 6.0%
15 5.27 1.11 1.3% 21.4% 44.1% 33.2% 11.7%
20 5.65 1.22 0.7% 12.5% 37.9% 49.0% 19.2%
25 6.07 1.27 0.2% 5.4% 29.5% 64.8% 29.1%
30 6.38 1.29 0.0% 2.1% 21.7% 76.2% 37.8%

Three lessons for the golfer (theme 6: the tour and the amateur play different games):

For a 10-handicapper, bogey is the most likely score on a 400-yard par 4 (45.1%, against 32.2% for par). That's not a failure; it's the distribution. A 10 who makes bogey here has had a perfectly normal hole. The same golfer makes double or worse one time in five, which is where the round gets away.

Spread grows with handicap, but the shape changes more. The SD rises from 0.62 to 1.29 strokes, but the important change is where the mass sits: from the 15-handicapper on, double-or-worse is a third or more of all holes. For those golfers, the biggest scoring lever on a hole like this isn't making more pars; it's turning doubles into bogeys. That is exactly what Chapter 18's "boring golf" is about.

The handicap system cuts the tail for you, but only for posting. Under the World Handicap System, the most you post on a hole is net double bogey: par + 2 + any handicap strokes you receive there (data/reference/world_handicap_system.md, Rules of Handicapping 3.1, HIGH). A golfer who receives one stroke on this par 4 posts at most a 7, so only the scores of 8 or more (a subset of the 11.7% of the 15-handicap preset's holes that are 7 or worse) get trimmed. The cap protects your Handicap Index from blow-ups; it doesn't protect your score in a stroke-play event, where every stroke counts. Chapter 29 has the full rules.

⚠️ Common Pitfall: comparing your scores with par.

Par is the scratch golfer's standard, and a tour player beats it on par 5s and loses to it slightly on long par 4s. For everyone else, par is a reference line, not an expectation. A 20-handicapper who compares every hole with par will feel bad on most holes and learn nothing. Compare with your distribution: a 20 who makes bogey on a 400-yard par 4 has beaten the preset's average for that level (5.65).

🔄 Check Your Understanding

  1. The simulator's tour golfer makes 22.4% birdies on a 600-yard par 5 against the real tour's 34.4%. Name two reasons that don't involve the Markov chain at all.
  2. Using the table, what share of holes does a 20-handicapper finish in bogey or better on a 400-yard par 4?
  3. Why can't this book check the simulator's 150-yard state odds against real tour data?

Answers

  1. The tour preset reproduces a 2003–2010 baseline (shorter hitting than today's tour, whose par-5 birdie rate rose to 48% by 2026), and its go-for-the-green rule lays up when the green is beyond reach plus a fixed margin. Either alone would cut long-par-5 birdies.
  2. 0.7 + 12.5 + 37.9 = 51.1%: about half.
  3. ESPN publishes hole scores, not shot positions or lies. State-level checks need ShotLink-style data, which isn't free (see Chapter 31).

16.8 Same Expected Score, Different Risks

We come to the idea that made distributions worth the trouble. Here is the experiment. On golfkit's demo hole water_right_par3 (165 yards, water hugging the right of the green, pin back-right), script 06 plays the tour preset 100,000 times with each of two aiming policies: aim at the pin and aim at the centre of the green (seeds 1611 and 1612; inside 40 yards both play at the pin).

Policy (SIM, 100,000 plays each) Average (SE) SD Birdie Par Bogey Double+
Aim at the pin 2.9971 (0.0020) 0.639 16.71% 69.73% 11.15% 2.38%
Aim at the centre 3.0025 (0.0018) 0.576 13.62% 74.59% 10.10% 1.67%

(Aces are 0.02% in both.) The difference in mean is −0.0054 strokes (pin minus centre; 95% CI −0.0107 to −0.0000). With 200,000 plays we can just about tell the two apart, and the difference is one stroke every 185 visits to the hole. For any practical purpose they are the same hole for this golfer. But the distributions aren't the same: aiming at the pin makes 23% more birdies (16.71/13.62) and 43% more doubles (2.38/1.67), and its SD is 11% larger.

Figure 16.12 — Same expected score, different distribution: pin vs centre on a 165-yard water-right par 3

📊 Figure (described): Grouped bars for ace, birdie, par, bogey and double+ for the two policies: aim at the pin (blue, average 2.997) and aim at the centre (orange, average 3.003). The centre policy has the taller par bar (74.6% vs 69.7%); the pin policy has the taller birdie bar (16.7% vs 13.6%) and slightly taller bogey (11.2% vs 10.1%) and double+ (2.4% vs 1.7%) bars. The overall shapes look similar at a glance; the differences are all in the shoulders and tails.

When does variance matter?

In stroke play, almost never on one hole. Your score is the sum of 72 holes; what you want is the lowest expected total, and variances add. The arithmetic: the pin policy's variance on this hole is $0.639^2 = 0.408$ against $0.576^2 = 0.332$, an extra 0.076. If your round SD is the tour's within-player 2.756 strokes (Chapter 14), your round variance is $2.756^2 = 7.596$; adding 0.076 gives an SD of $\sqrt{7.672} = 2.770$. One hole's choice of risk moves your round SD by about 0.014 strokes. In stroke play, pick the lower mean and don't think twice about the variance, unless the situation makes one specific outcome worth much more than the others: the 72nd hole with a one-shot lead, the cut line, a qualifying number.

In match play, everything changes, because each hole is a separate contest scored win, halve or lose. If your score on a hole is $A$ (pmf $a_k$) and your opponent's is $B$ (pmf $b_k$), independently,

$$P(\text{win}) = \sum_{jk} a_j\, b_k.$$

The quantity that drives the match is $P(\text{win}) - P(\text{lose})$, the expected change in your match score from the hole. And that depends on the whole distribution of both players, not on means. Variance helps you when you're behind on the hole: if your opponent is likely to beat your typical score, only your good tail can win it. It hurts when you're ahead.

Coach Tasha is caddying for Emma Sato, her college player, in a match-play final.

Emma: He's in the water. I'm going at the flag. Tasha: Why? He's lying two before he's even dropped. Emma: Because I hit it close from here. Tasha: You only need to beat a man who's likely to make four. Make him beat your three.

yardbook.scoring_odds.match_play_odds does the sum. Script 06 takes the two policy distributions above and an opponent of the same skill (the tour preset aiming at the centre), whose odds from each situation come from a Markov chain of his play (40,000 plays, seed 1613): from the tee, or after one stroke on the green at 30 or 8 feet, in the bunker at 15 yards, or in the water, dropping in the rough 35 yards away and lying two.

Figure 16.13 — Match play: P(win) and P(win or halve) for the pin and centre policies, by the opponent's situation

📊 Figure (described): Two panels of paired horizontal bars (blue = aim at the pin, orange = aim at the centre) for five opponent situations. Left, P(win the hole): opponent yet to play 23.1% vs 21.0%; on the green at 30 ft 21.1% vs 18.6%; on the green at 8 ft 9.3% vs 7.7%; in a bunker 49.9% vs 49.1%; in the water 94.7% vs 95.7%. Right, P(win or halve): 78.2% vs 79.1%; 83.8% vs 85.2%; 54.2% vs 53.8%; 91.2% vs 92.4%; 99.1% vs 99.3%.

Opponent's situation (SIM) Opp. mean Pin: win / halve / lose Centre: win / halve / lose Best if you must win Best if a halve will do
Yet to play 3.006 23.1 / 55.1 / 21.8 21.0 / 58.1 / 20.9 Pin (+2.1) Centre (+0.9)
On the green, 30 ft 3.026 21.1 / 62.7 / 16.2 18.6 / 66.7 / 14.8 Pin (+2.6) Centre (+1.4)
On the green, 8 ft 2.542 9.3 / 44.9 / 45.8 7.7 / 46.1 / 46.2 Pin (+1.6) Pin (+0.5)
In the bunker, 15 yd 3.484 49.9 / 41.4 / 8.8 49.1 / 43.4 / 7.6 Pin (+0.8) Centre (+1.2)
In the water, lying 2 4.768 94.7 / 4.4 / 0.9 95.7 / 3.7 / 0.7 Centre (+1.0) Centre (+0.2)

(Percentages; the bracketed gaps are percentage points between the two policies on the relevant measure.)

The pattern is exactly what the theory predicts. When the opponent is likely to beat you (on the green at 8 feet, making his putt a bit under half the time per his chain's 2.542 mean), the higher-variance pin policy is better on both measures: you need a birdie just to halve. When the opponent is likely to lose the hole (in the water), the low-variance centre policy is better on both: Emma's instinct was wrong and Tasha was right, though by one point, not ten. In between, the answer depends on the match: if you must win the hole, go at the pin; if a halve is fine (you're dormie, say), aim at the centre.

The sizes are small here, 1–3 points, because this hole's two policies differ only modestly. On holes where the risky play has a much fatter tail, the gaps grow, and Case Study 2 shows a par-5 decision where the plan changes the odds by 20 points or more. The method is the same: get both distributions from the chain, and let the match situation choose the objective.

📋 Play the Shot: the 8-footer you're not putting

Match play, all square. On this 165-yard water-right par 3, your opponent has hit first, to 8 feet. Do you aim at the flag or the centre?

Use the table: aiming at the pin wins the hole 9.3% of the time and wins-or-halves 54.2%; aiming at the centre 7.7% and 53.8%. Aim at the flag — but notice how little either choice changes: the opponent's 8-footer has already made this hole about a coin flip at best for you. Match-play strategy is mostly about not being in this spot.

📋 Play the Shot: the opponent is in the water

Same hole, same match. Your opponent has found the water and will drop in the rough about 35 yards out, lying two. His chain gives him a 4.768 average from there. Aim at the centre: 95.7% win against 94.7% for the pin, and 99.3% win-or-halve against 99.1%. You don't need a birdie; you need to not make 5.

🔍 Why Does This Work? Why variance is valuable to the underdog.

The probability of winning a hole is the probability that your score lands below your opponent's. If your opponent's likely score is better than your typical score, only your good tail can win; widening your distribution moves more probability into that tail (and also into your bad tail, but a loss is a loss whether by one stroke or three). If the opponent's likely score is worse than your typical score, your typical score already wins, and widening the distribution only adds ways to lose. Match play rewards the shape of the distribution because it scores outcomes, not strokes: it is a contest with a capped downside on each hole. Stroke play, which counts every stroke, rewards the mean.

The same logic carries into Part III. Chapter 20 builds the full expected-value framework for go-or-lay-up decisions, with break-even probabilities, for stroke play; this section's distributions tell you when, in match play or at the end of a stroke-play event, the expected-value answer should be overruled.

A par-5 example: when the risky play also has the lower mean

Not every risky option is a mean-for-variance trade. Script 06 also plays golfkit's demo reachable_par5 (530 yards, a pond fronting the green) with two crude plans: go for the green when it's within reach plus 40 yards, or lay up unless it's within reach minus 80 yards (🧪: two deliberately extreme lay-up rules, chosen to show the trade, not to find the best plan). 40,000 plays per plan, seeds 1620–1627 (SIMULATED):

Golfer Plan Average SD Birdie or better Double+
Tour preset go 4.674 0.783 44.2% 1.6%
Tour preset lay up 4.833 0.588 25.4% 1.1%
0-handicap go 5.014 0.863 26.6% 4.6%
0-handicap lay up 5.116 0.683 13.4% 3.6%
10-handicap go 5.823 1.037 5.2% 22.0%
10-handicap lay up 5.945 1.018 3.4% 25.7%
20-handicap go 6.647 1.310 1.2% 49.6%
20-handicap lay up 6.979 1.179 0.4% 63.4%

Going lowers the average at every level, by 0.10 to 0.33 strokes. For the tour preset and the scratch golfer it does so while raising the spread and the double rate, a genuine trade only if you need to avoid big numbers more than you need strokes. For the 10- and 20-handicap presets, the lay-up plan is worse on doubles too: an extreme lay-up rule leaves weak players a long series of mid-iron shots, and each one is another chance for a mishit. "Laying up is the safe play" is a hypothesis, not a fact, and for this simulator on this hole it's false at high handicaps. Chapter 20 finds the best lay-up yardage properly; here the point is only that the distribution, not the label "safe", tells you which plan is safer.

⚠️ Common Pitfall: "the safe play" without the numbers.

Golfers call the low-birdie option "safe" by reflex. Sometimes it's safe (centre of the green on the water par 3 cuts doubles from 2.38% to 1.67%). Sometimes it's only slow: an extreme lay-up on the par 5 raised the 20-handicap preset's double rate from 49.6% to 63.4%. Before you choose for the variance, check that the low-variance option actually has the smaller bad tail.

🔄 Check Your Understanding

  1. In stroke play, the pin policy is 0.005 strokes better per visit and adds 0.014 strokes to your round SD. Which should you prefer, and why?
  2. You're 1 up on the 18th tee of a match. Do you want your distribution on the hole to be wide or narrow?
  3. Your opponent's expected score on a hole is 4.4 and yours is 4.2. Can a higher-variance strategy with a slightly worse mean (4.25) still be better for you in match play?

Answers

  1. The pin policy: in stroke play the lower mean wins, and a 0.014-stroke change in SD is negligible. (In practice the two are tied; pick the one you execute with more confidence.)
  2. Narrow. A halve wins the match, so you want to maximise P(win) + P(halve), and the low-variance option usually does that when you're the favourite on the hole.
  3. It can, but here you're the favourite (your mean is lower), so usually a narrower distribution is better. Variance helps the player who is behind on the hole; check with match_play_odds rather than guessing.

Spaced Review

Answer each question before you open the reminder.

From Chapter 10 (strokes gained). A tour-preset shot goes from the fairway 150–175 yards out (the family chain's E = 2.987) to the green 20–30 feet away (E = 1.938). What did the shot gain, and why is that the same arithmetic as the chain's one-step equation?

Reminder

$SG = E(\text{start}) - E(\text{end}) - 1 = 2.987 - 1.938 - 1 = +0.049$ against the chain's own expectations. The chain's equation $E_i = 1 + \sum_j Q_{ij}E_j$ says that, on average, a stroke from state $i$ gains exactly zero against that same golfer's expectations: the expected drop in E equals the one stroke spent. Strokes gained measures one shot's departure from that average (Chapter 10).

From Chapter 12 (baselines). The chain's expected strokes landed within 0.033 strokes RMSE of Broadie's baseline on fairway states. Chapter 12 rebuilt the same baseline a different way. How, and why do the two methods agree?

Reminder

Chapter 12 averaged the strokes actually taken to hole out from every simulated shot in each lie × distance bucket (the ShotLink way). The chain solves for the same expected value from transition counts. Both estimate "expected strokes from this state for this golfer"; with enough shots and a state that captures what matters, they converge (Chapter 12).

From Chapter 14 (variance). The mean SD of a tour par-4 event-hole is 0.642 strokes. If eighteen holes were independent with that SD, what would a round's SD be, and how does that compare with the within-player round SD σ = 2.756? What makes the comparison only rough?

Reminder

$\sqrt{18} \times 0.642 = 2.72$, close to 2.756. It's rough because the event-hole SD mixes players of different skill (which inflates it relative to one player's spread) and because a round's holes aren't independent (shared weather and form add covariance). The lesson from Chapter 14 stands either way: a round is a sum of eighteen noisy draws, so a single round is weak evidence about a player.


Project Checkpoint: scoring_odds.py

This chapter adds project/yardbook/scoring_odds.py to yardbook: the score-distribution layer of the dashboard. It wraps golfkit.markov so that any golfer (a simulated preset, a cast member, or a chain built from your own tracked shots) can be asked "what are my odds from here?"

Public functions (all documented in the module):

Function What it returns
build_chain(golfer, hole, n=20000, seed=0, random_pins=True) A memoised MarkovHole from n simulated plays (SIMULATED)
stroke_pmf(state=None, golfer=None, hole=None, strokes_taken=0, chain=None, ...) P(finish in exactly k total strokes), from the tee (state=None, mixing tee buckets) or any (lie, distance)
score_distribution(state, golfer, hole=None, strokes_taken=0, par=None, chain=None, ...) Mean, SD and P(eagle+, birdie, par, bogey, double+) from any position
summarize_pmf(pmf, par) The same summary for any strokes pmf (simulated, Markov or your own)
state_probabilities(chain, more=2) Every state's E and P(hole out within more strokes): the state map
probability_map(hole, golfer, strokes_taken=1, target=0, chain=None, step=3.0, ...) A spatial grid of P(score ≤ par + target) on the hole
plot_probability_map(ax, pm, hole, ...) Draws the map over golfkit.holes.draw_hole
match_play_odds(pmf_a, pmf_b) Win / halve / lose and net for one hole
real_score_table(by="par" or "band", ...) REAL tour score-type shares from golfkit.data.hole_scoring (par_ok applied)
# code/project_checkpoint.py (excerpt): Rosa and Dev on member hole 6 (385-yd par 4, water right)
from golfkit import holes
from yardbook import cast, scoring_odds as so
hole = holes.demo_course("member")[5]
rosa, dev = cast.get_cast_member("rosa"), cast.get_cast_member("dev")
ch_r = so.build_chain(rosa, hole, n=30000, seed=1641, random_pins=False)   # SIMULATED
ch_d = so.build_chain(dev, hole, n=30000, seed=1642, random_pins=False)
print(so.score_distribution(None, rosa, chain=ch_r))                           # from the tee
print(so.score_distribution(("rough", 150), rosa, chain=ch_r, strokes_taken=1))
print(so.match_play_odds(so.stroke_pmf(None, chain=ch_r), so.stroke_pmf(None, chain=ch_d)))

The demo output (SIMULATED; Rosa Delgado and Dev Raman are this book's fictional cast, and their golf is generated by golfkit.shotsim):

  • Rosa, from the tee: average 5.574 (SD 1.365): birdie 1.3%, par 19.5%, bogey 34.8%, double+ 44.4%.
  • Rosa after her drive, fairway 150: average 5.266, par-or-better 26.4%; rough 150: average 5.893, par-or-better 12.6%. The lie is worth 0.63 strokes to her on this hole.
  • Dev, from the tee: average 5.239: par 26.9%, double+ 33.8%. Dev's built-in weakness is his putting; Rosa's is her approach dispersion, and a hole with water beside the green punishes approach play.
  • Rosa vs Dev, gross, one hole: Rosa wins 30.8%, halves 24.1%, loses 45.0%.

Figure 16.14 — Project checkpoint: Rosa's bogey-or-better map on member hole 6

📊 Figure (described): Overhead map of a 385-yard par 4 with water to the right of the fairway from about 315 yards and of the green, shaded from pale (low) to dark blue (high) by Rosa's probability of bogey or better if her ball sits there after one stroke. The fairway inside 100 yards of the green and the green surround are darkest (80–95%); the fairway 150–250 yards out is mid-blue (about 55–75%); the rough bands either side are paler; the tree line beyond the left rough is a darker band than the left rough itself. SIMULATED — yardbook.cast Rosa Delgado, 30,000 plays, seed 1641.

The checkpoint also draws Rosa's bogey-or-better map for the hole (Figure 16.14): the fairway's median value is 72.1% and the rough's 50.1%. One surprise is worth a sentence. On this hole the trees beyond the left rough read better for Rosa than the left rough itself, because from the trees her plan is a punch-out that takes the water out of play, while from the rough she goes for the green; and the rough state pools the left and right sides, including the right rough beside the water. The chain is honest about the plan the golfer actually follows, not the plan she should follow.

How it plugs in later. Chapter 20's decisions.py can price go-or-lay-up with full distributions via stroke_pmf rather than means alone. Chapter 22's lag-putting analysis lives in the green-state rows of state_probabilities. In Chapter 40, dashboard.py can call score_distribution on the reader's own chain (built from their shot file with MarkovHole.from_shots) to show a "your odds from 150 in the fairway" panel, with real_score_table as the tour reference beside it.


Chapter Summary

Formulas and metrics

Quantity Formula Reading Number from this chapter
Expected score $E[X] = \sum_k k\,p_k$ Probability-weighted average Tour par 4s 4.055 (REAL)
Spread $\operatorname{SD}(X) = \sqrt{\sum_k (k - E[X])^2 p_k}$ Typical distance from the average Par-4 event-hole mean SD 0.642 (REAL)
Birdie odds vs length $\operatorname{logit} p = \beta_0 + \beta_1 (y - y_c)/100$ Odds × 0.803 per +25 yd on par 4s 27.6% at 350 yd, 13.7% at 450 (REAL)
Fundamental matrix $N = (I - Q)^{-1}$ Expected visits to each state Toy tee row: 1, 0.735, 1.029, 0.300
Expected strokes $E = N c$ Strokes to hole out from each state Tour chain fairway 150–175: 2.975 vs Broadie 2.991 (SIM)
Score distribution $f_1 = R,\; f_k = Q f_{k-1}$ P(exactly k more strokes) Chain vs direct simulation within 0.55 pp (SIM)
Scoring odds $P_m = \sum_{k \le m} f_k$ P(hole out within m more) Fairway 150: tour 86.9%, 15-hcp 32.7% within 3 (SIM)
Match play $P(\text{win}) = \sum_{j One-hole contest Opponent at 8 ft: pin 9.3% vs centre 7.7% win (SIM)

What the data say

  • A tour hole score is mostly par: 68.7% on par 3s, 64.6% on par 4s, 48.4% on par 5s. Birdie-or-better is 13.0 / 16.2 / 42.0%, and par 5s average a third of a stroke under par (REAL, ESPN 2004–2026, 7,326,378 hole scores).
  • Length costs birdies at a steady rate in odds terms: each 25 yards multiplies the birdie odds by 0.774 (par 3), 0.803 (par 4) or 0.800 (par 5).
  • The hardest event-hole in the data, Royal Birkdale 6 at the 2008 Open (4.764), made bogey more common than par. Hard holes have fatter right tails (corr(difficulty, SD) = 0.42 on par 4s). Augusta 12 is famous for its tail (5.9% double+), not its average (3.171).
  • An absorbing Markov chain over lie × distance states reproduces a direct simulation's score distribution to within 0.55 percentage points and Broadie's baseline to within a few hundredths of a stroke, but it can't see direction (left vs right of a hazard).
  • The simulator's tour golfer matches the real tour's par-4 birdie rates within about two points but makes too few birdies on long par 5s and too many doubles on long par 3s.
  • Equal means can hide different risks (pin vs centre: 2.997 vs 3.003, but 23% more birdies and 43% more doubles). Stroke play rewards the mean; match play rewards the right shape for the situation.

Decision checklist

  1. Before judging a hole (or a bet on it), ask for the distribution: birdie share, par share, double-or-worse share.
  2. Know your par line: the distance at which your par-or-better odds pass 50%. Beyond it, play for the two-putt.
  3. Value lies by your own level: rough and sand cost a 15-handicapper far more than they cost a tour player.
  4. In stroke play, pick the lower expected score. In match play, pick the distribution: wide when your opponent is likely to beat your typical score, narrow when he's likely to lose the hole.
  5. Check that the "safe" option really has the smaller bad tail.
  6. Trust the model where it was checked (par 4s, mid-length holes), and say where it wasn't (long par 5s and par 3s; one-sided hazards).

Golf will always keep a little mystery in the tail: the hole-out from the bunker, the 40-footer that breaks three ways and drops. The distribution doesn't take that away; it tells you how often to expect it.


What's Next

Part II has built strokes gained from the shot up: the baseline, the decomposition, the variance and, now, the full distribution of scores from any position. Chapter 17 steps back to ask where all of this came from: how golf measured players before strokes gained, what driving distance, fairways, greens in regulation and putts per green actually explain about scoring on the real PGA TOUR, and why the old statistics misled for so long. Then Part III turns this chapter's maps into decisions on the course.