Chapter 9 Notes — Batting Impact and Context

Chapter link: Chapter 9

Overview and learning objectives

Chapter 9 carries the book's second threshold concept: value = change in win probability. It returns to Anchor A (Newlands, 25 January 2017) and Imran Tahir's sixteenth over — two runs, two wickets — and asks why the player of the match was Dickwella (68 off 51) when Prasanna's 37 off 16 changed the result. It builds WP v0*, an empirical chase table counted from 8,939 men's T20 chases, smoothed (σ = 2 runs, 2 balls), shrunk to a logistic backstop and shaped by three monotone rules; tests it out of time; draws the Newlands curve (leave-one-match-out); attributes Win Probability Added (WPA) to batters and bowlers; and adds expected runs (xR), runs above expected (RAE) and an intent ratio. It revisits Anchor C in chases, and shows that women's T20 needs its own table. The Crease module is impact.py, designed so Chapter 20's model drops in.

By the end of the chapter students should be able to:

  1. State the threshold concept and explain why a dot ball is not neutral in a chase.
  2. Describe how WP v0 is built (count, smooth, shape) and why raw cells mislead (100 off 60 with 8 in hand: raw 0.207 on 29 states v WP v0 0.413).
  3. Evaluate a WP model out of time with Brier score and a calibration table, and recognise era drift (IPL chasers underrated by 13.4 points in 2023–26).
  4. Compute an over's or a player's WPA from a WP sequence, and explain the credit convention.
  5. Distinguish WPA (how much it mattered) from RAE (how well they batted) and intent (did they keep pace).
  6. Explain why WPA is not skill: it depends on role, leverage and outcome.
  7. Justify a gender- and era-specific WP table (54 off 30 with 8 in hand: men 0.652 v women 0.256).

Where students struggle

  • The threshold concept. Students accept the definition and then revert to runs when judging an innings they remember. Wendell's dialogue in §9.6 is the best teaching tool: he makes the objections students feel.
  • "Dickwella was robbed of credit." The table does credit him for building 116/2 (his gains total 0.605); it refuses to credit him twice. His dismissal cost about 16 points.
  • Smoothing and shaping. Analyst-track students want the math; fan-track students need only "no single lucky night sets a value".
  • Calibration v accuracy. WP v0 barely beats its own backstop out of time (Brier 0.1252 v 0.1257). Students expect a model to be "right"; calibration is about honesty of probabilities.
  • WPA as skill. The pitfall in §9.6. Tewatia's 13 off 3 (+0.92) v Samson's 119 off 63 (+0.41) makes it concrete.
  • Model dependence. Gardner's WPA at Edgbaston is +0.925 on the women's table and roughly 0.56 on the men's (Exercise B8). The hole's depth is a property of the model.
  • Notation. Script 04 prints cricket notation (15.2 = over 16, ball 2); case-study scripts print 1-based over (17.5 = over 17, ball 5). Point this out before students compare outputs.

Pacing

50-minute session. - 0–8: The over-16 table; Productive Struggle (rank SL's batters; estimate WP at three moments). - 8–15: Threshold concept (§9.2). - 15–25: WP v0 — count, smooth, shape; the raw-cell pitfall. - 25–32: Does it tell the truth? Out-of-time test; era drift. - 32–45: Newlands ball by ball; WPA; the Eye-test dialogue. - 45–50: Learning check-in: compare guesses with 0.431, 0.649, 0.246.

75-minute session. Add xR, RAE and intent (§9.7–9.8, 12 minutes) and women's cricket (§9.10, 10 minutes). Lab time: 60–90 minutes; each script runs in under 30 seconds.

Lecture outline

  1. Two runs, two wickets: the over-16 delivery table; Prasanna 37* off 16; player of the match Dickwella.
  2. What the scorecard can't see; the threshold concept; The Book (Tango, Lichtman, Dolphin) and baseball's win expectancy.
  3. Building WP v0: 8,939 chases, 999,986 pre-ball states, 113,474 distinct states (25.2% seen once); smoothing; backstop; monotone shaping. Grid examples (7 wickets): 40 off 24 = 0.69; 40 off 12 = 0.04; 30 off 12 = 0.27.
  4. Does it tell the truth? Out of time (fit before 2023, test 2023–26): Brier base rate 0.2483, required-rate-only 0.1385, backstop 0.1257, WP v0 0.1252. IPL gap +0.134; chasing 200 in the IPL 0.168 (pre-2023 pool) v 0.491 (IPL 2023–26 table).
  5. Newlands ball by ball (leave-one-match-out): SA start 0.472; innings break WP(SA) 0.569; SL start 0.431, peak 0.755 after 14, 0.649 after 15, 0.246 after 16.
  6. WPA: over 16 −0.403; Prasanna +0.504, Gunaratne +0.377, Dickwella +0.157, de Silva −0.204, Mendis −0.235; Imran Tahir's bowling +0.525.
  7. Expected runs and RAE; intent ratio; how they correlate with WPA (runs 0.66; intent Pearson 0.35 v Spearman 0.69).
  8. Careers: chase WPA leaders de Villiers 5.12, Miller 4.97, Kohli 4.28 (most chase runs, 4,262). Anchor C, chase edition.
  9. Women's cricket: 2,594 chases; median target 126 (men 162). Edgbaston 2022 (Gardner 52* off 35, WPA +0.925).
  10. What WP v0 doesn't know (who is still to bowl and bat) and the other formats.

Live coding demo

Script: code/04_anchor_a_wp.py, then code/project_checkpoint.py.

  1. Run 04_anchor_a_wp.py. Expected: Sri Lanka WP 0.431 at the start, 0.649 after 15 overs, 0.246 after 16; Dickwella's dismissal 0.609 → 0.450; de Silva's stumping 0.426 → 0.282; batting WPA Prasanna +0.504, Gunaratne +0.377, Dickwella +0.157; Imran Tahir +0.525.
  2. Have students hold up their Productive Struggle guesses before the numbers print.
  3. Live change 1: swap in the pre-2017-only table (the script/module supports fitting on a date range). The chapter reports start 0.375, after 15 0.628, after 16 0.217. Ask why the shape survives while levels move.
  4. Live change 2 (checkpoint): project_checkpoint.py swaps in a crude required-rate-only model. Expected: Gunaratne's WPA becomes 0.902 and Prasanna's 0.045. Ask: "Same balls, same runs — why did the credit move?" (The crude model ignores wickets, so the over-16 collapse costs little and the finish gains a lot.) This is the clearest demonstration that WPA depends on the model.

In-class activity — "Award the match"

Groups of four act as a player-of-the-match panel for Newlands using only the chapter's tables: runs and balls, RAE (Prasanna +12.54, Dickwella +6.59, de Silva −11.22), intent (Prasanna 114.46, Dickwella 87.94, de Silva 45.55) and WPA (batting and bowling). Each group must pick one winner, state the single metric that decided it, and write one sentence acknowledging what that metric misses. Compare panels: some will pick Tahir (+0.525), some Prasanna, some will defend Dickwella. Link to Exercise D4.

Answers and teaching notes for key exercises

  • B1. Over 16 WPA −0.403; the two wickets cost 0.303 — about 75% of the damage; dots and singles at a required rate of 13 cost the rest.
  • B2. 10 off the over (to 30 off 18): 0.754 − 0.688 = +0.066; a maiden (40 off 18): 0.383 − 0.688 = −0.305. The maiden mattered almost five times as much.
  • B3. RAE Prasanna +12.54, Dickwella +6.59, de Silva −11.22; per 10 balls +7.84, +1.29, −4.16. Totals reward length; rates show efficiency.
  • B6. All men's T20 gap +5.8 points; IPL 0.2–0.4 band +24.1 points — a systematic, exploitable error for anyone pricing IPL chases.
  • B7. Kohli ≈ 1.00 WPA per 1,000 chase runs; de Villiers ≈ 2.59 — de Villiers's runs came at higher leverage.
  • B9. WP v0 beats the required-rate-only model by 2.1% in overs 1–5 and 25.2% in the last five overs, because wickets in hand vary most late in a chase.

Assessment ideas

  • Threshold-concept check (formative): "Give an example of a batter who scores runs but lowers his side's chance of winning." (Exercise A2.)
  • Match analysis (graded): Exercise C2 — the full-match WP curve and WPA table for Mumbai Indians v Delhi Capitals, IPL 2023 (id 1359490), with a 300-word note that names the model and its era.
  • Debate write-up: Samson's 119 v Tewatia's 13 — graded on separating "how well did they bat?" (RAE) from "how much did it matter?" (WPA).
  • Calibration item: given a calibration bin (predicted v observed), compute the gap and explain its consequence for a betting market.

Format, gender and region diversity notes

  • Section 9.10 makes the case for a women's table: 54 off 30 with 8 in hand is 0.256 for women v 0.652 for men; the Commonwealth Games 2022 match at Edgbaston (Australia v India) shows Gardner's comeback, with Renuka Singh's bowling worth +0.243 for India. Case Study 2 is the WPL 2026 final (RCB chased 204; Radha Yadav 12* off 5, WPA +0.66; Mandhana 87 off 41).
  • Pool composition matters: the men's table draws on 12 competitions (T20Is, T20 Blast, IPL, Syed Mushtaq Ali, BBL, BPL, CPL, PSL and others). Exercise C4 asks whether a BBL-only table differs.
  • Anchor A itself is a South Africa v Sri Lanka T20I — use it to talk about Sri Lankan and South African cricket, not only the IPL.
  • Format transfer (§9.11, Exercises D1, D2, D5) — ODIs need a bigger state space; Tests add the draw; The Hundred needs 100-ball states.

Connections