Syllabus — Sports Analytics Through Golf

Format: 15 weeks; two 75-minute lectures and one 2-hour lab per week. Prerequisites: Python with pandas (Appendix A level), introductory statistics. Text: Golf Analytics (free, CC-BY-SA-4.0). Data: the processed ESPN tables provided on the course site (see the guide overview); the shot simulator needs nothing.

What the course is about

Golf is the most analysed sport with the least free shot data, so it is an honest place to learn sports analytics. Students build strokes gained from first principles, learn why one round says almost nothing, rate tour players on real hole-by-hole scores, simulate tournaments, calibrate the forecasts on held-out events and then find out how large an edge a betting market demands. The emphasis is on Part II (strokes gained), Part VI (professional golf) and Part VII (betting, fantasy and the future). Parts I, III, IV and V are covered at survey depth: enough physics to read a launch monitor, enough course management to price a decision.

Learning outcomes

By the end of the course, students can:

  1. Compute shot-level and round-level strokes gained against a named baseline, and explain how the choice of baseline changes the diagnosis.
  2. Separate signal from noise: standard errors, regression to the mean, shrinkage, power and multiple comparisons, applied to golf data with σ = 2.756 strokes per tour round.
  3. Build and validate a player rating and a Monte Carlo tournament model on real data, and grade it with proper scoring rules on held-out events.
  4. Convert odds to probabilities, remove the margin, size the edge a price demands, and explain why proof of an edge takes thousands of bets.
  5. Keep real, simulated and cited numbers apart in every piece of writing.
  6. Ship the yardbook dashboard: a Python package that turns a shot file into a strokes-gained report.

Assessment

Component Weight Notes
Weekly labs (best 12 of 14) 20% run the assigned scripts, answer the lab questions, submit the notebook or script
Problem sets (6, fortnightly) 20% assigned from each chapter's exercises.md
Midterm exam (week 8) 15% midterm-exam.md, Chapters 1–22
Tournament-model write-up (week 13) 10% rubric in project-rubrics.md
Yardbook capstone (milestones + final) 20% rubric in project-rubrics.md
Final exam 15% final-exam.md, cumulative

Exercise notation. Each chapter's exercises.md has Parts A (concepts ⭐), B (calculations ⭐⭐), C (data and code), D (judgment), M (mixed and interleaved) and E (research and extension ⭐⭐⭐⭐). "Ex B + C2–C4" means all of Part B and items C2–C4. Pick items to suit your class; the defaults below are a starting point.

Week by week

Week 1 — The data and the promise

  • Read: Ch 2 The Golf Analytics Toolkit (all); Appendix C §C.1–C.3.
  • Lab: environment check (python scripts/run_all_code.py 2 --jobs 1); Ch 2 03_snapshot_and_quirks.py, 04_masters_2026_end_to_end.py, 05_multicourse_and_staggered.py, 08_cast_and_schema.py. Instructor demonstrates 01_raw_json_tour.py on raw files.
  • Assign: PS1 opens: Ch 2 Ex A, B, C (any three).
  • Yardbook M0: rounds.py runs; validate one cast member's 20 rounds with validate_shots (0 errors expected).

Week 2 — Ball flight in one week

  • Read: Ch 1 Ball Flight Physics §1.1–1.6; skim Ch 3 and Ch 4 key takeaways.
  • Lab: Ch 1 01_first_trajectory.py, 05_launch_sensitivity.py, 07_validate_vs_trackman.py, 09_walt_driver_setup.py; Ch 4 08_tour_distance_real.py (REAL driving distance and SG).
  • Discussion: "the ball doesn't know what club hit it"; carry against total in ESPN's driving distance.

Week 3 — Physics survey: impact, shape, conditions, putting

  • Read: key takeaways and one section each of Ch 3 (spin loft), Ch 5 (D-plane), Ch 6 (altitude), Ch 8 (make curves).
  • Lab: Ch 3 02_spin_loft.py, Ch 5 01_d_plane.py, Ch 6 02_altitude_carry.py, 06_altitude_scoring_real.py. Start Ch 8 04_make_curves.py at the beginning of lab (about 1.6 min).
  • Assign: PS1 due. Ch 1 Ex B; Ch 6 Ex B.

Week 4 — Strokes gained

  • Read: Ch 10 Strokes Gained (all); Ch 11 Decomposition §11.1–11.4.
  • Lab: Ch 10 02_shot_prices.py, 03_hole_by_hole.py, 04_rosa_first_round.py, 05_sg_total_real.py; Ch 11 01_categories.py, 02_rosa_decomposition.py.
  • Assign: PS2 opens: Ch 10 Ex B, C; Ch 11 Ex B.
  • Yardbook M1: sg_core.py and sg_report.py: a category report for one cast member, baseline named in the header.

Week 5 — Baselines

  • Read: Ch 12 The Baseline; Appendix D.
  • Lab: Ch 12 01_broadie_table.py, 02_rebuild_from_sim.py, 03_smoothing_fits.py, 05_wrong_baseline.py; Ch 11 06_arg_boundary.py.
  • Discussion: the same round against three baselines; why the tour baseline tells every amateur to fix approach.

Week 6 — Hidden weaknesses and the noise problem

  • Read: Ch 13 Advanced Strokes Gained §13.1–13.5; Ch 14 Signal and Noise (all); Appendix E.
  • Lab: Ch 14 01_round_noise.py, 02_standard_error.py, 03_reliability_shrinkage.py, 04_regression_to_mean.py, 06_multiple_comparisons.py. Ch 13 03_hidden_weakness.py (about 90 s) as a demonstration.
  • Assign: PS2 due. PS3 opens: Ch 14 Ex B, C, D1.
  • Yardbook M2: signal.py: rounds_needed for a 1-stroke change at σ 2.756, and for a cast member's own SD.

Week 7 — Amateurs, Markov chains and history

Week 8 — Midterm; course management begins

Week 9 — Decisions in strokes

  • Read: Ch 20 Risk-Reward; Ch 21 Tee Shot Strategy; Ch 22 Putting Strategy key takeaways.
  • Lab: Ch 20 01_go_or_layup_marcus.py, 03_break_even.py, 06_variance_match_play.py, 07_tour_par5.py (REAL); Ch 21 06_tour_distance_accuracy.py (REAL).
  • Assign: PS4 opens: Ch 20 Ex B, Ch 21 Ex C.
  • Yardbook M3: dispersion.py, aim.py, decisions.py: aim and go/lay-up recommendations for one hole, priced against the golfer's own level.

Week 10 — Equipment and practice at survey depth

  • Read: Ch 23 Club Fitting §23.1–23.6; Ch 27 Practice Efficiency; Ch 28 Tracking Progress; key takeaways of Ch 29 and Ch 30.
  • Lab: Ch 23 04_fitting_protocol.py (winner's curse); Ch 27 02_levers.py, 04_anchor_payoff.py; Ch 28 05_control_charts.py, 06_is_it_real.py.
  • Assign: PS4 due. Practice-plan mini-deliverable (rubric D, shortened) for one cast member.
  • Yardbook M4: practice.py and progress.py: a practice allocation and a control chart for Rosa.

Week 11 — The tour data ecosystem and ratings

  • Read: Ch 31 PGA Tour Analytics; Ch 32 Player Skill Ratings.
  • Lab: Ch 31 02_layers_and_persistence.py, 07_data_quality.py (the join trap); Ch 32 02_rolling_vs_decay.py, 03_bayes_skill.py, 04_golf_elo.py.
  • Assign: PS5 opens: Ch 31 Ex C, Ch 32 Ex B, C.
  • Yardbook M5: tour_data.py and ratings.py: a decay-weighted rating for the current top 20 with intervals.

Week 12 — Course fit and tournament prediction

  • Read: Ch 33 Course Fit; Ch 34 Tournament Prediction.
  • Lab: Ch 33 01_horses_for_courses.py, 05_out_of_sample.py; Ch 34 02_field_size_and_noise.py, 03_simulator_anatomy.py, 04_walk_forward_calibration.py, 08_absent_players.py. (If the walk-forward cache is missing, build it before the lab.)
  • Assign: PS5 due. Tournament-model write-up opens (rubric C).
  • Yardbook M6: forecast.py: forecast_event(widen=True) for a chosen 2026 event, with a reliability table.

Week 13 — Majors and betting markets

  • Read: Ch 35 Major Championships; Ch 36 Golf Betting.
  • Lab: Ch 35 01_major_difficulty.py, 03_augusta_amen_corner.py, 06_stale_ratings.py; Ch 36 02_odds_overround_devig.py, 03_required_edge.py, 04_winners_curse.py, 06_kelly_bankroll.py.
  • Assign: Tournament-model write-up due. PS6 opens: Ch 36 Ex B, C.
  • Yardbook M7: bets.py: de-vig a demonstration market two ways and flag "value" only when both agree.

Week 14 — Daily fantasy and the future

  • Read: Ch 37 Daily Fantasy Golf; Ch 38 The Future of Golf Analytics.
  • Lab: Ch 37 01_scoring_rules.py, 05_projections.py, 06_optimizer.py; Ch 38 01_caddie_anatomy.py, 03_round_evaluation.py, 08_live_probabilities.py.
  • Assign: PS6 due.
  • Yardbook M8: dfs.py and caddie_ai.py demonstrated on a cast member.

Week 15 — Courses, the capstone, and the final

  • Read: Ch 39 Golf Course Analytics key takeaways; Ch 40 Capstone.
  • Lab: capstone clinic; Ch 39 01_scoring_by_par_yardage.py, 03_course_difficulty.py.
  • Yardbook final: python -m yardbook report --shots my_shots.csv --handicap 15 produces the HTML report; validation section shows the report recovers a cast member's built-in truth. Five-minute presentations.
  • Final exam in the exam period (final-exam.md).

Yardbook milestone summary

Milestone Week Modules Evidence
M0 1 rounds validation report, 0 errors
M1 4 sg_core, sg_report category table, baseline named
M2 6 signal rounds-needed table at two σ values
M3 9 dispersion, aim, decisions one hole, aim + decision with EVs
M4 10 practice, progress allocation + control chart
M5 11 tour_data, ratings rating table with intervals
M6 12 forecast event probabilities + reliability
M7–M8 13–14 bets, dfs, caddie_ai de-vig comparison; lineup
Final 15 dashboard, cli HTML report + validation

Students who use their own tracked rounds may substitute them for cast data at any milestone. Never require it.

Policies worth stating in the syllabus

  • Labelling rule. Every number in submitted work says whether it is REAL (ESPN), SIMULATED (seed stated) or cited (source named). Unlabelled numbers lose marks.
  • Baseline rule. Every strokes-gained number names its baseline.
  • Gambling. No assignment requires placing a bet. Chapter 36's closing section lists help resources by name.