Chapter 14 Notes — Bowling Analytics

Chapter link: Chapter 14

Overview and learning objectives

Chapter 14 opens Part III by turning to the bowler. The hook is the 2024 men's T20 World Cup final at Kensington Oval: South Africa needed 30 off 30 with six wickets in hand at 147/4. In overs 16–20 India's bowlers conceded 20 runs off 30 legal balls, with 16 dots and four wickets, and won by 7. On the scorecard Pandya's 3 for 20 looks like the match-winning spell. On Bowling Runs Saved (BRS) Bumrah (17.26) and Arshdeep (17.01) dwarf Pandya (2.02), and Axar (−23.51) and Kuldeep (−28.36) were expensive. The chapter covers phase profiles, tests the "30%+ dots at the death" claim, decomposes economy into its shape, measures which metrics repeat, and builds outcome-only expected wickets (xW). It then separates luck from skill in W − xW, tries a tracking-based xW on the simulated layer (and catches it leaking), combines everything into BRS, and repeats the core analysis for women's T20Is. The Crease module is bowling.py.

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

  1. Read any bowling number against its format, phase and era par (e.g. IPL 2024–26 economy 9.56 / 8.97 / 10.84 by phase).
  2. Explain why boundary % drives economy (at the death r 0.94 against −0.51 for dot %), and decompose an economy into its boundary, other-bat and extras components.
  3. Use season-to-season reliability to say which bowling metrics are skill (boundary % 0.640, dot % 0.616) and which are mostly luck (wickets per 24 balls 0.162).
  4. Describe an outcome-only xW model, interpret its AUC (0.617) and calibration, and compute W − xW with a z-score and shrinkage.
  5. Recognise outcome leakage in a model, using the simulated-tracking example as the case.
  6. Compute BRS from runs saved, opportunity and execution, and explain when a first-innings run value misprices a wicket.

Where students struggle

  • Benchmarks without baselines. "30%+ dots" sounds elite. In fact 57.4% of the 68 regular IPL death bowlers clear it (median 30.78%). Students must learn to ask "what percentile?"
  • Dots versus boundaries. Coaches teach "build dot-ball pressure". The data says boundary % explains 79–89% of economy by phase, and dot % adds less. Wendell's Eye test pushes back; Exercise C4 lets students test his claim for T20.
  • AUC of 0.617 sounds useless. Exercise A6: for summing expected wickets over a season, calibration matters more than discrimination. The time-split calibration table is the evidence.
  • Group v individual. Wrist spinners beat xW by 230 wickets (z 5.7), yet one wrist spinner's season of W − xW is almost pure noise (year-to-year r 0.063). Both are true (Exercise A11).
  • The simulated-tracking "improvement". AUC rising from 0.617 to 0.648 looks like progress. Students need to see why it is leakage. The simulator draws length and line conditional on the real outcome. The physics columns (speed, spin, swing) come from a name hash plus noise and add nothing.
  • Valuing the Miller wicket. BRS prices a last-over wicket in a chase near zero because it uses first-innings run values. Students rightly object. That is the bridge to win probability in Chapter 20.

Pacing

50-minute session. - 0–8: Hook. Show the scorecard, then ask who bowled best. - 8–18: §14.2 phase profiles; the dot-percentage pitfall (Kumar 43.57% against Rashid 37.28% is a phase mix effect). - 18–26: §14.3–14.4: the 30% claim and the economy identity. - 26–38: §14.5–14.6: xW, calibration, W − xW, the Bumrah 2026 case. - 38–50: §14.8 BRS, then back to Barbados.

75-minute session. Add §14.7 (the simulated tracking xW, 12 minutes; treat it as a lesson in model auditing) and §14.9 women's cricket (8 minutes). Lab: 45–60 minutes. The slowest script takes about 34 seconds.

Lecture outline

  1. Definitions: economy (wides and no-balls charged to the bowler; byes and leg-byes not), dot %, boundary %, average, strike rate, wickets per 24 balls.
  2. Phase profiles across formats: IPL, men's and women's T20Is, ODIs and Tests have different pars.
  3. The 30% claim tested: the quantiles 27.27 / 28.43 / 30.78 / 33.44 / 35.40.
  4. Economy shape. Narine's death economy 7.254 against the league's 9.880, about 86% of the gap from boundaries. Reliability table.
  5. xW: features (batter quality from other seasons, over, wickets, required rate), out-of-fold AUC 0.617, time split 2024–26 (actual 5.02 against predicted 4.76 per 100).
  6. Luck and skill: luck share 0.644; Chahal +50.1 raw → +24.9 shrunk; wrist-spin premium; Bumrah 2026 (4 wickets against 14.78 xW, P(W ≤ 4) = 0.0006).
  7. Multiple comparisons: with 26 bowlers, the chance any one has a season that extreme is 0.017.
  8. 🧪 Tracking-based xW on the simulated layer: the leak and the rule (every input knowable before the result).
  9. BRS: careers (Narine 1,069.6; Bumrah 894.7 at the best rate of 5.91 per 24), 2024–26 (Bumrah 340.1), and the final.
  10. Women's T20Is: luck share 0.404; Ecclestone BRS 382.7.

Live coding demo

Script: code/04_expected_wickets.py.

  1. Run it unchanged. Expected output includes: the time-split calibration (train 2008–23, test 2024–26), the career W − xW table for 59 bowlers with 1,500+ balls (Chahal at the top), luck share 0.644, the style-family table (wrist spin +229.6), and the Bumrah block: "JJ Bumrah, IPL 2026: 294 legal balls, 4 wickets, xW 14.78", P(W ≤ 4) = 0.0006, 5th–95th percentile 9–21. Then: chance any of 26 bowlers is that extreme 0.017; Bumrah 2024–25 W 38 against xW 32.44.
  2. Ask before the Bumrah block prints: "Is Bumrah finished?" Collect votes.
  3. Live change 1: change the seed in np.random.default_rng(14) to another number. The probability should stay of the same tiny order. Seeds change the simulation, not the conclusion.
  4. Live change 2: change "JJ Bumrah" to "K Rabada" in the 2026 block. The chapter's checkpoint reports Rabada at 29 wickets from 17.25 expected (z 2.90). Show the mirror image: an extremely lucky season. Then do Exercise B10's forecast aloud: 0.063 × 3.03 ≈ 0.19 wickets above expected per 100 balls next year.
  5. Close with the luck-share figure: two-thirds of the career spread in W − xW is noise.

Optional second demo: code/05_tracking_xw_sim.py. Every output must be read aloud with the 🧪 label: "simulated tracking layer — real outcomes, simulated locations." Show the length table (yorker 5.68, bouncer 6.24, short 3.98 wickets per 100) and say plainly that these numbers come from how the simulator was built, not from bowling.

In-class activity — "Re-score the final"

Give groups the hook's over-by-over string and Exercise B6's par values (Bumrah 24 balls, 18 runs, par 30.50; Axar 24 balls, 49 runs, par 27.08). Task: (a) compute runs saved for each; (b) rank India's five bowlers on wickets, economy and BRS; (c) write one sentence on why Pandya's Miller wicket is worth nearly nothing in BRS and much more in reality, and what model would value it properly. Groups compare rankings. The disagreement is the point.

Answers and teaching notes for key exercises

  • B1. Components sum to 7.254 and 9.880. About 86% of Narine's 2.626-run gap comes from boundaries.
  • B3. W − xW per 100 = 1.240; noise SD 0.324 per 100; shrinkage factor ≈ 0.497; shrunk ≈ 24.9 wickets. This matches the chapter. It is a good full-workings exam question.
  • B4. 1.13 + 0.162 × 0.87 ≈ 1.27 wickets per 24. With three seasons, shrink less (n ÷ (n + k) logic from Chapter 6).
  • B6. Bumrah +12.50 (+3.13 per over); Axar −21.92 (−5.48 per over). The par differs because Bumrah bowled at the death.
  • B8. About 219 wickets predicted against 261 observed. The noise SD is about 14.5, so the gap of 42 is nearly three SDs. The dropped year dummies (the impact-player era's higher wicket rate) would close it.
  • B10. Rabada's best 2027 forecast is about +0.19 per 100 balls, not +3. Paying for 29 wickets is paying for luck.

Assessment ideas

  • Short answer: Exercise A10 (why the simulated AUC gain is not evidence about yorkers). It tests understanding of leakage, the transferable lesson.
  • Code task: Exercise C3 (season_luck function generalising the Bumrah simulation). Students run it for a bowler of their choice.
  • Judgment: Exercise D3 (Bowler X with 24 wickets at 9.8 against Bowler Y with 14 at 8.6, par 9.4). Grade use of reliability and BRS.
  • Design brief: Exercise E3 (a real tracking-based xW design document) for advanced students. They must name leaky features.

Simulated-data framing (instructors, read this)

§14.7 is the book's first serious use of the simulated tracking layer. State it out loud in class: every outcome is real; every length, line, speed, swing and spin value is simulated; no number in that section is a fact about any real bowler. Label any slide that shows those numbers "simulated tracking layer — real outcomes, simulated locations". Teach the section as model auditing. The lesson is that a model that suddenly improves deserves suspicion, and that real data can leak the same way ("edged", "beaten", tracking kept only for reviewed balls). Finish with what a franchise with the real Hawk-Eye feed could do: separate opportunity (context xW) from delivery quality. Chapter 15 builds on this framing.

Format, gender and region diversity notes

  • §14.9 and Case Study 2 use women's T20Is between full members (710 matches): Ecclestone (BRS 382.7) against Schutt (160.9) on almost identical wicket counts (149 against 142). Deepti Sharma (306.3), Wareham, Kapp (economy 5.61) and Glenn (W − xW +31.1) appear too. WPL 2023–26: Kapp 6.05 economy. Use these in the main lecture.
  • Luck explains less in women's T20Is (40%) than in the IPL (64%) because the true spread of skill is wider (Exercise B7). This is a good discussion of what "more competitive" means.
  • Case Study 1 follows Rashid Khan in the IPL only. His international record is not in the data, because Cricsheet withholds Afghanistan men's internationals. Exercise C5 asks students to include a bowler from Afghanistan or Bangladesh in ODIs. Point out that an Afghan bowler cannot be done from this data.
  • Formats: baselines for ODIs (middle overs 49.46% dots) and Tests (73.54% dots) are given. Exercise D1 transfers xW to Tests.

Connections