Chapter 36 Exercises — Golf Betting Analytics
Difficulty: ⭐ concept check · ⭐⭐ calculation or short code · ⭐⭐⭐ analysis or judgment · ⭐⭐⭐⭐ research and extension
Every price in these exercises is HYPOTHETICAL unless you collect real ones yourself. Model probabilities from yardbook.forecast are REAL (ESPN PGA TOUR data); simulated results are labelled SIMULATED with their seed. Scripts referred to are in code/.
Part A — Concepts ⭐
A1. In your own words, explain why the raw implied probability of a price (1/d) is not the market's opinion of a player's chance. What else is in it?
A2. A friend says, "My model gives this player 5% and the book's price implies 4%, so I have an edge." List two things that must be true for that to be an edge, and one reason it might not be.
A3. What is a dead heat? Why does golf produce far more dead heats than, say, tennis match betting?
A4. Explain the difference between proportional, power and Shin de-vigging in one sentence each. Which one leaves the most probability on the long shots?
A5. Describe the winner's curse in betting. Why does it get worse as a model gets noisier, even though a noisier model "finds" more value?
A6. Why does fractional Kelly give up relatively little growth compared with full Kelly, while over-betting (2× Kelly) gives up nearly all of it? Refer to the shape of the growth curve.
A7. What is closing-line value (CLV)? Give one reason it is a better grade than profit over a season, and one assumption it depends on.
A8. Chapter 34's simulator counts every player tied for 10th as a top-10 finisher. Why does that make its P(top 10) values add up to more than 10, and what must you do before comparing them with prices?
A9. Name three warning signs of problem gambling from §36.10, and two kinds of help available where you live.
Part B — Calculations ⭐⭐
B1. Conversions. Convert each price to decimal odds and implied probability: (a) +350, (b) −200, (c) 9/2, (d) 66/1.
Solution
(a) $d$ = 1 + 350/100 = 4.50; $q$ = 0.2222. (b) $d$ = 1 + 100/200 = 1.50; $q$ = 0.6667. (c) $d$ = 1 + 9/2 = 5.50; $q$ = 0.1818. (d) $d$ = 67.0; $q$ = 0.0149.
B2. Overround. A HYPOTHETICAL three-ball is priced 2.10, 2.75 and 3.60. What is the overround? De-vig it proportionally.
Solution
$q$ = 0.4762, 0.3636, 0.2778; Σ = 1.1176, so $O$ = 11.8%. Proportional fair probabilities: 0.4261, 0.3254, 0.2485 (each $q$ ÷ 1.1176). Note that a three-ball can also tie, and the book's tie rule changes what these prices mean.
B3. Break-even. A HYPOTHETICAL top-20 market carries a 🧪 18% margin. The de-vigged market gives a player 22%. What probability do you need to break even? Your model says 24.5%: what's your edge at the price?
Solution
Break-even = 0.22 × 1.18 = 0.2596. The price implies $q$ = 0.2596, so $d$ = 3.852. Edge = 0.245 × 3.852 − 1 = −5.6%. Your model rates him 1.11× the market, which doesn't clear the 1.18× the margin demands. Not a bet.
B4. Dead heat. Five players tie for 18th in a top-20 market. You hold $25 on one of them at 3.40. What do you get back? What would you have got with no dead-heat rule?
Solution
Places left = 20 − 18 + 1 = 3; tied = 5. Return = $25 × 3/5 × 3.40 = $51.00 (profit $26). Without the rule: $85.00. The rule took 40% of the payout.
B5. Kelly. Your model gives a player 7.0% at a HYPOTHETICAL 18.0 (17/1). Compute the edge, full Kelly and quarter Kelly. Your bankroll is 🧪 $1,500. Apply a 1% per-bet cap.
Solution
Edge = 0.07 × 18 − 1 = +26%. Full Kelly $f^*$ = 0.26/17 = 1.53% → $22.94. Quarter Kelly = 0.38% → $5.74. The cap ($15) doesn't bind. Given §36.5, treat a 26% apparent edge with suspicion before staking even $5.74.
B6. Bets to verify. You believe you have a +4% edge at an average price of 31.0 (30/1). How many level-stake bets until a 95% CI on ROI excludes zero? At 300 bets a year, how many years?
Solution
$p$ = 1.04/31 = 0.03355; SD = 31 × √(0.03355 × 0.96645) = 5.586; $n$ = (1.96 × 5.586/0.04)² ≈ 74,812 bets (bets.bets_to_verify(31.0, 0.04) = 74,812), about 249 years.
B7. Matchup. Two players with skills +1.20 and +0.70 (uncertainty 0.42 each, η = 0.10, σ = 2.756) play an 18-hole matchup. Using the normal model with a continuity correction, compute P(A wins), P(tie) and A's tie-as-push probability.
Solution
Mean $D$ = 0.50. Variance = 2 × 2.756² + (0.42² + 0.42² + 2 × 0.10²) = 15.191 + 0.373 = 15.564; SD = 3.945. P(A) = P(D ≥ 0.5) = 1 − Φ(0) = 0.500; P(B) = P(D ≤ −0.5) = Φ(−1.0/3.945) = Φ(−0.2535) = 0.400; P(tie) = 0.100. Tie-as-push: 0.500/0.900 = 0.556. (Check with bets.matchup_prob(1.2, 0.7, 0.42, 0.42, rounds=1, event_sd=0.10).)
B8. House edge. A bettor with no edge places 🧪 200 one-unit bets in markets with a 🧪 12% overround. What's his expected loss? What share of stakes is that?
Solution
Return per unit = 1/1.12 − 1 = −10.71%. Expected loss = 200 × 0.1071 = 21.4 units, 10.7% of stakes. Note that the house edge as a share of stakes (10.7%) is smaller than the overround (12%).
B9. Proportional vs power on one runner. In a HYPOTHETICAL win market with Σq = 1.25, a long shot is priced at 301.0. Suppose the power method's exponent for this market is $k$ = 1.06. What fair probability does each method give the long shot? By what factor do they differ?
Solution
$q$ = 1/301 = 0.003322. Proportional: 0.003322/1.25 = 0.002658. Power: 0.003322^1.06 = exp(1.06 × ln 0.003322) = exp(1.06 × (−5.707)) = exp(−6.050) = 0.002357. Power gives 0.89× the proportional value: an 11% difference on a single long shot, which is about the size of many "edges" people bet. (The exponent is illustrative; fair_probs solves for the real one.)
B10. Settling a card. You staked 2 units to win at 41.0 on player X and 3 units on X to finish top 10 at 6.0. X finishes tied 9th with two others. What is the net result of the two bets?
Solution
Win bet: lost, −2. Top-10 bet: three players share two places (9th, 10th), so 3 × 2/3 = 2 units are paid at 6.0 = 12 units returned on 3 staked, +9. Net +7 units. Without the dead heat it would have been +13.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. Build your model: de-vig a real field's hypothetical board. (⭐⭐) Run code/02_odds_overround_devig.py. Then change the hypothetical book's longshot_bias from 0.9 to 0.75 and rerun.
- Compute the share of implied probability each de-vig method keeps at implied probabilities near 0.2%, 1%, 3% and 14%.
- Expected shape: proportional stays flat at 1/(1 + O); power and Shin take more from long shots than before, and the gap between proportional and the other two widens. Report your four rows and say which method now recovers the book's own pre-margin view best (and why that comparison is partly circular).
Guidance
demo_market applies the shading before a proportional margin, so proportional de-vigging recovers the shaded book view almost exactly whatever the bias. That's the circularity: the "best" method depends on how the book built its prices, which is why choosing a method on real markets needs real prices and results.
C2. Compare two players: price a 72-hole matchup. (⭐⭐) Use forecast.forecast_event(forecast.find_event("Masters", 2026), seed=2024) to get Scheffler's and McIlroy's skill, skill_sd and the event's round_sd and event_sd. Price their 72-hole matchup with bets.matchup_prob(..., rounds=4).
- Expected shape: a dict with P(a), P(tie), P(b) and a tie-as-push probability; the 72-hole tie probability should be well under the 1-round ≈ 10%. Then repeat with rounds=1. Explain why Scheffler's edge per round is the same but his matchup probability differs.
Answer (our run, seed 2024)
Scheffler +2.87, McIlroy +2.04 (skill SD 0.42 each). 18 holes: P(Scheffler) 0.533, tie 0.099, P(McIlroy) 0.368; tie-as-push 0.592. 72 holes: 0.635, tie 0.045, 0.320; tie-as-push 0.665. The skill gap per round (0.83) is the same, but over four rounds the gap grows 4× while round noise grows only 2× (√4), so the stronger player's probability rises. The uncertainty term grows 4× too, which is why the 72-hole probability is less extreme than round noise alone would give.
C3. Analyze the market: dead heats by event type. (⭐⭐⭐) Extend code/01_markets_and_dead_heats.py to split the 133 walk-forward events into majors and non-majors, and into no-cut and cut events.
- Compute, for the top-10 market, the mean players paid and the mean settlement factor in each group.
- Expected shape: a 2 × 2 table with one empty cell (every major has a cut), so in practice three groups: majors, non-major cut events and non-major no-cut events. Do smaller (no-cut) fields have fewer dead heats? State whether your differences are larger than the variation you'd expect from small samples (a bootstrap over events is a fair check).
Guidance
Majors are only about 12 of the 133 events, so their row will be noisy. Bootstrap events (not player-events) within each group, 1,000 draws with a fixed seed, and report 95% intervals. Fields with no cut finish everyone, so ties at the top-10 boundary can be just as common there.
C4. Build your model: the winner's curse with correlated errors. (⭐⭐⭐) code/04_winners_curse.py draws the bettor's and the book's errors independently, the most generous case. Add a 🧪 correlation ρ between them: model error = ρ × book error + √(1 − ρ²) × fresh error, both scaled to their SDs.
- Run ρ = 0, 0.3, 0.6 for model SD 0.15 and threshold 10%.
- Expected shape: true edge falls as ρ rises (a model that shares the market's errors can't profit from them). Report the three true edges and the apparent edges. At what ρ does the "equal-error" bettor stop being profitable at a 25% threshold?
Guidance
Keep each error's SD fixed as you add correlation, or the comparison is unfair. With ρ = 1 the bettor's model is the book's opinion and every apparent edge is just the margin turned upside down, so the true edge must be negative. Plot true edge against ρ for each threshold.
C5. Build your model: recalibrate the matchup model. (⭐⭐⭐) code/07_matchups.py found a calibration slope of 1.107 on round-1 log-odds. Fit the slope on 2024–2025 pairs only, apply it to 2026 pairs, and compare the 2026 Brier score before and after.
- Expected shape: a small improvement on 2026 if the under-confidence is stable. Report both Brier scores and the fitted slope. Explain why the z-scores in the script overstate significance (shared players across pairs).
Guidance
Fit the logistic slope by IRLS on the 2024–25 non-tied pairs (the script's last block shows how). Each player appears in up to about 155 pairs per event, and all of those pairs share his one round score, so the pairs aren't independent. For honest intervals, bootstrap whole events.
C6. Analyze your bets: a dead-heat-aware top-10 value table. (⭐⭐⭐) For the 2026 Open, build a HYPOTHETICAL top-10 market with betting.demo_market(p10, margin=0.20, target=10, noise_sd=0.15, rng=<your seed>) where p10 is the model's P(top 10) rescaled to sum to 10. Then build two value tables: one using the rescaled probabilities and one using the raw (unrescaled) P(top 10).
- Expected shape: the raw table shows many more "value" bets. Count them and explain the difference using §36.1's ⚠️ pitfall.
Guidance
The raw P(top 10) sum to about 11.4, so every runner looks about 14% more likely than a dead-heat-settled market says. With a 20% margin, that alone pushes many runners close to or over break-even. The rescaled table is the right one; the raw table's extra "value" is a rules error, not an edge.
C7. Design your bankroll plan: simulate a stake rule. (⭐⭐) Use golfkit.betting.simulate_bankroll with 20,000 paths × 1,000 bets, rng 2026, at a HYPOTHETICAL price of 11.0 and a 🧪 true edge of +5%. Compare full, half and quarter Kelly and full Kelly on an edge over-estimated 1.5×.
- Expected shape: a four-row table like §36.7's. Is the 1.5× over-estimate closer to full Kelly or to zero growth? Compare with the analytic growth_rate curve.
Answer (our run, rng 2026)
Full Kelly at 11.0 stakes 0.50% of the bankroll: median 110.4, P(ever halved) 0.104, growth ×1000 0.125. Half: 108.4, 0.001, 0.094. Quarter: 104.9, 0.000, 0.055. Full Kelly on a 1.5× over-estimate (0.75% stake): median 105.9, P(halved) 0.304, growth 0.096. Analytically, 1.5× Kelly grows at 0.094 per thousand bets, the same as half Kelly, with three times the chance of halving. The curve is roughly symmetric on the log scale near its peak: 1.5× and 0.5× give about the same growth, but very different risk.
C8. Analyze the market: the house edge with dead heats. (⭐⭐) Modify code/09_house_edge.py so the top-20 bettor is also paid under the real dead-heat factor distribution from code/01 (average settlement factor 0.900 for winning top-20 tickets). With prices set so the dead-heat-adjusted market has a 🧪 15% margin, does the no-edge bettor's expected loss change? Explain why or why not.
Guidance
If the margin is defined on the dead-heat-adjusted market, the no-edge bettor's expected return is still 1/(1 + O) − 1 = −13.0%: dead heats change the shape of the payouts (more small wins), not the expectation. What changes is the variance, and therefore how many bets it takes before the loss shows.
Part D — Judgment ⭐⭐⭐
D1. The thin-rating favourite. A veteran with 1,000 career rounds but 12 PGA TOUR rounds in the last year is priced at a HYPOTHETICAL 25/1. Your uncorrected model says 5.5%; the corrected model says 3.6%. The de-vigged market says 3.2%. Write a 150-word decision memo: bet or pass, with stake, and what you'd check first.
Guidance
At 26.0 the raw implied probability is 3.85%. The corrected model (3.6%) shows an edge of 0.036 × 26 − 1 = −6.4%: no bet. Only the uncorrected model (5.5%, edge +43%) says bet, and Chapter 34 showed that players like this run about 0.74 strokes per round below their ratings. A good memo passes, notes that the market (3.2% fair) agrees with the corrected model, and checks what the player has been doing on tours outside this book's data before trusting any rating.
D2. A friend's record. A friend has bet golf outrights for two seasons, 180 bets at an average price of about 40/1, and is up 35%. He wants to triple his stakes. Using §36.6, write him a short, respectful note explaining what his record does and doesn't show, and suggest one thing he could record that would tell him more.
Guidance
At about 41.0, one win returns 41 units, so +35% on 180 bets is roughly 6 winners where a fair book would expect about 180/41 ≈ 4.4 (fewer after the margin). That's well within luck: by §36.6, a no-edge bettor at 20/1 is ahead after 50 bets about a third of the time, and at 40/1 the steps are bigger still. Suggest recording the closing price of every bet and computing CLV, and keeping stakes unchanged until a season of CLV is in.
D3. Choosing a market. You have a model that you believe is about as accurate as the market (no better). Which golf market would you avoid entirely, and which, if any, would you consider for small stakes? Justify with the margins, the dead-heat numbers and Chapter 34's Brier skill by market.
Guidance
Avoid the first-round leader market (one round of noise, a shared lead in 30.8% of events, average FRL settlement 0.797) and long outrights (largest margins, hardest to de-vig). If anything, small stakes in two-way matchups (4.76% at −110, complete markets, Brier skill 0.068 on round-1 pairs) or top 20 (BSS 0.085). With a model no better than the market, the honest answer is "none for profit; small stakes for entertainment only".
D4. A student who bets. Coach Tasha Nguyen mentions that one of her college players spends a lot of time on golf-betting apps and has started borrowing money from teammates. What should she say, and what resources could she point to (§36.10)? Keep it practical and non-judgemental.
Guidance
Borrowing to bet is one of §36.10's warning signs. She can raise it privately, describe what she's noticed without labelling the player, ask how he's doing, and point to free, confidential help: the national or state/provincial problem-gambling helpline where they live, Gamblers Anonymous, and the self-exclusion and deposit-limit tools on the apps themselves. College athletes may also face their governing body's rules on sports betting, which is worth checking with the athletic department.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (Ch 14 + Ch 36) Chapter 14 found that a before/after change of 1 stroke per round needs about 120 rounds per period for 80% power at σ = 2.756. Express a +5% edge at 20/1 in the same terms: what is the "signal-to-noise" per bet (edge ÷ SD), and how does it compare with a 1-stroke change per round (1 ÷ 2.756)? Which is harder to detect, and by roughly what factor in sample size?
Answer
Bet: 0.05/4.58 = 0.0109 per bet. Round: 1/2.756 = 0.363 per round. Sample size scales with (noise/signal)², so the bet needs about (0.363/0.0109)² ≈ 1,100 times as many trials as a per-round 1-stroke effect for the same precision. That's why 32,189 bets vs about 30 rounds pin a level of ±1 stroke.
M2. (Ch 32 + Ch 36) Chapter 32 showed that hot starts (14 players averaging +1.83 over their first 8–16 rounds) shrank to +0.48 under Bayes and then played at +0.46. Write blend_with_market as a form of shrinkage: what plays the role of the prior, what plays the role of the data, and what plays the role of $n_{\text{eff}}$? When should the blend weight on your model rise?
Guidance
The market is the prior; the model is the data; the weight on the model plays the role of the data's share of precision, $\kappa n_{\text{eff}}/\sigma^2$ over total precision. The weight should rise only as evidence accumulates that the model beats the market, which in betting means a long record of positive closing-line value, not a good season of profit.
M3. (Ch 34 + Ch 36) Using Chapter 34's win reliability table (fixed bins), compute the observed/expected ratio for each bin and mark which bins would fail the 1.20 break-even ratio for a 20% overround if the market were perfectly calibrated and you bet the model's probabilities. What does that imply for a bettor who backs every player the model rates 10–20%?
Answer
Ratios (code/03_required_edge.py): 1.261, 0.788, 0.673, 1.163, 1.642, 1.100. Only the 0–1% and 10–20% bins clear 1.20. The 10–20% bin (51 player-events, 12 wins vs 7.31 expected) looks profitable, but its 95% interval is 0.85–2.87 and it is mostly Scheffler. It's the model's error showing, not a strategy, and a market that priced Scheffler better than our model would have taken that "edge" away.
M4. (Ch 20 + Ch 36) Chapter 20's risk-reward framework compares the expected strokes of attacking and laying up. Map each piece onto a bet: what plays the role of the hazard, of the expected strokes, of the golfer's dispersion? Where does the analogy break (hint: Kelly and the bankroll have no course-management equivalent)?
Guidance
Hazard ↔ the margin and the chance of losing the stake; expected strokes ↔ expected return; dispersion ↔ the uncertainty in your own probability. The analogy breaks because a round of golf is scored additively (every stroke counts once), while a bankroll compounds: a large loss shrinks every future bet. That's why golf strategy maximises expected strokes, but staking maximises expected log bankroll.
M5. (Ch 33 + Ch 36) The course-fit claim (H3) is sized at 0.00150 strokes per round out of sample. Chapter 33 also found Augusta's history slope inflated by stale ratings for veterans. Design a Masters-specific betting test that separates "Augusta fit" from "the absent-player correction". What would you need to collect, and how many Masters would it take to say anything?
Guidance
You need real Masters prices for every runner over many years, plus each player's recent-rounds count, so you can compare three predictors: the market, the model with the absent-player correction, and the model plus an Augusta-history term. With one Masters a year and a field under 100, even a large effect would take decades to show. A realistic answer is that the test can't be run with useful power, which is itself the finding.
Part E — Research & Extension ⭐⭐⭐⭐
E1. A real-odds study, designed properly. Write a pre-registered study plan to test H1 (the name premium) or H4 (matchup overreaction to form) with real prices you collect legally. Include: the markets and books, how and when prices are recorded (opening and closing), the exact definition of the flagged group or form variable fixed in advance, the test statistic, the sample size from a power calculation (use code/08_market_hypotheses.py as a template), and what result would make you abandon the hypothesis.
E2. Correlated Kelly for one event. Single-bet Kelly over-stakes mutually exclusive outright bets. Derive the Kelly-optimal stakes for a set of win bets in one event (maximise the expected log of the bankroll when exactly one runner wins, or none of yours does), implement it with scipy.optimize, and compare its total stake with kelly_stakes' 3% event cap on the 2026 PGA Championship card from case study 1.
E3. Closing-line efficiency. Case study 2 assumed the closing market is close to the truth. Simulate a closing market that keeps a favourite–longshot bias (bias 0.85) right to the end. Show how CLV and true edge then disagree, and propose a way to detect such a bias from real opening prices, closing prices and results.