Appendix C — Metric Encyclopedia
Every metric this book defines is collected here: what it means, the formula, where it works and where it misleads, a real benchmark from the chapter that taught it, the Crease function that computes it, and where to read more. When a chapter says "see Appendix C", this is where it points.
The entries are grouped into ten families, alphabetical within each family:
| § | Family | What lives there |
|---|---|---|
| C.0 | Building blocks | Balls, runs, outs, wickets, phases: the counting rules every other entry relies on |
| C.1 | Batting | Average and strike rate, shape metrics, SR+, Test survival, matchups, batting impact |
| C.2 | Bowling | Economy and its par versions, xW, Bowling Runs Saved, spells, spin and pace, workload |
| C.3 | Fielding | Fielding credits, catch value, simulated catching, field-placement arithmetic |
| C.4 | Partnership | Stands, rotation, strike share, chemistry, partnership networks |
| C.5 | Match state and win probability | Expected Runs, resources, DLS targets, win probability, WPA, venue and toss, the Test clock |
| C.6 | Team and selection | Pre-match roles, value above par, all-skills RAR, XI and bowling-plan objectives, Elo |
| C.7 | Valuation and market | Net runs, batting RAR and WAR, runs per win, market rates, surplus, max bids |
| C.8 | Projection and translation | Reliability and shrinkage, true ability, SR+/out+/econ+/wkt+, Marcel, translation factors |
| C.9 | Forecast evaluation | Brier, log loss, calibration, coverage, pinball, PIT, Monte Carlo error, luck share |
| C.10 | Fantasy, betting and media | Odds, overround, EV, Kelly, fantasy points, leverage, notability, A/B tests |
🏏 Fan Track: C.0 and C.1 are the rules for reading any scorecard honestly. Read the "Formats" line of each entry before you quote a number in an argument.
📊 Analyst Track: Read the scale warnings in the next section before you combine numbers from two chapters. Most cross-chapter mistakes are scale mistakes.
🎰 Betting Track: C.9 and C.10 are the core. Every betting metric is only as good as the forecast evaluation behind it.
How to read an entry
Each entry has the same parts:
- Meaning, in a sentence of cricket, then the formula.
- Formats: where the metric works (Test, ODI, T20) and where it misleads.
- Benchmark: a real value from the book's data snapshot (Cricsheet, downloaded 18 November 2026), quoted exactly as the chapter reported it, with the chapter's filter. A benchmark is only meaningful with its filter: "IPL batters with 500+ balls" and "IPL batters with 1,500+ balls" give different medians.
- Crease: the function that computes it, as
module.functioninside thecreasepackage (project/crease/) or the toolkit (toolkit/cricdata.py). "Chapter script" means the calculation lives in that chapter'scode/folder rather than in a module. - Taught in: the chapter(s) that define and use it.
Symbols: $n$ is a sample size (balls, innings, matches), $k$ a shrinkage constant in the same units, $u$ legal balls left, $w$ wickets (in hand or lost, as stated), $p$ a forecast probability, $y$ an outcome (1, 0, or ½ for a tie), $o$ decimal odds.
🧪 Simulated data: a 🧪 on an entry means the metric needs data that is not public (ball-tracking locations, dropped chances, fantasy ownership). The book computes those metrics on a clearly labelled simulated layer: real outcomes, simulated locations or crowds. Never quote a 🧪 number as a fact about a real player.
Same name, different scale: read this before mixing chapters
Several ideas appear in more than one chapter with deliberately different definitions. Each chapter states its own; this table lines them up so they never get mixed.
| Idea | Versions | The difference | Rule |
|---|---|---|---|
| Runs above replacement (RAR) | Ch 13 batting RAR; Ch 21 all-skills RAR; Ch 34 season all-skills RAR | Ch 13 is batting only, built on net runs with replacement at the 20th percentile of the talent distribution. Ch 21 adds bowling and run-out fielding, with replacement = the fringe outside the top 70 batters and 50 bowlers over a period. Ch 34 uses Ch 21's currency season by season (fringe outside 7 × teams batters and 5 × teams bowlers), without fielding. Ch 34's replacement level is lower than Ch 13's: Pant's 2025 middle overs are 0.0 there and −28.5 in Ch 13. | Never add, subtract or rank across the Ch 13 and Ch 21/34 scales. |
| Market rate | Ch 13 ₹35.7 crore per batting win; Ch 34 ₹12.5 crore per win (all skills) | Different numerators (specialist batters' salaries vs all buys) and different WAR currencies | Use the rate that matches the RAR you computed. |
| Price of a wicket | Ch 4 working price; Ch 5 OLS price; Ch 11 fixed c = 6; Ch 13, Ch 14, Ch 17, Ch 21 wicket value by over; Ch 19 state price; Ch 24 W = 6 (T20) / 15 (ODI); Ch 32 runs-equivalent of a wicket | Linear averages, over-by-over regressions on first innings, Expected Runs differences and win-probability ratios all measure "what a wicket costs" in different situations | Quote each with its method, format and over. A Ch 19 state price is not a Ch 5 regression coefficient. |
| Season-to-season repeatability | Ch 6 (IPL batters with 150+ balls in consecutive seasons: SR 0.48, average 0.23); Ch 8 (season-centred, 120+ balls both years, consecutive calendar years: SR 0.340, average 0.209, boundary-run % 0.572) | Different filters and Ch 8 removes season-wide shifts first | Cite each with its chapter; don't average them. |
| Win probability | Ch 9 WP v0 (empirical table); Ch 20 WP v1 (logistic with scoring environment and Elo gap) | Same definition of WP, different models; Anchor A after 15 overs is 0.649 under v0 and 0.503 under v1 (leave-one-match-out) | Say which model produced a WP or WPA figure. |
| Par | Ch 4/Ch 8/Ch 25 per-ball par (league runs per ball in the same year × phase, and in Ch 25 the same competition); Ch 19 par total = ER(120, 10); Ch 20 env_par (previous 60 first-innings totals); Ch 37 live par (era mean + shrunk venue effect) |
Ball-level vs innings-level vs match-environment par | Name the par you mean. |
| Replacement level per ball | Ch 13 −0.099 / −0.102 / −0.116 net runs per ball (2023–26, powerplay/middle/death); Ch 21 −0.216 (batting) / −0.122 (bowling) per ball (IPL 2024–26); Ch 34 bat −0.362, bowl −0.188 (IPL 2025) | Three currencies | Same rule as RAR. |
| Shrinkage constants k | Ch 6 ~98 balls (SR), ~554 (dismissal rate); Ch 11 303 / 1,956 (men's matchups); Ch 25 ≈ 371 balls (IPL SR+ Marcel); Ch 38 158 balls (death economy) | k depends on the metric, the population and the filter | Re-estimate k for a new question; don't borrow one. |
| Venue effects | Ch 4 venue index (runs per legal ball, 100 = average); Ch 22 venue effect (first-innings runs, shrunk, k = 75 games in the IPL) and venue run factor (runs off the bat per ball, both innings, k ≈ 37.5 games) | Different units and different shrinkage | Don't compare a venue index with a run factor. |
| Brier score | Ch 9, Ch 20 (ties = 0.5), Ch 24 (two outcomes); Ch 29/Ch 33 three-way Brier summed over win/draw/loss; Ch 28 knockout Brier | Two-outcome Brier tops out at 1, coin = 0.25; the three-way version sums three squared errors (constant forecast ≈ 0.59 for Test chases) | Never compare a two-way and a three-way Brier. |
C.0 Building blocks
These are the counting rules from toolkit/cricdata.py. Every metric below inherits them. They are identical in every chapter (Ch 1, Ch 2, Ch 4).
Balls faced
Deliveries received as striker, excluding wides. No-balls count, because the batter can score off them. Super overs are excluded from every canonical table.
- Crease: cricdata.batting_summary → balls.
- Taught in: Ch 1, Ch 2, Ch 3, Ch 4.
Bowler wickets
Dismissals credited to the bowler: bowled, caught, caught and bowled, lbw, stumped, hit wicket. Run-outs, obstructing the field and retirements are not the bowler's.
- Crease: cricdata.bowler_wicket, cricdata.bowling_summary → wickets.
- Taught in: Ch 2, Ch 4, Ch 14.
Delivery, legal delivery, extras
A delivery is any ball bowled. A legal delivery counts toward the over: not a wide and not a no-ball. Extras are runs not off the bat: wides and no-balls (charged to the bowler) and byes, leg-byes and penalty runs (not charged). An over is six legal deliveries (five-ball sets in The Hundred).
- Formats: In The Hundred and the T20 Blast, a no-ball cost 2 runs through 2025 and 1 run in 2026. Adjust economy before comparing bowlers across leagues.
- Crease: is_legal, wides, noballs, byes, legbyes, penalty columns (Appendix B).
- Taught in: Ch 2.
Innings (batting)
Distinct (match, innings) in which the player batted, as striker or non-striker. A batter run out without facing a ball still has an innings.
- Crease: cricdata.batting_summary → innings.
- Taught in: Ch 2, Ch 4.
Outs (dismissals)
Times the player was dismissed, as striker or non-striker, excluding retired hurt and retired not out.
- Crease: cricdata.batting_summary → outs; cricdata.batter_dismissed flags striker dismissals only.
- Taught in: Ch 1, Ch 2, Ch 4.
Overs label
The overs column in the bowling table is a label, not a number: $\lfloor \text{balls}/6 \rfloor + (\text{balls} \bmod 6)/10$, so 4.3 means 27 balls, not 25.8 overs.
- Formats: Never compute economy from the label. Use legal balls.
- Crease: cricdata.bowling_summary → overs.
- Taught in: Ch 2.
Phase
The stage of an innings, by 1-based over. T20: powerplay 1–6, middle 7–15, death 16–20. ODI: 1–10, 11–40, 41–50. The Hundred: balls 1–25, 26–75, 76–100. Tests have no phases ("none"); use innings number, overs into the innings and ball age instead.
- Formats: Cricsheet's raw over numbers are 0-based; the toolkit's phase column is already converted.
- Crease: phase column; cricdata._phase.
- Taught in: Ch 1, Ch 2, Ch 3, Ch 18.
Runs (batting) and runs conceded (bowling)
Batting runs are runs off the bat. Runs conceded are total runs minus byes, leg-byes and penalty runs — so wides and no-balls are charged to the bowler.
$$\text{runs conceded} = \text{total} - \text{byes} - \text{leg-byes} - \text{penalty}$$
- Crease: cricdata.runs_conceded.
- Taught in: Ch 1, Ch 2, Ch 4.
Binding constraint and format-appropriate metric
The binding constraint is the resource (wickets or balls) that most often ends an innings in a format. A metric is format-appropriate when it is measured in the currency of that constraint and compared with a baseline from the same format, competition and era. - Benchmark: "72.8% of Test innings all out vs 16.3% of men's T20I innings" (2016+, full-member matches) — Ch 5. - Taught in: Ch 5.
C.1 Batting
Average against a bowling type (v pace, v spin)
Runs off the bat against one bowling type ÷ striker dismissals credited to a bowler of that type. Run-outs are excluded, so it runs slightly above the overall average.
- Formats: Mainly Tests. Needs the styles table; report typed coverage.
- Benchmark: "top-order average SENA v pace 33.67 / v spin 49.37; Subcontinent v pace 39.41 / v spin 38.93" (men's Tests, 96.9% of balls faced typed) — Ch 10.
- Crease: test_batting.pace_spin_split.
- Taught in: Ch 10.
Average inflation, not-out %, not-outs
How much not-outs lift a batting average above runs per visit to the crease.
$$\text{not-outs} = \text{innings} - \text{outs}, \qquad \text{inflation} = \frac{\text{average}}{\text{runs per innings}} = \frac{1}{1 - \text{not-out rate}}$$
Not-out % is 100 × not-outs ÷ innings.
A batter dismissed every innings scores 1.00; not out in half of them, 2.00.
- Formats: Largest for T20 finishers and lower-order Test batters. Says nothing about skill on its own.
- Benchmark: "Dhoni IPL not-out 41.32% of innings; average 38.30 vs 22.48 runs per innings (1.70× inflation)"; "IPL 2008–2026, batters ≥ 60 innings (n=97): median not-out % 16.7; median inflation 1.200" — Ch 4. Kohli, IPL: not-out 16.0%, inflation 1.191 (this appendix's script).
- Crease: traditional.traditional_batting → not_outs, not_out_pct, runs_per_innings, average_inflation.
- Taught in: Ch 4.
Balls per boundary
Balls faced per four or six; the spoken form of boundary-ball %. $\text{balls} / (\text{4s} + \text{6s})$.
- Benchmark: IPL regulars (≥500 balls) median 5.64 — Ch 8.
- Crease: batting.batting_profile → balls_per_boundary.
- Taught in: Ch 8.
Balls per dismissal
How long a batter survives, in deliveries. $\text{balls faced} / \text{outs}$.
- Formats: The key Test survival number. Weak in T20, where batters are asked to risk their wicket.
- Benchmark: "Average vs balls per dismissal r 0.77; vs SR 0.07" (Test batters); "Set batters' balls per dismissal 88.3 (overs 61–80) → 66.0 (81–90, second new ball)" — Ch 10.
- Crease: test_batting.career_card → balls_per_dismissal.
- Taught in: Ch 5, Ch 10.
Batting average
Runs per dismissal. $\text{average} = \text{runs} / \text{outs}$; undefined (not infinite) with zero outs.
- Formats: The core Test batting number. In T20 it is mostly noise at season level and rewards not-outs, so pair it with strike rate. In ODIs it still matters because wickets and balls both bind.
- Benchmark: IPL regulars (≥500 balls) median 28.40 — Ch 8. "Among the 58 IPL batters with ≥1,500 balls, corr(average, strike rate) = 0.16" — Ch 1. Kohli IPL 40.42 (9,336 runs, 231 outs) — this appendix's script.
- Crease: cricdata.batting_summary → average.
- Taught in: Ch 1, Ch 2, Ch 4, Ch 8.
Boundary-ball %
Share of balls faced hit for four or six. $100 \times (\text{4s} + \text{6s}) / \text{balls faced}$.
- Formats: The single best descriptor of T20 scoring speed. Less informative in Tests.
- Benchmark: "boundary-ball % alone explains 76% of IPL SR variance, + dot % or non-boundary SR → 94.6%"; IPL regulars median 17.74 — Ch 8.
- Crease: cricdata.batting_summary → boundary_ball_pct.
- Taught in: Ch 2, Ch 5, Ch 8.
Boundary-run %
Share of a batter's runs that came in fours and sixes. $100 \times (4 \cdot \text{4s} + 6 \cdot \text{6s}) / \text{runs}$. Note the denominator is runs, not balls.
- Formats: A style descriptor, not a quality measure.
- Benchmark: the oft-quoted "elite batters score 55–65% of runs in boundaries" is wrong in the data: that band "holds 80 of 140 regular IPL batters (≥500 balls, 57%); the fastest-scoring tenth have median boundary-run % 71.52" — Ch 8. Most repeatable batting metric in Ch 8's test (r 0.572).
- Crease: cricdata.batting_summary → boundary_run_pct.
- Taught in: Ch 2, Ch 5, Ch 8.
Boundary value and six share
Average runs per boundary ball (between 4 and 6), and sixes as a share of boundaries.
$$\text{boundary value} = \frac{4 \cdot \text{4s} + 6 \cdot \text{6s}}{\text{4s} + \text{6s}}, \qquad \text{six share} = 100 \times \frac{\text{6s}}{\text{4s} + \text{6s}}$$
- Benchmark: IPL regulars median boundary value 4.63, six share 31.66 — Ch 8.
- Crease: batting.batting_profile → boundary_value, six_share.
- Taught in: Ch 8.
Conversion rate (and shrunk conversion)
Share of fifty-plus scores turned into hundreds. $\text{conversion} = 100 \times \text{100s} / (\text{50s} + \text{100s})$, where a fifty is 50–99. Some sources use 100s ÷ 50s, which is always larger; the book does not.
Shrunk: $(\text{100s} + a) / (\text{50+ scores} + a + b)$ with a Beta prior fitted on batters with 20+ chances.
- Formats: Tests. Small denominators: always shrink.
- Benchmark: "Kohli 49.2%, Smith 45.1%, Williamson 46.5% raw → shrunk 41.7 / 40.5 / 40.8%; pool 33.7%; prior weight 56 fifty-plus scores" — Ch 10.
- Crease: test_batting.conversion_table.
- Taught in: Ch 10.
Dismissal hazard and milestone ladder
Hazard: the share of balls on which the striker was dismissed, grouped by a clock (balls faced, score, over). 1.2% means one dismissal per 83 balls. Milestone ladder: P(reach the next score | reached this one), with innings that ended not out between steps excluded.
- Formats: Tests mainly; separate the batter's clock (balls faced) from the ball's clock (over of the innings).
- Benchmark: "No nervous nineties: per-ball dismissal risk 1.17% on 90–99 vs 1.29% on 80–89" — Ch 10.
- Crease: test_batting.hazard_by_balls_faced, hazard_by_score, hazard_by_over, milestone_ladder.
- Taught in: Ch 10.
Dot-ball % (batting)
Share of balls faced with no run off the bat. Byes and leg-byes do not rescue a dot.
- Formats: The default outcome in Tests (not a flaw there). In T20 it matters less than you'd think: "Dot % vs boundary-ball % correlation −0.00" (IPL regulars) — Ch 8.
- Benchmark: IPL regulars median 36.38 — Ch 8. Kohli IPL 32.6 — this appendix's script. A team-level dot % on legal balls (Ch 3: "IPL 2026 powerplay: 41.4%") uses a different denominator.
- Crease: cricdata.batting_summary → dot_pct.
- Taught in: Ch 2, Ch 5, Ch 8.
Era-matched relative average and relative SR (and the Test era-relative average)
A player's average (or SR) divided by the top-seven baseline of the same competition, weighted by the balls he faced in each calendar year. 1.00 = typical top-seven batter of that competition and era.
$$\text{relative average} = \frac{\text{average}}{\sum \omega(y) \cdot \text{baseline average}(y)}, \qquad \omega(y) = \frac{\text{balls in year } y}{\text{total balls}}$$
Ch 10's era-relative average is the Test-only version (top order, Tests between full members).
- Formats: Built for cross-format and cross-era comparison. Cricsheet's Tests start December 2001, so earlier careers are partial.
- Benchmark: Cross-format (76 men in all three): "Test avg vs T20I SR ρ=−0.01; ODI SR vs T20I SR ρ=0.80" — Ch 5.
- Crease: formats.era_baseline, formats.relative_card; test_batting.era_baseline, test_batting.relative_average.
- Taught in: Ch 5, Ch 10.
Expected runs (xR) and runs above expected (RAE)
xR: for each ball faced, the league's average runs off the bat in the same situation — innings, over, wickets lost (0–1, 2–3, 4–5, 6+) and, in a chase, the required-rate band (under 6, 6–8, 8–10, 10–12, 12–15, 15+) — summed over the innings. Cells under 200 balls fall back to (innings, over, wickets lost). $\text{RAE} = \text{runs} - \text{xR}$.
- Formats: T20 (men's T20 pool). Named xR so it is not confused with Ch 19's Expected Runs table (ER).
- Benchmark: Anchor A (Newlands): "Prasanna xR 24.46, RAE +12.54" — Ch 9.
- Crease: impact.expected_runs_table, impact.add_expected_runs, impact.innings_impact.
- Taught in: Ch 9.
Head-to-head (H2H)
A batter's record against one bowler: balls faced, runs off the bat, and dismissals credited to that bowler (run-outs excluded). Pin both players by registry id, because names collide.
- Formats: Almost always too small to trust: "261,942 batter–bowler pairs, median 5 balls" (men's T20 pool) — Ch 11. Use the shrunk matchup entries below.
- Crease: matchups.head_to_head.
- Taught in: Ch 11.
Home–away gap and visitor difficulty index
Home–away gap: home average − away average. Visitor difficulty index for host country $h$:
$$\text{index}(h) = 100 \times \frac{\text{runs made in } h \text{ by visiting top-order batters}}{\sum \text{(each visitor's outs in } h) \times \text{(his average in away Tests outside } h)}$$
for visitors with 10+ dismissals in other away Tests. Below 100 = harder than an average tour.
- Formats: Tests between full members. Still mixes pitch with the home attack.
- Benchmark: "Home−away average gap: median 5.69 runs across 133 batters; only 7.5% exceed 20"; "Visitor difficulty index: South Africa hardest (80.6)" — Ch 10.
- Crease: test_batting.split_card for the split; the index is in the chapter script code/04_home_away.py.
- Taught in: Ch 10.
Intent ratio (chases)
Runs scored as a share of what the asking rate demanded on the balls the batter faced.
$$\text{intent} = 100 \times \frac{\text{runs}}{\sum (\text{runs needed} / \text{balls left})}$$
with the sum taken over the balls the batter faced.
100 = exactly at the asking rate.
- Formats: Second innings of limited-overs matches only.
- Benchmark: "IPL chase innings below 70% of the asking rate had negative WPA on average; 40+ runs below 85% came in chases won only 18.9% of the time" — Ch 9.
- Crease: impact.innings_impact → intent.
- Taught in: Ch 9.
Kaplan–Meier batting survival
P(an innings lasts at least $t$ balls), with not-outs treated as censored rather than dismissed.
$$\hat S(t) = \prod_{u \le t} \left(1 - \frac{d(u)}{n(u)}\right)$$
$d(u)$ dismissals at ball $u$, $n(u)$ innings still going. Median survival = smallest $t$ with $\hat S(t) \le 0.5$.
- Formats: Tests and ODIs mainly; in T20 it describes how short innings are.
- Benchmark: "KM P(survive 100 balls): Williamson 37.1%, Smith 35.8%, Root 33.6%, Labuschagne 30.4%, Kohli 30.0%" — Ch 10. "Median T20 innings lasts 13 balls (KM)" — Ch 27. "Half of top-order Test innings end within 41 balls" — Ch 5.
- Crease: test_batting.survival_frame, km_summary, p_survive.
- Taught in: Ch 5, Ch 10, Ch 27.
Matchup metrics: expected SR, shrunk SR, shrunk dismissal rate, matchup effect, run value
How a batter does against a bowling type compared with what his own skill and the situation predict.
- Bowling type (Ch 11): six groups — right-arm pace, left-arm pace, off-spin, left-arm orthodox, leg-spin, left-arm wrist-spin.
- Expected SR: league runs per ball in each ball's cell (batting hand × type × phase × era × settle bucket), times the batter's skill index on his other five types (shrunk to 1.0 with 300 balls).
- Shrunk SR: $\text{expected} + \frac{n}{n + k}(\text{observed} - \text{expected})$, with $k$ = k_sr.
- Shrunk dismissal rate: $(\text{dismissals} + k \cdot \text{expected rate}) / (n + k)$, with $k$ = k_dr.
- Matchup effect: d_sr = shrunk SR − expected SR (negative = weakness).
- Run value: $\text{SR} - 100 \times c \times \text{dismissal rate}$, with $c = 6$ runs (Ch 4's price of a wicket at halfway).
- Formats: Men's T20 pool; women's dismissal matchups are mostly noise (k_dr 2,905).
- Benchmark: "Shrinkage constants: men k_sr = 303 balls, k_dr = 1,956; women 269 / 2,905"; "Out-of-sample error: raw matchups 404 vs ignoring matchups 220 vs shrunk (k=300) 208"; "LHB v off-spin SR 116.1 (index 87.9)" — Ch 11. Anchor D: de Kock v off-spin (1,226 balls) raw SR 112.9, expected 125.8, shrunk 115.5 (90% 108.5–122.4) — Ch 11.
- Crease: matchups.expected_matchups, fit_matchup_k, shrink_matchups, matchup_report, weaknesses.
- Taught in: Ch 11; reused in Ch 31 and Ch 38.
Non-boundary strike rate (NBSR)
Strike rate on every ball not hit for four or six: rotation and running.
$$\text{NBSR} = 100 \times \frac{\text{runs} - (4 \cdot \text{4s} + 6 \cdot \text{6s})}{\text{balls} - \text{4s} - \text{6s}}$$
Identity (exact): $\text{SR} = 100 \cdot b \cdot \text{BV} + (1 - b) \cdot \text{NBSR}$, with $b$ the boundary-ball fraction and BV the boundary value.
- Benchmark: IPL regulars median 65.11; "Lowest dot %: Klaasen 24.80 (SR 166.72, NBSR 80.32, highest of 140)" — Ch 8. Kohli IPL 70.48 — this appendix's script.
- Crease: batting.batting_profile → nbsr; batting.sr_decomposition.
- Taught in: Ch 8.
Percentile rank (within a pool)
Share of the pool at or below a player's value, inverted for lower-is-better metrics so a high percentile always means better.
- Formats: Depends entirely on the pool; always state it.
- Crease: batting.percentile_card; charts.percentile_frame.
- Taught in: Ch 7, Ch 8.
Relative phase SR
A batter's phase strike rate minus the league's phase strike rate over the same seasons. Drawn as a diverging heat map; cells under 30 balls left blank.
- Benchmark: "IPL 2024–26 league SR by phase: powerplay 153.12, middle 144.50, death 171.61" — Ch 7.
- Crease: charts.heatmap.
- Taught in: Ch 7.
Runs above par (batting)
Runs scored minus what an average batter would have scored on the same balls. Par for each ball = league runs off the bat per ball faced in the same season and phase.
$$\text{RAP} = \text{runs} - \sum \text{par}(\text{year, phase}), \qquad \text{RAP per 100} = 100 \times \text{RAP} / \text{balls}$$
with the sum taken over the balls faced.
The additive cousin of SR+: $\text{RAP per 100} = (\text{SR+} - 100) \times \text{par SR} / 100$.
- Formats: T20 and ODI. Ignores wickets, bowlers and match state.
- Benchmark: "Russell avg 28.20 vs Kallis 28.55 in IPL; vs season-phase par Russell +459.2 runs, Kallis −218.9"; "corr(average, runs above par) 0.06; corr(SR, runs above par) 0.73" (58 batters, ≥1,500 balls) — Ch 4. Kohli +235.4 (3.4 per 100) — Ch 4 and this appendix's script.
- Crease: traditional.runs_above_par.
- Taught in: Ch 4.
Runs per innings (RPI)
Runs per visit to the crease, with no not-out discount. $\text{RPI} = \text{runs} / \text{innings}$.
- Formats: Fairer than average for T20 finishers; penalises short finishing cameos.
- Benchmark: IPL regulars median 23.28 — Ch 8. Kohli IPL 33.95 — this appendix's script.
- Crease: batting.batting_profile → rpi; traditional.traditional_batting → runs_per_innings.
- Taught in: Ch 4, Ch 8.
SR+ (phase- and season-adjusted strike rate)
Runs as a percentage of what an average batter would have scored on the same balls. 100 = par for the batter's own mix of seasons and phases.
$$\text{SR+} = 100 \times \frac{\text{runs}}{\text{par runs}}, \qquad \text{par runs} = \sum \text{par}(\text{year, phase}), \qquad \text{par SR} = 100 \times \frac{\text{par runs}}{\text{balls}}$$
with the sum taken over the balls faced.
In Ch 25 onward, par cells also include the competition (competition × year × phase).
- Formats: Built for T20; works for ODIs with ODI phases. Comparable across eras because par moves with the league: "IPL powerplay par SR 113.1 (2012) → 159.1 (2026)" — Ch 8.
- Benchmark: "Kohli death 120.5 vs Suryakumar 110.7" — Ch 8. Career IPL: Kohli 102.6 (par SR 131.4), by phase 99.6 / 99.6 / 120.5 — Ch 8 and this appendix's script. "Suryavanshi (IPL 2025–26 + full-member T20Is) SR+ 144.0 (90% 131.5–155.7, 608 balls)" — Ch 38.
- Crease: batting.sr_plus, batting.phase_par, batting.phase_profile; partnerships.sr_plus_rating; projection.batting_lines.
- Taught in: Ch 8; reused in Ch 12, Ch 25, Ch 26, Ch 34, Ch 37, Ch 38.
SR+ interval (innings bootstrap)
Resample a batter's innings with replacement (4,000 times), recompute SR+ each time, report the 5th and 95th percentiles. Resampling innings, not balls, keeps within-innings dependence.
- Benchmark: "Richa Ghosh (women's T20 pool 2023–26) SR+ 114.6 (107.6–121.3)" — Ch 38.
- Crease: chapter script; the general cluster bootstrap is uncertainty.ratio_ci / uncertainty.strike_rate_ci.
- Taught in: Ch 6, Ch 38.
Strike rate (SR)
Runs per 100 balls faced. $\text{SR} = 100 \times \text{runs} / \text{balls faced}$. SR 150 = 9 runs per six-ball over.
- Formats: Central in T20 and ODIs; secondary in Tests, where survival matters more ("Average vs balls per dismissal r 0.77; vs SR 0.07" — Ch 10). Raw SR mixes skill with phase and era; use SR+ to compare.
- Benchmark: IPL regulars (≥500 balls) median 135.58 (10th–90th 118.84–154.29) — Ch 8. "Kohli IPL average 40.42 (9,336 runs, 231 outs, SR 134.80)" — Ch 1. "Kohli death-overs SR 188.38 / Suryakumar 178.21 (career, phase 16–20)" — Ch 1.
- Crease: cricdata.batting_summary → strike_rate.
- Taught in: Ch 1, Ch 2, Ch 3, Ch 8.
Venue-neutral strike rate
Strike rate divided by the ball-weighted average run factor of the grounds where the balls were faced (see venue run factor, C.5).
- Benchmark: "58 batters ≥1,500 balls: median |change| 0.39 SR pts"; Kohli 134.80 → 133.44 — Ch 22.
- Crease: venue_toss.venue_adjusted_batting.
- Taught in: Ch 22.
C.2 Bowling
Average × strike rate (and era-relative avg × SR)
A single Test bowling number that weights wicket-taking heavily.
$$\text{avg} \times \text{SR} = \frac{R}{W} \cdot \frac{B}{W} = \frac{R \cdot B}{W^2} = \frac{\text{economy} \times \text{SR}^2}{6}$$
Lower is better; its square root is the geometric mean of average and SR. The era-relative version is $(\text{avg}/\text{base avg}) \times (\text{SR}/\text{base SR})$, baselines weighted by the bowler's balls per year.
- Formats: Tests. In T20 it rewards wicket luck; use economy-based metrics.
- Benchmark: "Average × SR: Bumrah 848, Rabada 876; era-adjusted Steyn (0.425)" (men's Tests) — Ch 16. For contrast, Bumrah's IPL figure is 461.1 (this appendix's script) — a different format, not comparable.
- Crease: test_bowling.avg_x_sr_table.
- Taught in: Ch 16.
Away/home ratio
Bowling average in away Tests ÷ bowling average in home Tests (neutral venues excluded). Above 1 = dearer away.
- Benchmark: "Away/home cost per wicket: median 1.19× (54 bowlers); spinners 1.15 vs pace 1.21 … Starc 1.05, Lyon 0.91, Woakes 2.05" — Ch 16.
- Crease: test_bowling.bowler_card (home/away split); ratio in the chapter script.
- Taught in: Ch 16.
Bowling average and bowling strike rate
Runs conceded per wicket, and legal balls per wicket. $\text{average} = R/W$, $\text{SR} = B/W$.
- Formats: Tests: the core numbers. T20: wicket counts are noisy ("Year-to-year r: wicket rate 0.16" — Ch 14), so averages swing on luck. "IPL season-to-season repeatability: bowling average 0.07" — Ch 6.
- Benchmark: "Pace average SENA 29.74 / subcontinent 35.05; spin average subcontinent 32.06 / SENA 39.60" (men's Tests 2001–26) — Ch 16.
- Crease: cricdata.bowling_summary → average, strike_rate.
- Taught in: Ch 2, Ch 4, Ch 14.
Bowling Runs Saved (BRS)
Runs a bowler saved against an average bowler bowling the same balls, with wickets priced in runs.
$$\text{BRS} = \Big[\sum \text{par runs per legal ball} - \text{runs conceded}\Big] + \Big[\sum v(\text{over}) \cdot (\text{wicket} - \text{par wicket rate})\Big]$$
The first bracket is runs saved, the second the wicket value.
Par is the league rate for that calendar year and phase. The wicket value splits into opportunity $\sum v \cdot (\text{xW} - \text{par})$ and execution $\sum v \cdot (W - \text{xW})$.
BRS per ball, over-by-over par (Ch 31) uses par by competition × year × over and the over's wicket value: "10.92 runs in over 1, 7.01 in over 10, 3.27 in over 16, 0 in over 20". A bowler's phase value is his shrunk BRS per over in a phase (general shrinkage k ≈ 700 balls, interaction k ≈ 5,200 balls, men's pool).
- Formats: T20 (IPL, T20Is, women's T20Is). Same quantity as Ch 21's bowling value above par.
- Benchmark: "Narine 1,070 (IPL career), Bumrah 340 (IPL 2024–26), Ecclestone 383 (women's T20Is)" — Ch 14.
- Crease: bowling.impact_table, bowling.wicket_values; bowling_plan.ball_values, shrink_phase_values.
- Taught in: Ch 14, Ch 21, Ch 31.
Boundary % (bowling)
Share of legal balls hit for four or six.
- Formats: The main driver of T20 economy: "At the death, economy correlates 0.94 with boundary % but −0.51 with dot %" — Ch 14.
- Benchmark: IPL 2024–26 by phase 25.55 / 17.86 / 23.95 — Ch 14.
- Crease: cricdata.bowling_summary → boundary_pct.
- Taught in: Ch 2, Ch 14.
Dismissal mix and stumps share
Dismissal mix: % of bowler wickets bowled, lbw, caught (incl. c&b), stumped. Stumps share: (bowled + lbw) ÷ bowler wickets — a real-data proxy for attacking the stumps.
- Benchmark: "LBW share of bowler wickets — men's Tests 17.0%, IPL 6.5%"; "IPL death (25 bowlers, 600+ death balls) Malinga 42.6% highest, Bravo 16.5%; ρ(stumps share, economy) −0.52"; "Rashid highest bowled+lbw share 51.2%" (Ch 18) — Ch 15.
- Crease: tracking.dismissal_modes → stumps_pct.
- Taught in: Ch 15, Ch 18.
Dot-ball % (bowling)
Share of legal balls conceding nothing (no runs charged to the bowler).
- Formats: Useful for role and pressure within a phase; misleading across phases.
- Benchmark: the folk rule "the best death bowlers have 30%+ dots" is not a mark of the elite: "57.4% of 68 regular IPL death bowlers clear 30%" — Ch 14.
- Crease: cricdata.bowling_summary → dot_pct.
- Taught in: Ch 2, Ch 14.
Economy rate
Runs conceded per six legal balls. $\text{economy} = 6 \times R / B$.
- Formats: The primary T20 bowling number; important in ODIs; secondary in Tests (where it repeats strongly: "Repeatability: economy 0.814, SR 0.414" — Ch 16). Always compare within phase and era.
- Benchmark: "IPL 2024–26 economy by phase: powerplay 9.56, middle 8.97, death 10.84" — Ch 1. "Bumrah IPL death overs: 1,423 balls, economy 8.19, 102 wickets" — Ch 7. Bumrah IPL career 7.34 — Ch 4 and this appendix's script.
- Crease: cricdata.bowling_summary → economy.
- Taught in: Ch 1, Ch 3, Ch 4, Ch 14.
Economy shape and runs per scoring ball
Economy split into where the runs came from:
$$\text{economy} = 6 \cdot \frac{\text{boundary runs}}{B} + 6 \cdot \frac{\text{other bat runs}}{B} + 6 \cdot \frac{\text{wide and no-ball runs}}{B}$$
— the boundary, other-bat and extras economies.
Runs per scoring ball = runs conceded ÷ legal balls that were not dots.
- Benchmark: "Death shape league: boundary 6.016 + other 3.512 + extras 0.353 = 9.88" (IPL 2008–26); runs per scoring ball is the most repeatable bowling metric in Ch 14 (r = 0.72) — Ch 14.
- Crease: bowling.economy_shape.
- Taught in: Ch 14.
Economy vs par (par economy)
Economy minus the economy an average bowler would have had bowling the same mix of seasons and phases. Negative is good.
$$\text{par economy} = 6 \times \frac{\sum \text{par runs per legal ball (year, phase)}}{B}$$
with the sum taken over the bowler's legal balls.
- Formats: T20 and ODI. Still ignores wickets — see BRS.
- Benchmark: "IPL economy vs par (year × phase), ≥ 1,200 legal balls (n=72): Narine −1.65, Bumrah −1.57 (par 8.91…)" — Ch 4. Simpson's paradox: "Bumrah cheaper than Ashwin in every IPL phase but dearer overall (7.34 vs 7.20)" — Ch 4.
- Crease: traditional.economy_vs_par.
- Taught in: Ch 4, Ch 14.
Excess handedness gap and bowler hand split
How unusually a bowler fares against left- versus right-handers, compared with his kind.
$$\text{excess gap} = (\text{SR v LHB} - \text{SR v RHB}) - (\text{same difference for all bowlers of the kind})$$
Ch 11's bowler hand split shrinks the raw split toward the type's league split (k = 400).
- Benchmark: "Off-spin median gap −12.2; left-arm orthodox +20.0" — Ch 11. "Narine the one clear handedness-neutral spinner (highest shrunk excess of 76, 100th percentile)" — Ch 18.
- Crease: bowling_types.handedness_gap, shrink_excess; matchups.bowler_hand_splits.
- Taught in: Ch 11, Ch 18.
Expected wickets (xW) and wickets above expected
xW: the summed probability that each legal ball takes a bowler wicket, given only the context (over, wickets down, innings, required rate, striker's balls faced so far, striker's dismissal rate in other seasons, year). $W - \text{xW}$ = wickets above expected; $z = (W - \text{xW})/\sqrt{\sum p(1-p)}$; shrunk $W - \text{xW}$ multiplies by $s^2 / (s^2 + \sigma_i^2)$.
- Formats: T20. Wicket counts are mostly luck: "Year-to-year r: wicket rate 0.16; wickets above xW 0.06" — Ch 14.
- Benchmark: "Context-only xW: out-of-fold AUC 0.617 … wrist spinners beat xW by 230 wickets (z 5.7)"; "Bumrah IPL 2026: 4 wkts vs 14.78 xW (≤4 in ~0.06% of simulated seasons)" — Ch 14.
- 🧪 A simulated-tracking xW scored AUC 0.648, and the gain is leakage from the simulator; it is taught as a warning, not a result.
- Crease: bowling.xw_features, fit_xw, cross_fit_xw, xw_table, tracking_xw_comparison.
- Taught in: Ch 14.
Length-table rates 🧪 (or real feed)
Economy, dot %, boundary %, wickets per 100 balls and share % by length band, on legal balls only — so slightly below standard economy.
- Formats: Needs ball-tracking. On the book's simulated layer these describe the simulator, not the bowler. Audit: with outcome conditioning switched off, "every length's economy 9.60–9.62" — Ch 15.
- Crease: tracking.length_table, line_length_grid, implied_length_table.
- Taught in: Ch 15.
Luck share (bowling)
Share of the spread in $(W - \text{xW})$ per ball across bowlers that pure binomial noise would create.
- Benchmark: "luck share of career spread in wickets above xW: IPL 64%, women's T20Is 40%" — Ch 14.
- Crease: bowling.luck_share.
- Taught in: Ch 14.
Main death bowler and split bowler
Main death bowler: bowled most of overs 16–20 in an innings. Split bowler: bowled at least one powerplay over and one death over in the same innings.
- Benchmark: "MI actually used him [Bumrah] 14 powerplay : 4 death overs in 2026 second innings" — Ch 31.
- Crease: bowling_plan.innings_usage.
- Taught in: Ch 31.
Nominal ball age
Overs since the ball was new, assuming each new ball is taken as soon as it is due. Ball number $= \lfloor (n-1)/80 \rfloor + 1$; ball age $= ((n-1) \bmod 80) + 1$ for over $n$.
- Formats: Tests. Understates any second-new-ball effect because captains sometimes delay it.
- Benchmark: "Second new ball: pace wicket every 46.53 balls in overs 81–90 = 1.23× expected" — Ch 16.
- Crease: test_bowling.add_ball_age, ball_age_profile.
- Taught in: Ch 16.
Relative economy (spell)
A spell's economy ÷ the run rate of the rest of the match. The "spell that beat the match" fact.
- Benchmark: "Rashid Khan's spell 4.25/over vs 11.17 for the other 216 balls (only 111 of 10,408 earlier IPL spells that far below their match)" — Ch 37.
- Crease: storytelling.match_facts.
- Taught in: Ch 37.
Scoreless streaks and set-ness
Team streak: consecutive deliveries before this one with no run of any kind (wides and no-balls break it). Striker streak: consecutive balls faced by this batter with nothing off the bat. Set-ness: balls the striker had already faced.
- Benchmark: "Dot-ball 'pressure' does NOT raise next-ball wicket odds (OR 0.848 per +10 striker dots, controlled)" (men's Tests) — Ch 16.
- Crease: test_bowling.add_dot_streaks, pressure_curve.
- Taught in: Ch 16.
Shrunk economy
Economy pulled toward the league with a prior worth $k$ balls: $(B \cdot \text{econ} + k \cdot \text{league econ})/(B + k)$.
- Benchmark: "Death-over shrinkage k = 158 balls (pooled men's leagues)" — Ch 38. "Bowling economy projectable (k ≈ 487 legal balls)" — Ch 25.
- Crease: uncertainty.shrink_normal.
- Taught in: Ch 6, Ch 25, Ch 38.
Spell and over in spell
A spell is a maximal run of a bowler's overs in an innings, each exactly two overs after the previous one. Spell length = overs in it; over in spell = position (1, 2, 3, …). An over is credited to the bowler who bowled most of its legal balls.
- Formats: Tests (and any format). Intervals and drinks are invisible in Cricsheet.
- Benchmark: "61,230 spells; 20.5% of spin spells reach 9+ overs and hold 48.6% of spin overs" (men's Tests 2001–26) — Ch 16.
- Crease: test_bowling.extract_spells, spell_table, over_in_spell_profile.
- Taught in: Ch 16.
Spin share, spin–pace gap and spin cost of a wicket
Spin share of balls = spin legal balls ÷ typed legal balls; spin share of wickets = spinners' bowler wickets ÷ typed bowler wickets (untyped balls excluded from both). Spin–pace economy gap = spin economy − pace economy. Spin cost of a wicket (Ch 29) = spinners' legal balls ÷ spinners' bowler wickets. The shrunk venue spin gap pulls a ground's gap toward the league with k = 3,000 spin balls.
- Formats: Always report typed coverage alongside.
- Benchmark: "Tests since 2015 spin share of balls SENA 24.2% / subcontinent 65.3%"; "Spin cheaper than pace in all 11 men's T20 competitions since 2023" — Ch 18. "SENA spin wicket costs 104.6 balls in first 100 overs → 60.3 after 300" — Ch 29. "Women's T20Is: 50.9% of death overs to spin (men 17.9%)" — Ch 31.
- Crease: bowling_types.type_share, type_card, venue_spin_index; test_sim.type_share_table.
- Taught in: Ch 18, Ch 29, Ch 40.
Turn direction (bowling kind)
For spin, whether the stock ball turns away from or into the batter: off-spin and left-arm wrist-spin turn into a right-hander; leg-spin and left-arm orthodox turn away from a right-hander (reversed for left-handers).
- Benchmark: "Spin turning away from the bat costs ~9 SR points in men's T20 (121.47 v 130.29); dismissal rate unchanged" — Ch 18.
- Crease: bowling_types.turn_direction.
- Taught in: Ch 18.
Typed coverage and data completeness
Typed coverage: share of legal balls whose bowler has a high- or medium-confidence style row. Hand coverage: share of balls faced whose striker's hand is known. Completeness (Ch 40): share of records carrying a field.
- Benchmark: "Bowler type known: 24.2% of men's associate T20I balls vs 97.7% IPL" (2023–26) — Ch 40. "IPL 2026: 96.5% of legal balls typed, 575 untyped" (final styles table) — Ch 18; the table's own notes (player_styles_SOURCES.md) give IPL 2026 96.6% and WPL 2026 99.6% on a slightly different denominator.
- Crease: bowling_types.coverage; tracking.coverage (simulated layer).
- Taught in: Ch 18, Ch 40.
Wickets per 24 balls
A readable T20 wicket rate: $24 \times W / B$.
- Formats: Noisy over a season — reliability 0.162 year to year in the IPL (Ch 14).
- Crease: traditional.traditional_bowling → wkts_per_4ov (with runs_per_4ov).
- Taught in: Ch 4, Ch 14.
Workload proxy and acute:chronic ratio
Legal match balls a bowler sent down in a calendar week across every competition in the data (Tests dated to their start week). Acute:chronic = this week's balls ÷ mean of the last four weeks (including this one). - Formats: Match balls only — no nets, training or first-class domestic cricket — so it is a proxy, not a workload. - Benchmark: "56.6% of pace bowlers' weeks look like 'spikes' (artefact of match-only data)" — Ch 40. - Crease: chapter script. - Taught in: Ch 40.
C.3 Fielding
Byes per 100 overs
Keeper's byes conceded per 100 overs kept: $600 \times \text{byes} / \text{legal balls kept}$ (keeper inferred).
- Benchmark: "Test byes per 100 overs all keepers 4.81" — Ch 17.
- Crease: fielding.byes_by_keeper, fielding.infer_keepers.
- Taught in: Ch 17.
Catch runs
The sum, over a fielder's catches, of the wicket value of the over each was taken in. Catch runs per match divides by non-keeping matches.
- Benchmark: "Catch value: ~9.5 runs in IPL over 3 vs 1.6 in over 18; average IPL catch (2015–26) 5.34 runs" — Ch 17.
- Crease: fielding.wicket_value_by_over, fielding.fielder_table.
- Taught in: Ch 17.
Catches above expected (CAE) 🧪
Catches held minus the catches an average fielder would have held on the same chances, given each chance's difficulty. $\text{CAE} = \text{held} - \sum p_{\text{avg}}$; catch runs above expected $= \sum v(\text{over}) \times (\text{held} - p_{\text{avg}})$.
- Formats: Needs chance-level data (drops, difficulty), which Cricsheet does not record. The book's version runs on a simulated chance layer (sim_p_avg).
- Crease: fielding.sim_catch_layer, catches_above_expected, sim_reliability.
- Taught in: Ch 17.
Caught share and fielder-involved %
Caught share: caught dismissals (incl. c&b) as a % of all dismissals (retirements excluded). Fielder-involved %: (caught + run out + stumped) ÷ dismissals.
- Benchmark: "fielders involved in 77.1% of IPL dismissals, 65.8% in men's Tests"; "IPL caught share 61.1% (2008) → 77.1% (2026)" — Ch 17. Caught share "men's T20 66.7%, women's 55.8%, ODIs 63.5%, Tests 61.6%" — Ch 32.
- Crease: fielding.dismissal_mix; fields.per_over_rates.
- Taught in: Ch 17, Ch 32.
Economy equivalent of runs saved
A fielder who saves $R$ runs a match lowers his team's runs per over by $R$ ÷ overs in the innings, and is worth the same as one bowler cutting his economy by $R$ ÷ that bowler's overs.
- Benchmark: "'15 runs saved = 1.5 economy' holds only for one ODI bowler's 10 overs; in T20 it's 0.75/over for the team or 3.75 for one bowler's 4 overs" — Ch 17.
- Crease: fielding.runs_saved_to_economy.
- Taught in: Ch 17.
Fielding credit and involvement
Each named fielder in a catch, stumping or run-out gets one involvement. A catch or stumping is a full credit of 1; a run-out with $k$ named fielders gives each $1/k$. Substitutes keep credits but are excluded from per-match rates.
- Formats: "27.6% of men's Test run-outs name no fielder" — Ch 17. Cricsheet has no drops or misfields.
- Crease: fielding.fielding_events, fielder_table.
- Taught in: Ch 17.
Field objective, runs-equivalent of a wicket, break-evens 🧪 (model)
Field objective: $J(F) = E[\text{runs per ball} \mid F] - v \times P(\text{catch per ball} \mid F)$, minimised subject to the fielding restrictions; reported × 6 as runs-equivalent per over. Shot directions and the coverage model are simulated.
Runs-equivalent of a wicket (real WP model): for a chase at $(R, B, W)$,
$$\text{RE} = \frac{\text{WP}(R, B{-}1, W) - \text{WP}(R, B{-}1, W{-}1)}{\text{WP}(R{-}1, B{-}1, W) - \text{WP}(R, B{-}1, W)}$$
A field adding $\Delta p$ catches per ball at a cost of $\Delta r$ runs per ball pays when $\text{RE} > \Delta r / \Delta p$. Slip break-even: edges per over needed $=$ runs cost of the slip per over $/ (0.75 \times \text{RE})$, with 0.75 an assumed catch rate.
- Benchmark: "Newlands after 15 overs (WP v1): a wicket worth 1.9 runs"; 🧪 "attack-or-defend break-even 2.5 runs (middle) / 10.4 (death)" — Ch 32.
- Crease: fields.optimise_field, model_rates, wicket_runs_equivalent, field_wp_delta, catcher_breakeven.
- Taught in: Ch 32.
Rates per 100 legal balls and the restriction step
Boundary %, four %, six %, 1–3 %, dot % (nothing off the bat, no wicket), caught per 100, all per 100 legal balls. The restriction step is the gap at the rule boundary between two weighted straight lines fitted to the four overs either side (T20: overs 3–6 and 7–10), with a match bootstrap.
- Benchmark: "end of T20 powerplay (over 6 → 7): boundaries 20.70 → 11.15 per 100 balls; runs/over −1.58"; ODI fifth fielder out at the death (2015 change, difference-in-differences): "−0.72 runs/over ≈ 7 runs per innings" — Ch 32.
- Crease: fields.per_over_rates, phase_rates, restriction_step.
- Taught in: Ch 32 (with Case Study 1).
Shrunk catches per match and signal share
Outfield catches per non-keeping match pulled toward the league rate: $(C + r \cdot m)/(n + m)$, with $m = r / \text{true variance of rates}$. Signal share = (observed variance − mean Poisson noise) ÷ observed variance.
- Benchmark: "With IPL outfielders 2008–2026, r = 0.324 and m = 25.7 matches"; de Villiers 0.704 raw → 0.639 shrunk — Ch 17.
- Crease: fielding.shrunk_rate.
- Taught in: Ch 17.
Wicket value by over (catch value)
See the wicket-value family in C.5. Ch 17's version: minus the least-squares slope of (final first-innings total − score at the start of over $o+1$) on wickets down at that point, across completed first innings.
- Crease: fielding.wicket_value_by_over.
- Taught in: Ch 17.
C.4 Partnership
Left-right effect
Within-batter SR+ with an opposite-handed partner minus SR+ with a same-handed partner, weighting each batter by the smaller sample and bootstrapping over batters.
- Benchmark: "Left-right combo: +0.4 SR+ men's T20 (95% CI −0.32 to 1.18), +1.1 Tests (−0.08 to 2.24) — no group's interval clears zero; the Test figure is a hint, not a finding" — Ch 12.
- Crease: partnerships.hand_partner_effect.
- Taught in: Ch 12.
Pair excess ("chemistry") and chemistry reliability
How much faster a pair scores together than its two batters score apart. For pairs with 300+ balls together:
$$\text{excess} = \text{pair SR+} - \text{apart SR+}$$
where apart SR+ is each batter's SR+ with all other partners, weighted by his share of the pair's balls. Chemistry reliability uses the Spearman–Brown formula on a split-half correlation $r$: $2r/(1+r)$; shrunk excess ≈ reliability × observed.
- Benchmark: "Abhishek Sharma & Head IPL partnership 1,892 runs at 12.47/over (league 9.69); raw chemistry +20.4 SR+ points shrinks to ~+5.5. Chemistry reliability: IPL split-half r 0.154 (reliability 0.27)" — Ch 12.
- Crease: partnerships.pair_excess, chemistry_reliability.
- Taught in: Ch 12.
Partnership (stand)
The deliveries from the first ball after one wicket event to the next wicket event or the end of the innings. Runs include extras (the scorebook figure); balls are legal deliveries. A retirement ends the stand but does not advance the wicket number.
- Crease: partnerships.tag_stands, partnership_table; charts.partnership_table, partnership_bars.
- Taught in: Ch 7, Ch 12.
Partnership average and mean stand
Partnership average = partnership runs ÷ stands ended by a dismissal. Mean stand = partnership runs ÷ all stands. They differ the way batting average and runs per innings do.
- Crease: partnerships.pair_summary.
- Taught in: Ch 12.
Partnership network: degree, partnership runs, top-partner share, betweenness
One node per batter, one edge per pair, weighted by runs added. Degree = distinct partners; partnership runs = weighted degree; top-partner share = share of those runs with the single most productive partner; betweenness = share of shortest paths between other batters that pass through this one.
- Formats: Betweenness measures position in the network, not value.
- Crease: partnerships.partnership_network, network_table.
- Taught in: Ch 12.
Rotation % and running %
Rotation %: 100 × non-boundary balls on which the batter scored ÷ non-boundary balls faced. Running %: 100 × scoring non-boundary balls worth 2+ ÷ scoring non-boundary balls.
- Formats: Rotation is a separate skill from scoring speed: "Rotation % vs SR r −0.01; rotation repeats better (season r 0.55)" — Ch 12.
- Benchmark: Rotation % / running %: "Test 21.38 / 22.48; ODI 42.71 / 14.67; T20I 54.52 / 16.48; IPL 55.79 / 14.47" — Ch 12.
- Crease: partnerships.rotation_profile.
- Taught in: Ch 12.
Settling cost and start ratio
Settling cost: runs a new batter loses in his first 10 balls compared with a set batter in the same overs (openers excluded). Start ratio: SR+ on his first 10 balls ÷ SR+ on later balls (par by season and over).
- Benchmark: "New-batter settling cost ≈ 2.47 runs (25.8 SR points, within-batter) in IPL"; start ratio "the IPL median is 0.81" — Ch 12.
- Crease: partnerships.settling_curve, settling_cost; start ratio in the chapter script code/06_settling_in.py.
- Taught in: Ch 12.
Strike share
A batter's balls faced ÷ both batters' balls faced in the stand.
- Benchmark: "Faster batter faces 50.4% of IPL balls; Test specialists with the tail face 48.4%" — Ch 12.
- Crease: partnerships.strike_shares.
- Taught in: Ch 12.
C.5 Match state and win probability
This family covers the innings as a state space, win probability and its credit, rain rules, venue and toss context, and the Test-match clock.
All-out %, run rate, runs per wicket, balls per wicket (format exchange rates)
Team-level exchange rates for a set of deliveries: run rate $= 6 \times \text{total runs}/\text{legal balls}$ (extras included); runs per wicket $= \text{total runs}/\text{dismissals}$; balls per wicket $= \text{legal balls}/\text{dismissals}$; all-out % = innings ending ten down.
- Benchmark: "run rate Tests 3.31 / ODIs 5.62 / men's T20Is 8.42 / IPL 8.84; balls per wicket Tests 55.5 / ODIs 35.7 / T20Is 17.6" (2016+, full-member matches; IPL all) — Ch 5.
- Crease: formats.format_baseline, formats.format_profile.
- Taught in: Ch 5, Ch 29.
Current and required run rate (CRR, RRR)
$\text{CRR} = 6 \times \text{runs} / \text{legal balls bowled}$; $\text{RRR} = 6 \times (\text{target} - \text{runs}) / \text{legal balls remaining}$.
- Formats: Limited overs; no RRR in Test chases (see first-ball required rate below).
- Benchmark: Anchor A after 15 overs: "required rate 10.80 vs current 7.73, rising to 13.00 after Tahir's over" — Ch 7.
- Crease: charts.run_rate_chart.
- Taught in: Ch 1, Ch 3, Ch 7.
Elo gap, era flag and scoring environment (WP features)
env_par: the average first-innings total of the previous 60 matches in the competition, shrunk toward all earlier matches with a weight of 10 matches (T20Is split full-member v full-member and everything else). elo_diff: batting side's walk-forward Elo minus the fielding side's (K = 20). era: 1 from 2023.
- Benchmark: "env feature beats era flag (−0.012 Brier, test 2025–26)" — Ch 20.
- Crease: winprob.scoring_environment, winprob.team_strength.
- Taught in: Ch 20, Ch 27.
Expected Runs (ER), par and projected total
ER(u, w): the average runs a side batting first goes on to add from $u$ legal balls left and $w$ wickets in hand, in complete innings of the competition and period. Runs include extras. Par = ER(120, 10) in T20, ER(300, 10) in ODIs. Projected total = score + ER(state); the environment-scaled version multiplies ER by env_par/par.
- Formats: Fit on the right competition and era. Ch 4's "working price" and Ch 5's regressions are its linear precursors.
- Benchmark: "men's T20 par 159.5 (8,917 complete first innings); IPL par 163.4 (2008–22) → 190.3 (2023–26)"; ODIs "men par 268.0 … women 228.4" (full members 2016+) — Ch 19.
- Crease: states.ERTable, fit_tables, rescale_table; live.table_projection.
- Taught in: Ch 19, Ch 27.
Expected Runs Added (xRA)
Run value credited to players. Batting: the sum of run values of balls faced, minus any extras on them (a non-striker run out is charged on his dismissal ball). Bowling: $\sum -(\text{runs conceded} + \text{ER(after)} - \text{ER(before)})$. xRA above average subtracts the average player's rate; xRA per 100 scales by balls.
- Formats: First innings only, with a table matched to competition and era; use WPA for chases.
- Benchmark: "Expected Runs Added leaders IPL 2023–26 1st inns: Klaasen +279.7 (bat), Bhuvneshwar Kumar +212.5 (bowl)" — Ch 19.
- Crease: states.ball_values, ball_values_grouped, xra_table.
- Taught in: Ch 19.
Linear weights
Mean run value of each outcome (dot, one, two, four, six, wicket, wide) by phase.
- Benchmark: IPL 2023–26 first innings (powerplay/middle/death): "dot −0.94/−1.04/−1.60 … six 4.97/4.78/4.14; wicket −13.87/−9.27/−3.95" — Ch 19.
- Crease: states.run_value_grid.
- Taught in: Ch 19.
Markov innings model and innings tilt
A first innings as a chain over states (over, wickets lost); each delivery's outcome type is drawn from p(outcome | state). Innings tilt gives each innings its own scoring environment: run outcomes reweighted by $e^{\theta \times \text{runs}}$, $\theta \sim N(\theta_0, \tau^2)$, plus an independent $\tau_f$ for the balls still to come (Ch 27).
- Benchmark: "Markov chain rebuilds par 159.4; simulated spread too narrow (31.1 vs real 38.3) until each innings gets its own scoring environment" — Ch 19. Tuned "τ = 0, τ_f = 0.07 (men); τ_f = 0.11 (women)" — Ch 27.
- Crease: states.MarkovInnings, fit_tilt; live.LiveChain, simulate_innings.
- Taught in: Ch 19, Ch 27; reused in Ch 30.
Milestone probability
P(a batter's final score in this innings ≥ m), given runs, balls faced, balls left, wickets, form and environment. It combines survival (balls still to face) and scoring (runs per ball).
- Benchmark: Direct logistic "Brier 0.1284 (50), 0.0922 (100 from 40+)"; "Survival+scoring milestone model too pessimistic until recalibrated; direct logistic calibrated" — Ch 27.
- Crease: live.milestone_prob, MilestoneModel, MilestoneRates.
- Taught in: Ch 27.
Par-score proxy and first-innings WP via par
WP for the side batting first. Ch 9: the expected total = score + mean runs still to come from (balls bowled, wickets lost); WP = average over that distribution of totals $T$ of the chance $T$ is defended. Ch 20: WP is the mean, over 41 quantiles m of the runs-to-come multiplier, of P(defend s + ER(u, w) × env_par ÷ par × m).
- Benchmark: "IPL 2026 final at innings break: stale vs era chase tables give RCB 0.576 vs 0.840" — Ch 35.
- Crease: impact.ParTable, impact.first_innings_wp; winprob.ParWP, winprob.first_innings_wp.
- Taught in: Ch 9, Ch 20.
Price of a wicket — the wicket-value family
Every version answers "how many runs does a wicket cost?" Each is valid for its own question; never swap one for another.
- Working price (Ch 4): average drop in runs added over the rest of the innings per extra wicket down at a point, full-length first innings. "Price of a wicket: ~6.0 runs at halfway (IPL 1st inns) vs ~15.6 at 30 overs (ODI)" — Ch 4. Chapter script.
- OLS price (Ch 5): coefficient $c$ in $\text{final} = a + b \cdot \text{runs so far} + c \cdot \text{wickets so far}$. "~5.3 runs at 10 overs (T20I), 19.1 at 25 overs (ODI), 42.8 at 40 overs (Test 1st inns)" — Ch 5. formats.wicket_exchange_rate.
- Fixed c = 6 (Ch 11) / W = 6 T20, 15 ODI (Ch 24): stated modelling constants.
- Wicket value by over (Ch 13, 14, 17, 21, 31, 34): $-$slope of (final first-innings total − score at the start of over $o+1$) on wickets down at that point. IPL 2008–26: "over 6 8.50, over 10 7.01, over 14 5.07, over 16 3.27, over 18 1.61, over 20 0" — Ch 14; IPL 2024–26 "o1 18.7, o6 10.1, o10 9.2, o15 4.9, o18 1.3, o20 0" — Ch 21. valuation_batting.wicket_value_by_over, bowling.wicket_values, fielding.wicket_value_by_over.
- State price (Ch 19): $\text{ER}(u-1, w) - \text{ER}(u-1, w-1)$, beyond the dot ball it fell on. "Wicket value IPL 2023–26: ~−13.9 runs in powerplay, ~−4.0 at the death; ODI wicket at 25 overs 19.5 runs (Ch 5 regression 19.1)" — Ch 19. states.run_value_wicket.
- Runs-equivalent (Ch 32): a WP ratio, in C.3.
- Taught in: Ch 4, Ch 5, Ch 13, Ch 14, Ch 17, Ch 19, Ch 21, Ch 32.
Projected total, projection interval and run-rate projection
Projected total: the median of the forecast distribution of the final total (or the model's mean). Projection interval: a range with stated probability L of containing the total. Run-rate projection: $\text{RRP} = S \times 120 / b$ — current rate carried forward, ignoring wickets and the death-overs surge.
- Formats: RRP is never a forecast. "Run rate × 20 is the WORST method (~10 runs low after 10 overs)" — Ch 27.
- Benchmark: "best projection within ±15 in ~41% after 6 overs (MAE 22.8), 51% after 10, 71% after 15; an 80% band needs ~±37 / ±29 / ±18 runs" (men's T20 first innings, test 2023–26) — Ch 27.
- Crease: live.project_total, rr_projection, ProjectionModel, broadcast_line.
- Taught in: Ch 27.
Resources, D/L form and the revised target
Resources remaining: $R(u, w) = 100 \times Z(u, w) / Z(N, 0)$, the share of a full innings' expected runs still available (Ch 19 uses ER for Z). D/L form: $Z(u, w) = Z_0 F(w) [1 - e^{-b u / F(w)}]$, with $u$ overs left, $w$ wickets lost and $F(0) = 1$. Revised target, with $S$ = Team 1's total and R1, R2 each side's resources:
$$\text{par} = S \cdot \frac{R2}{R1} \ \text{ if } R2 < R1, \qquad \text{par} = S + G \cdot \frac{R2 - R1}{100} \ \text{ if } R2 > R1, \qquad \text{target} = \lfloor \text{par} \rfloor + 1$$
An abandoned chase is decided against the par score $\lfloor \text{par} \rfloor$. The reduced-overs ratio = actual total ÷ (level × R(Y, 0)/100) checks the table on pre-start-shortened innings.
- Formats: The book's tables are derived from data; the ICC's Professional Edition is not public and is not reproduced.
- Benchmark: "Fitted D/L form, men's full-member ODIs (1,726 inns): Z0 306.4, b 0.0377, RMSE 2.50 runs"; "G50 (ICC Standard Edition, verified): 245 full members; 200 women's internationals and associates"; "IPL 2023 final: book T20 table 177 vs official 171" — Ch 23. "The two IPL eras differ by 11.0 runs per state but only 1.2 pp of RESOURCES" — Ch 19.
- Crease: resources.DLForm, ResourceTable, resources_lost, revised_target, arr_target, mpo_target.
- Taught in: Ch 19, Ch 23.
Run leverage
The win probability one run is worth to the chasing side at the first ball of over $o$, averaged over every chase alive then: $L(o) = E[\text{WP}(r, b, w) - \text{WP}(r+1, b, w)]$. Leverage weight = $L(o)$ ÷ its mean over the 20 overs.
- Benchmark: "a run saved in over 20 of a chase is worth 2.29× an average over" — Ch 31.
- Crease: bowling_plan.run_leverage.
- Taught in: Ch 31.
Run value of an outcome and value of a dot ball
Run value $= r + \text{ER}(u', w') - \text{ER}(u, w)$ for an outcome scoring $r$ and moving the innings from $(u, w)$ to $(u', w')$; averages zero by construction. Value of a dot $= \text{ER}(u-1, w) - \text{ER}(u, w) \le 0$.
- Benchmark: "Dot (3 down) start of over 5/10/15/20: −0.42/−0.81/−1.20/−2.02 (pool)" — Ch 19.
- Crease: states.outcome_value, run_value_dot.
- Taught in: Ch 19.
State of a limited-overs innings
The pair (u, w): legal balls still to be bowled and wickets in hand. A wide or no-ball does not change $u$; a dismissal reduces $w$. The threshold concept of Ch 19.
- Crease: states.innings_states; impact.innings_states (chase states include runs needed).
- Taught in: Ch 19.
Toss value and decision information value
Toss value = toss winner's win % in decided matches − 50%. Because the toss is random, this is the causal effect of winning the toss and choosing as captains actually choose. Decision information value = chase win % when the chaser chose to chase − when sent in.
- Benchmark: "toss winners won 51.1% of 11,050 decided limited-overs matches; IPL 51.6%; men's Tests 54.2% of 729 decided. Only the PSL (58.6%) survives a Bonferroni correction"; "IPL chasers win 54.7% whether they chose to chase or were sent in" — Ch 22.
- Crease: venue_toss.toss_table, toss_balance, chase_logit.
- Taught in: Ch 22.
Home win %
Home wins ÷ decided matches with a home team (draws reported separately in Tests).
- Benchmark: "Home win % (decided): Tests 63.5%, men's ODIs 59.0%, men's T20Is 53.0%, IPL 54.0%" — Ch 22.
- Crease: venue_toss.add_home, home_table.
- Taught in: Ch 22.
Venue index, venue effect and venue run factor
- Venue index (Ch 4): $100 \times$ ground runs per legal ball ÷ all-ground runs per legal ball. 108 = scoring 8% faster than average.
traditional.venue_index. - Venue effect (Ch 22): mean of (first-innings total − season mean) at the venue, shrunk: $\text{raw} \times n/(n + k)$, $k = \sigma^2/\tau^2$ by method of moments. Full-length, non-DLS games. "IPL venue effect shrinkage k = 75 games; shrunk effects ~−4 to +5 runs; venue chase rates are noise (split-half r −0.21)" — Ch 22.
venue_toss.venue_effects,split_half_venue. - Venue run factor (Ch 22): runs off the bat per ball at the ground (both innings) ÷ what the same balls would produce at the season's league rate, shrunk toward 1. "Chinnaswamy 1.033 … Chepauk 0.969" (IPL, ≥1,500 balls, k 37.5 games) — Ch 22.
venue_toss.venue_run_factor. - Live par (Ch 37): era mean first-innings total + shrunk venue effect. "Match par 191.5" — Ch 37.
storytelling.par_bar. - Formats: "Venue shrinkage k: ODIs 24.1 games, T20Is 8.0, IPL 75" (Appendix F).
- Taught in: Ch 4, Ch 22, Ch 27, Ch 37.
Win probability (WP), WP v0 and WP v1
The probability that a side goes on to win, given the state before a delivery. For a T20 chase the state is at least (runs needed, legal balls left, wickets in hand); ties count half a win. WP v0 (Ch 9) is a smoothed, monotone empirical lookup table of real men's T20 chases. WP v1 (Ch 20) is a logistic model on state + target + env_par + Elo gap.
- Formats: Era- and competition-specific: "Chasing 200 in IPL: P(win) 0.168 on pre-2023 table vs 0.491 on IPL 2023–26 table" — Ch 9. "Men's model overrates women's chasers by 9.4 pts even with women's env" — Ch 20. Known weakness: the last ball ("needing 4 off the final ball, v1 7.8% vs actual 34% (47 cases)") — Ch 20.
- Benchmark: "WP v1 … fit <2023, test 2023–26: Brier 0.1143 vs v0 0.1252" — Ch 20.
- Crease: impact.WPTable, chase_wp, match_wp; winprob.fit_wp, predict_wp, WPModel, wp_curve.
- Taught in: Ch 9, Ch 20.
Win Probability Added (WPA) and WP swing
ΔWP for a delivery = WP after − WP before (batting side's view; after the final ball, the result). Batting WPA sums ΔWP credited to the striker (a non-striker's dismissal is charged to him; pure-extras balls go to "extras"); bowling WPA = $-\sum \Delta\text{WP}$ over every ball bowled. A WP swing (Ch 37) is the same change for the side batting first, in percentage points, and belongs to the delivery rather than a player.
- Formats: Descriptive, not predictive; depends on which WP model you use.
- Benchmark: "WPA at Newlands: Prasanna +0.504 … Imran Tahir's bowling +0.525" (WP v0) and "WPA Prasanna +0.573, Tahir +0.462" (WP v1) — Ch 9 and Ch 20. "Career IPL chase WPA: de Villiers 5.12, Miller 4.97, Kohli 4.28" — Ch 9. "IPL 2026 WPA leaders: Suryavanshi +2.34, Narine +1.17" — Ch 20.
- Crease: impact.wpa_table, innings_impact; winprob.wpa, turning_points; storytelling.top_swings.
- Taught in: Ch 9, Ch 20, Ch 37.
Crease quality and other live context features
Crease quality: the two batters' shrunk career SR (100 pseudo-balls) and dismissals per ball (554 pseudo-balls), as of before the match. Venue: past-only effect shrunk with 30 pseudo-matches. Momentum: runs in the last three overs. Attack still to come: quota-weighted shrunk economy (487 pseudo-balls) of remaining bowlers ÷ league economy.
- Benchmark: "+3.5 runs per sd after 6 overs"; "Batters/venue/bowling-to-come improve error only 0.3–0.7 runs" — Ch 27.
- Crease: live.player_form_asof, venue_effect_asof, snapshots.
- Taught in: Ch 27.
The Test clock: pitch age, nominal day and session, nominal overs left, overs available
- Pitch age: legal balls bowled in the match before this delivery ÷ 6 (exact). Innings start age = pitch age at an innings' first ball.
- Nominal day $= \lfloor \text{pitch age}/90 \rfloor + 1$; nominal session = which 30-over third of the nominal day (overs beyond 90 fold into session 3). Both assume 90 overs a day and no lost time; the nominal day is a lower bound on the real day.
- Nominal overs left $= 450 - \text{overs bowled}$; overs available (fourth innings) $= 450 - \text{overs bowled before it}$. Both are upper bounds on real time.
- Fourth-innings target = opponents' runs (innings 1–3) − own runs (innings 1–3) + 1; Cricsheet stores no Test targets. First-ball required rate = target ÷ nominal overs left.
- Benchmark: "'nominal day' = 90 overs; matches the real last day in 73.3% of 730 decided Tests, late in 0.4%" — Ch 29. "chases needing ≤2 at the first ball won 59.8%, 2–2.5 won 9.5%" — Ch 33.
- Crease:
test_sim.add_clocks,fourth_innings_table;declaration.chase_frame. - Taught in: Ch 29, Ch 33.
Paired deterioration ratio
Balls per wicket in the first 30 overs of the later innings ÷ the same for the earlier innings, same batting team (innings 1 v 3, 2 v 4). Below 1 = wickets come faster on the older pitch. It holds team, venue and attack fixed and gives both innings a new ball.
- Benchmark: "balls-per-wicket ratio innings 1 v 3 = 0.888 (95% CI 0.834–0.946); 2 v 4 = 0.849; by conditions ~0.93 SENA, 0.83–0.87 subcontinent, ~0.78 West Indies" — Ch 29.
- Crease: test_sim.paired_innings, deterioration_table.
- Taught in: Ch 29.
Unbowled overs and time-starved draw
Weather proxy. Drawn Test: $5 \times 90 - \text{overs bowled}$. Decided Test: $\max(0, (\text{days played} - 1) \times 90 - \text{overs bowled})$. A lower bound on lost time that also counts slow over rates. A time-starved draw has fewer overs than the median day-5 result (369.5); otherwise it is a full-length draw.
- Benchmark: "62 of 169 draws lost ≥ a full day vs 11 of 730 decided Tests" — Ch 29.
- Crease: test_sim.lost_overs_table.
- Taught in: Ch 29.
Declaration value and expected WTC points
The declaring side's payoff from a declaration, with a draw worth λ of a win: $V(\lambda) = P(\text{chasers lose}) + \lambda \cdot P(\text{draw})$. Under the World Test Championship (win 12, tie 6, draw 4, loss 0), $\lambda = 1/3$ and expected WTC points $= 12 \cdot P(\text{chasers lose}) + 4 \cdot P(\text{draw})$. The push rate is runs and wickets per over in the last 15 overs before a third-innings declaration.
- Benchmark: "265 third-innings target-setting declarations — declarer won 63.4%, drew 35.1%, lost 1.5% (four)"; push rate "5.04 runs, 0.118 wkts"; "gain 0.68 → 0.57 WTC points per declaration after best-of-many correction" — Ch 33.
- Crease: declaration.declarer_value, expected_points, declaration_curve, best_response, stackelberg.
- Taught in: Ch 33.
Lead (Tests)
Runs of the side batting first minus runs of the other side, summed over completed innings.
- Crease: storytelling.lead_series.
- Taught in: Ch 37.
C.6 Team and selection
All-rounder premium, marginal value, price of flexibility
- All-rounder premium: optimum(squad) − optimum(squad with the player split into a batting-only and a bowling-only clone, both keeping his fielding). Never negative.
- Marginal value: optimum − optimum without the player (blank when no legal XI exists without him).
- Price of flexibility: optimum − optimum with at least C overs of capacity from bowling options (C = 24 for a sixth option).
- Benchmark: "Impact Player rule halves the all-rounder premium (0.70 → 0.35 runs/match across IPL 2026 squads); price of a 6th bowling option 1.29 → 0.41" — Ch 21.
- Crease:
selection.allrounder_premium,marginal_values,flexibility_curve. - Taught in: Ch 21.
Batting value and bowling value above par (per ball)
$$\text{bat val} = \text{runs} - \text{par runs} - wv(o) \cdot (\text{out} - \text{par out}), \qquad \text{bowl val} = \text{par runs} \cdot \text{legal} - \text{runs charged} + wv(o) \cdot (\text{wicket} - \text{par wkt} \cdot \text{legal})$$
Par = league rates in the same (year, phase); $wv(o)$ = wicket value of the over. Bowling value is exactly Ch 14's BRS per ball.
- Crease: selection.player_value; auction.season_values.
- Taught in: Ch 21, Ch 34.
Batting-order metrics (Chapter 30)
Inferred batting position = order of arrival at the crease (striker before non-striker on the first ball). An order is scored by simulated expected runs, P(total ≥ par) and win probability (through a fitted P(win | total, environment)).
- Crease: batting_order.entry_order, usual_positions, OrderSimulator, evaluate_orders, promotion_table, fit_defend_curve.
- Taught in: Ch 30 (see also Ch 5 and Ch 21 for inferred positions).
Bowling plan value and matchup adjustment
A bowling plan maps each over to a bowler. The value matrix V holds each bowler's phase value (runs saved per over), optionally times the leverage weight of the over. Plan value = the sum over the 20 overs of V[bowler of that over, over]; a plan is legal if nobody bowls more than four overs or two in a row. Matchup adjustment for a bowler type g: −0.06 × Σ (strike share of batter j) × (j's shrunk SR against g − j's average shrunk SR), in runs per over.
- Benchmark: "IPL 2026 audit: gap to best plan 1.97 runs per 1st innings"; Anchor D overlay "+1.28 runs/over while both are in; planning around it gains 3.62 runs" — Ch 31.
- Crease: bowling_plan.value_matrix, plan_milp, plan_value, plan_gap, matchup_adjustment, apply_overlay.
- Taught in: Ch 31.
Depth weight
Balls faced by the #8 batter ÷ mean of positions #1–#7. Used to value the batting depth slot in the XI programme.
- Benchmark: "IPL 2024–26 0.273; W-T20I 0.231" — Ch 21.
- Crease: selection.batting_depth.
- Taught in: Ch 21.
Elo rating, tiered Elo and ICC-style rating
Elo: $P(A) = 1 / (1 + 10^{-(R(A) - R(B) + H h)/400})$; after the match $R(A) \leftarrow R(A) + K(y - P)$ and $R(B) \leftarrow R(B) - K(y - P)$, with $y = 0.5$ for a tie or (in Tests) a draw; $h$ is +1, −1 or 0 for home, away or neutral. Franchise ratings regress part-way to the mean each season. Walk-forward = every probability uses only earlier matches. Tiered Elo (Ch 28) starts associates lower than full members. ICC-style rating (Ch 24) is a points-average system, not Elo.
- Formats: "100 pts ≈ 0.64; 200 ≈ 0.76" — Ch 24. Ch 24 warns against an IPL-only pre-match model: with only 520 matches its fitted Elo weight comes out negative.
- Benchmark: Elo favourite win rate 2023–26: "IPL 47.6% … men's full-member T20Is 64.1%, men's ODIs 61.2%, women's T20Is 71.9%, women's ODIs 72.9%, decided Tests 67.7%" — Ch 24. Tiered Elo: "Starting associates at 1,100 instead of 1,500 cuts log loss from 0.6565 to 0.6091" — Ch 28.
- Crease: betting.elo_walk_forward; match_model.elo_history, tune_elo, icc_points_history; tournament.tiered_elo, tune_tier_init; winprob.team_strength.
- Taught in: Ch 24, Ch 28, Ch 35.
Player value per ball and team-sheet strength
$$\text{bat value} = \text{par rpb} \cdot \tfrac{\text{SR+} - 100}{100} - W \cdot \text{par opb} \cdot \tfrac{\text{out+} - 100}{100}$$
and the analogous bowling value from econ+ and wkt+ (runs saved). $W$ = 6 runs per wicket in T20 (15 in ODIs). Team-sheet strength = 120 × weighted sum of player values (batting weights ∝ past balls per innings; bowling ∝ balls per match, capped at 24), in runs per match above par.
- Benchmark: "2026 IPL-sheet top batting values: Abhishek Sharma 0.371 … bowling: Bumrah 0.233 (econ+ 82.7)"; "Announced XIs add almost nothing to Elo (Δlog-loss −0.0015, 90% −0.0042 to +0.0011)" — Ch 24.
- Crease: match_model.PlayerRatings, xi_strength, team_strength.
- Taught in: Ch 24.
Pre-match roles
From a player's earlier matches in the same competition: prior bowling share = legal balls he bowled ÷ his team's legal balls in those matches; bowling option ≥ 10%; part-timer = top-order batter with 2–10%; top-order batter = entered at 1–7 in at least half his earlier innings; all-rounder = both. Fewer than three earlier matches = unknown.
- Benchmark: "within team-season, an extra bowling option has no measurable effect on winning in any of six competitions (IPL −0.0 pts, 90% CI −3.5 to +3.5)" — Ch 21.
- Crease: selection.add_prior_roles, composition.
- Taught in: Ch 21.
Runs above replacement, all skills (Ch 21)
Value above par minus replacement level times balls, summed over batting and bowling, plus run-out fielding. Replacement = the ball-weighted value of the fringe outside the top 70 batters and top 50 bowlers (IPL). Fielding RAR = run-out credits above the per-match league rate × average wicket value. Ch 34's season RAR uses the same currency, season by season, fringe outside 7 × teams / 5 × teams, without fielding (about 0.2 runs a match).
- Formats: Not on Ch 13's scale — see the scale table at the top.
- Benchmark: "IPL 2024–26 runs above replacement per match: Kohli 14.2, Narine 13.8; only 5 of 117 regulars add >1 run/match from both bat and ball" — Ch 21. Ch 34: "regular ≈ 6.7 per match".
- Crease: selection.player_value, shrink_value; auction.season_values, player_seasons.
- Taught in: Ch 21, Ch 34.
XI selection programme
Choose an XI to maximise Σ (batting slot × batting RAR per innings) + Σ (depth slot × depth weight × batting RAR) + Σ (overs × bowling RAR per over) + Σ (selected × fielding RAR per match), subject to eleven players, seven full batting slots plus a depth slot, 20 overs with at most four each, at least one keeper and at most four overseas players; optionally a spare-capacity constraint.
- Crease: selection.optimise_xi.
- Taught in: Ch 21.
C.7 Valuation and market
Expected season value and value projection
Projected RAR per match (Ch 34 currency) × expected matches (playing-time model, clipped to 0.5–14), converted to money: ₹0.30 crore + projected season RAR ÷ 140.2 × ₹12.5 crore. The value projection shrinks a player's weighted per-match value toward a prior with reliability m ÷ (m + 28), m being his effective matches.
- Benchmark: "value projection k = 28 matches; out-of-time error 5.46 runs/match vs last season 7.33 vs league prior 5.96"; newcomer prior "+5.36 RAR per match"; "₹1.68 cr for a typical newcomer" — Ch 34.
- Crease: auction.project_values, fit_value_k, fit_playing_time, expected_matches, season_value_cr.
- Taught in: Ch 34.
Market price model and market comparable
Market model: OLS of log price on season, mega-auction flag, overseas, capped, role, projection, last season's runs and wickets, experience and other-league matches. Market comparable: median price paid for the five buys with the nearest projected value (used for stars, where the log model runs low).
- Benchmark: "Market price model (615 buys 2022–26): R² 0.548 (0.518 out of fold); per SD, last season's wickets +44.4% price, runs +37.1%, value projection +13.9%; no reliable overseas premium (p 0.081)" — Ch 34.
- Crease: auction.fit_market_model, comparable_price.
- Taught in: Ch 34.
Market rate
₹ crore paid per win above replacement. Ch 13: (salary of specialist batters − ₹30 lakh per player-season) ÷ their batting WAR, IPL 2022–26. Ch 34: all buys, all-skills WAR.
- Benchmark: "Market paid ₹35.7 crore per batting win above replacement; salary v WAR Spearman 0.32" — Ch 13. "Market rate ₹12.5 crore per win (all skills), ₹4.7 cr (cheapest band) → ₹21.3 cr (dearest)" — Ch 34.
- Crease: valuation_batting.market_rate; auction.market_rate, runs_to_crore.
- Taught in: Ch 13, Ch 34.
Max bid (walk-away price)
The highest price at which buying the player still beats your best alternative. Back-of-envelope: $\min(\text{value} - \text{best substitute's surplus}, \text{purse} - (\text{slots} - 1) \times ₹0.30 \text{ cr})$. Optimiser walk-away: the highest price at which the best squad with him is at least as good as the best squad without him.
- Benchmark: "₹27 cr for Pant needed 21.4 RAR per match (his career best; 7 of 466 regular seasons)" — Ch 34.
- Crease: auction.max_bid, walkaway_price, contingency_list.
- Taught in: Ch 34.
Net runs
Runs off the bat minus the wicket value of each of the batter's dismissals (non-striker run-outs included). Net runs per ball divides by balls faced.
- Benchmark: league 2023–26 net runs per ball "0.94 / 1.11 / 1.58" (powerplay/middle/death) — Ch 13.
- Crease: valuation_batting.net_runs, era_wicket_values.
- Taught in: Ch 13.
Purse, hammer price, retention deduction and retention arithmetic
Purse: money a franchise may spend. Hammer price: the winning bid, deducted from the purse. A retention's purse deduction comes from a fixed slab schedule and can exceed the player's salary. Retention arithmetic: surplus if kept = expected value − retention salary; saving versus auction = expected auction price − retention salary; keep if both positive.
- Benchmark: "Retention slab arithmetic reproduces published deductions for all 10 teams (₹558.5 cr)"; deductions "capped 18/14/11/18/14; uncapped max(₹4 cr, salary)" (2025) — Ch 34.
- Crease: auction.retention_cost, retention_table, best_retention_set.
- Taught in: Ch 34.
Replacement level (batting, Ch 13)
The net runs per ball a freely available batter would produce: the 20th percentile of the talent distribution of IPL batters in that phase and era, relative to league (season, phase), with ball noise removed by method of moments.
- Benchmark: "Replacement level 2023–26: −0.099 / −0.102 / −0.116 net runs per ball (powerplay/middle/death); shrinkage k 558 / 255 / 106 balls" — Ch 13.
- Crease: valuation_batting.replacement_levels.
- Taught in: Ch 13.
Runs above replacement, batting (Ch 13)
$$\text{RAR} = \text{net runs} - (\text{league net runs per ball} + \text{replacement offset}) \times \text{balls}$$
summed over phases and seasons; RAR per 100 balls scales by balls.
- Formats: IPL batting only. Not on the scale of Ch 21/34's all-skills RAR. Fragile where early-over wicket values are noisy ("Rohit's RAR fragile (depends on early-over wicket values)").
- Benchmark: "RAR leader 2022–26: Gill 656" — Ch 13.
- Crease: valuation_batting.runs_above_replacement, season_rar.
- Taught in: Ch 13.
Runs per win (RPW) and wins above replacement (WAR)
RPW: the extra runs, spread across a season, that add one win on average ($1 / $ average marginal effect of a run on P(win)). $\text{WAR} = \text{RAR} / \text{RPW}$.
- Benchmark: "runs per win 140.2 (IPL 2022–26; season-level check 96.1)"; league WAR "≈ 12.6 per season" — Ch 13. Ch 34 reuses 140.2.
- Crease: valuation_batting.runs_per_win.
- Taught in: Ch 13, Ch 34.
Squad programme
Choose which players to buy and how many matches each plays to maximise Σ matches × projected RAR per match, subject to 12 players a match × 14 matches, at most 4 overseas in the side, a squad of 18–25 (with ₹30-lakh fillers), at most 8 overseas, at least 2 keepers and 6 bowling options, and the purse.
- Crease: auction.optimise_squad.
- Taught in: Ch 34.
Surplus, value and WAR per crore
Ch 13: value $= \text{WAR} \times \text{market rate} + ₹0.30$ crore; surplus $= \text{value} - \text{salary}$; WAR per crore $= \text{WAR}/\text{salary}$. Ch 34: surplus $= \text{expected value} - \text{expected price}$ (market model, out of fold when grading).
- Benchmark: "Suryavanshi 2026: +₹76.7 crore" (Ch 13 surplus) — Ch 13. "retained players delivered a win for ₹17.5 cr vs ₹20.2 cr for mega-auction buys" — Ch 34.
- Crease: valuation_batting.value_table; auction.surplus_table.
- Taught in: Ch 13, Ch 34.
C.8 Projection and translation
Aging (experience) curve
The average change in true ability from one career year to the next. The delta method follows the same players across consecutive years, which removes survivor bias from a naive curve.
- Formats: No birth dates in the people register, so career year stands in for age.
- Benchmark: "after nine career years naive curve +6 vs delta method −9" — Ch 25.
- Crease: projection.add_career_year, delta_curve, residual_aging, smooth_curve.
- Taught in: Ch 25.
avg+, out+, econ+, wkt+ (the projection indices)
Indices against par (100 = par), built like SR+:
$$\text{out+} = 100 \cdot \frac{\text{dismissals}}{\text{par dismissals}}, \quad \text{avg+} = 100 \cdot \frac{\text{SR+}}{\text{out+}}, \quad \text{econ+} = 100 \cdot \frac{\text{runs conceded}}{\text{par runs}}, \quad \text{wkt+} = 100 \cdot \frac{\text{wickets}}{\text{par wickets}}$$
out+ and econ+: lower is better. Par cells are competition × year × phase.
- Crease: projection.batting_lines, bowling_lines.
- Taught in: Ch 25; reused in Ch 24, Ch 26.
Carry-over model
A regression of next season's SR+ on the last two seasons'. - Benchmark: "SR+(N) = 58.46 + 0.312·SR+(N−1) + 0.126·SR+(N−2) (IPL 2010–26, n = 345, R² 0.161)"; "after a 15+ point fall 75.9% rose next season" — Ch 38. - Crease: chapter script. - Taught in: Ch 38.
In-season update
Blend a pre-season projection with this season's burst: $(S \cdot \text{proj} + n \cdot \text{burst})/(S + n)$.
- Benchmark: "S ≈ 419 balls (IPL batting)"; "only 20% of a hot start's excess survives" — Ch 25. Ch 6's earlier estimate: "~31% of the excess survives".
- Crease: uncertainty.normal_update; projection.project_player.
- Taught in: Ch 6, Ch 25, Ch 36.
Marcel-style projection and its interval
- Weighted index = 100 × Σ w × runs ÷ Σ w × par runs over the last three seasons (weights 5/4/3), with effective sample n = Σ w × balls.
- Regress: $\text{proj} = (n \cdot \text{index} + k \cdot \text{prior}) / (n + k)$.
- Optionally age.
- Interval: variance $s^2 (1/m + 1/(n + k))$ for $m$ balls next season.
$k$, the prior and $s^2$ are fitted on past seasons, never assumed.
- Benchmark: "IPL SR+ out of time (2019–26): Marcel RMSE 13.4 (k ≈ 371 balls) vs par 14.1 vs last season 19.6; 80% intervals covered 80%"; "wickets NOT (k ≈ 3,204; Marcel = par at 32.7)" — Ch 25.
- Crease:
projection.ProjectionModel,fit_projection,backtest,project_season,project_player. - Taught in: Ch 25; by phase in Ch 34.
Reliability and the stabilisation constant k
$$\text{reliability}(n) = \frac{n}{n + k}, \qquad k = \frac{\sigma^2}{\tau^2}$$
$\sigma^2$ = variance of one ball, $\tau^2$ = variance of true talent between players; $k$ is the sample at which a stat is half signal. Split-half estimate: $k = h (1 - r) / r$ for halves of $h$ balls with correlation $r$. Method of moments: $\tau^2$ = observed variance − average noise variance. Spearman–Brown: $2r/(1+r)$.
- Benchmark: "Balls until half signal: ~98 (SR), ~554 (dismissal rate)" — Ch 6.
- Crease: uncertainty.reliability, fit_k, split_half, k_method_of_moments; batting.metric_reliability; bowling.season_reliability.
- Taught in: Ch 6, Ch 25; Appendix D D.4.
Shrinkage: normal–normal, beta–binomial, shrunk average
- Normal–normal (empirical Bayes): $(n \cdot \text{observed} + k \cdot \text{prior mean})/(n + k)$; a batter with $n = k$ is pulled halfway.
- Beta–binomial: $(s + a)/(t + a + b)$ for $s$ events in $t$ trials; $a + b$ is the prior's worth in trials.
- Shrunk average: shrunk runs per ball ÷ shrunk dismissal rate.
- Normal update: posterior precision $= 1/\tau^2 + n/\sigma^2$; mean = precision-weighted blend.
- Crease:
uncertainty.shrink_normal,fit_beta_prior,shrink_beta,beta_interval,normal_update. - Taught in: Ch 6, Ch 10, Ch 11, Ch 17.
Standardised rate (Simpson's paradox check)
Re-weight each player's subgroup rates to a common mix: Σ (subgroup rate × common mix weight).
- Benchmark: "Rohit higher SR than Dhoni in every IPL phase but lower overall (132.9 vs 137.5); on a common phase mix 136.9 vs 111.4" — Ch 6.
- Crease: uncertainty.standardise, simpsons_pairs; traditional.simpson_check.
- Taught in: Ch 4, Ch 6.
Translation factor, translated index, batting-average factor and league inflation index
The translation factor of league L (reference R = 1) is the index a player posting 100 in R would be expected to post in L: $\text{index in R} = \text{index in L} / f(L)$. For SR+ and wkt+, a weaker league has $f > 1$; for out+ and econ+, $f < 1$. Fitted by a Poisson model with player-season effects, shrunk by 300 balls of pseudo-data.
$$\text{batting-average factor} = \frac{f(\text{SR+})}{f(\text{out+})}, \qquad \text{inflation index} = \left( \frac{f(\text{SR+}) \cdot f(\text{wkt+})}{f(\text{out+}) \cdot f(\text{econ+})} \right)^{1/4}$$
The raw ratio is the same model on runs per ball, mixing environment with strength.
- Formats: Men's reference is the IPL, women's the WPL — a choice of currency. Adjust Blast and Hundred no-ball runs first.
- Benchmark: "men's SR+ translation factors 2021–26 (IPL = 1 …): The Hundred 1.032, full-member T20Is 1.051, Blast 1.110, SMAT 1.147, BPL 1.176, associate T20Is 1.337"; "Women's (WPL = 1): WBBL 1.014, full-member T20Is 1.088, associate T20Is 1.670"; "Blast 1.266, SMAT 1.516" (batting-average factor); league inflation index "Blast 1.100" — Ch 26.
- Crease: translation.fit_factors, bootstrap_factors, raw_ratio, translate_index, translate_lines, project_translated.
- Taught in: Ch 26.
True ability vs observed performance
True ability: the long-run rate a player's skill would produce over unlimited balls in his conditions. Observed performance: true ability plus the luck of the balls actually faced. A projection estimates the first with an honest range for the second. The threshold concept of Ch 25. - Taught in: Ch 6, Ch 25.
C.9 Forecast evaluation
Accuracy (favourite's win %)
Share of decided matches won by the side the model rated above 50%. Not a proper score: it ignores confidence.
- Benchmark: "a model knowing every team's TRUE strength would call only 54.3% of IPL matches" — Ch 24.
- Crease: match_model.scores.
- Taught in: Ch 24, Ch 35.
AUC
P(a model ranks a random positive above a random negative). 0.5 = coin flip. - Benchmark: "LBW model AUC 0.823 → 0.503 with shuffled labels" (🧪 simulation audit) — Ch 15. - Taught in: Ch 14, Ch 15.
Brier score, Brier decomposition and multi-class Brier
$$\text{Brier} = \frac{1}{N} \sum (p - y)^2$$
0 is perfect; always forecasting 0.5 scores 0.25. Decomposition: Brier ≈ reliability − resolution + uncertainty over forecast bins. Three-way (multi-class) Brier sums the squared error over win/draw/loss for each match; a constant forecast at the base rates scores about 0.59 for Test chases.
- Benchmark: "Out-of-time test (fit <2023, test 2023–26): Brier 0.1252" (WP v0) — Ch 9. "Fourth-innings backtest (217 chases 2019–26, Brier): simulator 0.3267 → 0.3178 with host weather; direct model best 0.2996" — Ch 29. "Direct model + 'declaration-set target' flag: Brier 0.2996 → 0.2741" — Ch 33.
- Crease: impact.brier; winprob.brier_decomposition; match_model.scores, three_way_scores; test_sim.multiclass_brier; declaration.multiclass_brier.
- Taught in: Ch 9, Ch 20, Ch 24, Ch 29, Ch 33, Ch 35.
Calibration slope and intercept (recalibration)
Regress the outcome on the forecast's log-odds: $\text{logit} P(\text{win}) = a + b \cdot \text{logit}(p)$. Calibrated: $a = 0$, $b = 1$; $b < 1$ = overconfident. Calibration-in-the-large = mean(y) − mean(p) per league.
- Benchmark: "slope pooled T20 0.796, IPL −0.329, men's ODI Elo 0.739, women's T20I Elo 0.816" — Ch 24. "pre-season values calibration slope 0.80" — Ch 31.
- Crease: winprob.calibration_fit; impact.calibration_table; match_model.reliability; betting.calibration.
- Taught in: Ch 20, Ch 24.
Comeback and collapse tests
Among chases whose WP ever fell to x or below, the share that won. A calibrated WP (a martingale) gives at most about x. The collapse test mirrors it for WP that reached 1 − x. - Crease: chapter script (Chapter 20 Case Study 2). - Taught in: Ch 20.
Coverage (of an interval) and band coverage
Share of real outcomes inside the stated interval; it should match the stated level.
- Benchmark: "Monte Carlo 80% ranges covered 84% of IPL totals, 65% of associate T20Is" — Ch 27. Fantasy "10–90 bands held 77%" — Ch 36. "chain fit on IPL 2023–25 put 73.2% of 2026 totals in its 80% range" — Ch 19.
- Crease: live.coverage_table.
- Taught in: Ch 19, Ch 25, Ch 27, Ch 36.
Drift alarm and prediction vs confidence interval
A confidence interval covers the fitted line; a prediction interval covers a new observation and is always wider. A drift alarm flags a running season statistic that leaves the 90% band a model fitted on earlier seasons expects. - Benchmark: "IPL scoring line fit on 2008–22 missed all four 2023+ seasons outside its 90% interval (by 12.6 → 22.6 runs)" — Ch 40. - Crease: chapter script (Chapter 40 Case Study 1). - Taught in: Ch 40.
Grounding score
Numbers in a generated text that match computed facts ÷ all numbers in the text, matched on (player, metric, value); pair with coverage. - Taught in: Ch 40.
Knockout Brier score and skill
For each team, (p − y)² with p the forecast probability of reaching the knockouts. Skill $= 1 - \text{Brier(model)}/\text{Brier(base rate)}$; the base rate gives every team 4/10 in the IPL.
- Benchmark: "On 2026 alone, the pooled model's top-four Brier of 0.2141 beats the base rate's 0.2400, a skill of about 0.11" — Ch 28.
- Crease: chapter script; tournament.summarise.
- Taught in: Ch 28.
Log loss
$$\text{log loss} = -\frac{1}{N} \sum \left[ y \ln p + (1 - y) \ln(1 - p) \right]$$
Coin flip 0.693 (two outcomes), 1.099 (three). Punishes confident misses hard: a 1% forecast that loses costs 4.6.
- Benchmark: "IPL toss/home/slot/venue model worse than a coin flip out of sample (log-loss 0.698)" — Ch 22. "walk-forward pre-match Elo, 2023–26 … IPL favourite won only 47.6% of 286 (Brier 0.2576 > coin 0.2500)" — Ch 35.
- Crease: impact.log_loss; match_model.scores.
- Taught in: Ch 9, Ch 20, Ch 22, Ch 24.
Log score of the champion
ln(p) for the pre-tournament probability given to the eventual winner. Benchmark: ln(1/n) for n teams (−2.303 for ten).
- Benchmark: "Log score of the real champion (pooled): -1.839 v uniform -2.303" (IPL 2026); "Real champion India: pre-event title probability 0.461 (the favourite); log score -0.775 v uniform -2.996" — Ch 28.
- Crease: tournament.tournament_log_score.
- Taught in: Ch 28.
Luck share of a table, true-strength spread and the oracle ceiling
Luck share = (0.25 ÷ g) ÷ observed variance of win percentage, for g games; games needed for a record to be half skill, k = 0.25 ÷ true-strength variance. True-strength SD = √(variance of win percentage − mean of p̄(1 − p̄)/n). The oracle knows each side's true strength and prices matches by log5/Bradley–Terry; its accuracy is the ceiling.
- Benchmark: "Luck share of spread in team-season records: IPL ~92%, men's full-member T20Is 59%" — Ch 6. "IPL 0.916 / 0.040 / 54.3%" (luck share / σ_true / oracle accuracy) — Ch 24.
- Crease: uncertainty.luck_share.
- Taught in: Ch 6, Ch 24.
Monte Carlo error
The standard deviation of a simulated probability across seeds; about $\sqrt{p(1-p)/N}$. Quadruple the simulations to halve it.
- Benchmark: "10,000 sims: mean 0.1553, SD 0.0029 (binomial formula 0.0036)" — Ch 28.
- Crease: tournament.simulate_tournament (seeded).
- Taught in: Ch 28.
Pinball loss
Proper score for a quantile forecast: $\tau_q (y - q)$ if $y \ge q$, else $(1 - \tau_q)(q - y)$. Summed over the 10th, 50th and 90th percentiles it rewards intervals that are narrow and honest.
- Crease: live.pinball.
- Taught in: Ch 27.
PIT (probability integral transform)
F(y): the share of simulated values below the outcome (ties half). Uniform if calibrated; U-shaped = too narrow; hump = too wide; slope = biased.
- Crease: chapter script; fantasy.calibrate.
- Taught in: Ch 36.
RMSE and MAE
RMSE: square root of the mean squared forecast error, in the forecast's units. MAE: mean absolute error. - Benchmark: "simulator MAE 35.4 vs last-five form 38.3" (fantasy points, IPL 2026) — Ch 36. - Taught in: Ch 6, Ch 25, Ch 27, Ch 36.
Ranked probability score (RPS)
For ordered outcomes (A wins, draw, B wins) with forecasts $p_1, p_2, p_3$ and indicators $o_1, o_2, o_3$: $\text{RPS} = \frac{1}{2}[(p_1 - o_1)^2 + (p_1 + p_2 - o_1 - o_2)^2]$. Treats "predicted a draw, A won" as a smaller miss than "predicted B".
- Benchmark: Tests 2023–26 "RPS 0.2235" (three-way Elo + draw model) — Ch 24.
- Crease: match_model.three_way_scores → rps.
- Taught in: Ch 24.
C.10 Fantasy, betting and media
A/B sample size
Per-version sample needed to detect a relative lift L on a base rate p, two-sided α, power 1 − β:
$$n = \frac{\left[ z(1-\alpha/2) \sqrt{2 \bar p (1 - \bar p)} + z(1-\beta) \sqrt{p_1(1 - p_1) + p_2(1 - p_2)} \right]^2}{(p_2 - p_1)^2}$$
with $p_1 = p$, $p_2 = p(1 + L)$. Ch 17 uses the same formula for catch-rate studies: "80% vs 75%: 1,094 per group".
- Crease: storytelling.ab_sample_size, ab_mde.
- Taught in: Ch 17, Ch 37.
Bets needed
Flat bets at odds o with true edge e needed for the observed ROI to sit 1.96 standard errors from zero: $n \approx (1.96 \cdot o \sqrt{p(1-p)} / e)^2$ with $p = (1+e)/o$.
- Benchmark: "a 5% edge at evens needs ~1,533 bets to show" — Ch 35.
- Crease: betting.bets_needed.
- Taught in: Ch 35.
Decimal odds and implied probability
Decimal odds o: total returned per unit staked, stake included. Raw implied probability $q = 1/o$. Fractional $a/b$: $o = 1 + a/b$. American $A$: $o = 1 + A/100$ for positive $A$, $o = 1 - 100/A$ for negative $A$.
- Benchmark: "5/2 → 3.50; evens → 2.00"; "+150 → 2.50; −200 → 1.50" — Ch 35.
- Crease: betting.to_decimal, decimal_to_american, implied_prob.
- Taught in: Ch 35.
Expected value (EV) and return on investment (ROI)
$\text{EV} = p \cdot o - 1$ per unit staked; $\text{ROI} = \text{total profit}/\text{total staked}$.
- Benchmark: "Backtest with season-peeking +37.0% ROI vs honest +10.1% (CI −3.2 to +24.0)"; "top 10 of 115 IPL 'systems' +57.0% → −16.1% out of sample" — Ch 35.
- Crease: betting.expected_value, backtest, roi_interval.
- Taught in: Ch 35.
Fair odds and a quoted price
Fair odds = 1/p. A two-way quoted price with multiplicative margin m is $1/(p(1+m))$ on each side.
- Benchmark: "Newlands: Tahir's over 16 moves SL fair price 1.59 → 4.61" — Ch 35.
- Crease: betting.price_from_prob.
- Taught in: Ch 35.
Fantasy points (T20) and the runs-per-wicket exchange rate
FP = batting + bowling + fielding + lineup items, scored on the real stat line with this book's points system (modelled on Dream11's published T20 table). Runs-per-wicket exchange rate = average points per bowler wicket ÷ average batting points per run.
- Benchmark: "IPL 2026 mean 52.4"; "31.4 / 1.85 = 17.0" — Ch 36.
- Crease: fantasy.fantasy_points, stat_lines.
- Taught in: Ch 36.
Kelly criterion, fractional Kelly and log-growth
$$f^* = \frac{p o - 1}{o - 1}, \qquad g(f) = p \ln(1 + f(o - 1)) + (1 - p)\ln(1 - f)$$
$f^* = 0$ when the edge is zero or negative. Fractional Kelly stakes $c f^*$ with $c$ typically ½ or ¼; growth turns negative beyond about $2f^*$.
- Benchmark: "Full Kelly with a real 5% edge: 98.45% suffer a 50% drawdown within 1,000 bets (simulation)" — Ch 35.
- Crease: betting.kelly_fraction, growth_rate, simulate_bankroll, max_drawdown.
- Taught in: Ch 35.
Leverage (fantasy) 🧪
P(a player is among the match's 11 highest scorers, from the simulation) − his ownership. Ownership comes from a modelled (simulated) crowd.
- Benchmark: "Contest backtest (🧪 field): expected-points lineup 67th percentile vs leverage lineup 56th — leverage LOST" — Ch 36.
- Crease: fantasy.leverage, modelled_ownership, optimise_contest.
- Taught in: Ch 36.
Notability
How unusual a fact is against a comparison pool: $-\log_{10}(k/n)$, $k$ = earlier events at least this extreme (floored at 1), $n$ = pool size. 1 ≈ "1 in 10", 2 ≈ "1 in 100".
- Benchmark: Rashid Khan's 2026 spell (C.2, relative economy) ranks against "111 of 10,408 earlier IPL spells", a notability of about 1.97 — Ch 37.
- Crease: storytelling.notability, match_facts, match_notes.
- Taught in: Ch 37.
Overround and de-vigging
Overround = Σ 1/o − 1 over the outcomes. De-vig, with raw implied probabilities q summing to S: multiplicative p = q/S; additive p = q − (S − 1)/n; power p = qᵏ with k chosen so the p sum to 1; Shin's insider model (Shin, 1993). Power and Shin take more margin off long shots.
- Benchmark: "Exchange ≈ 0 (commission instead); novelty markets 20%+" — Ch 35.
- Crease: betting.overround, devig.
- Taught in: Ch 35.
Percentile rank (contest)
Share of a contest field that a lineup's real score beats (ties half).
- Benchmark: "mean lineup avg 67th" — Ch 36.
- Crease: fantasy.percentile_rank.
- Taught in: Ch 36.
Single-match ICC and matches for half signal (fantasy)
$$\text{ICC} = \frac{B}{B + W}, \qquad \text{matches for half signal} = \frac{W}{B}$$ where $W$ is the pooled within-player variance of single-match points and $B$ the variance of players' true average points. - Benchmark: "Single-match fantasy score: player share ICC 0.078 (IPL 2024–26); ~12 matches until half the spread is real" — Ch 36. - Crease: chapter script. - Taught in: Ch 36.
Season update and exponential tilt (fantasy simulation)
Season update: (prior weight × prior + season balls × observed) ÷ (prior weight + season balls), with the prior weight = the projection's effective sample + k. Exponential tilt: each outcome's probability is multiplied by $e^{\theta v}$ (with $v$ its points value) and renormalised, θ chosen so the tilted mean hits a target rate — keeps a player's style, sets his rate.
- Benchmark: "Kohli SR+ 100.4 → 101.9" (season update) — Ch 36.
- Crease: fantasy.season_models, simulate.
- Taught in: Ch 36.
Winner's curse (forecast selection)
Choosing the option with the highest estimated value biases that estimate upward; the bias grows with noise and the number of options. Shrink before choosing. - Benchmark: "top pick over-estimated (78.9 sim v 69.9 real)" (captaincy, 2023–26) — Ch 36. - Taught in: Ch 36; see also Ch 35 on backtest selection.
C.11 Computing the core metrics for one player
The script appendices/code/c_metrics_demo.py computes about fifteen of the metrics above for Virat Kohli's IPL career through the same functions the chapters use, then a short bowling block for Jasprit Bumrah. Both players are pinned by registry id with cricdata.only_player. Run it from the book folder (on a Windows console set PYTHONIOENCODING=utf-8 first):
python appendices/code/c_metrics_demo.py
The core of it:
from cricdata import load_deliveries, batting_summary, bowling_summary, only_player
from crease import batting, traditional
ipl = load_deliveries("ipl")
ipl = ipl[~ipl["super_over"]]
kb = only_player(ipl, "V Kohli") # one person, not one spelling
core = batting_summary(kb).loc["V Kohli"] # average, SR, dot %, boundary %
trad = traditional.traditional_batting(kb).loc["V Kohli"] # not-out %, inflation
prof = batting.batting_profile(kb) # RPI, NBSR, boundary value, six share
rap = traditional.runs_above_par(ipl).loc["V Kohli"] # par from the WHOLE league
srp = batting.sr_plus(ipl).loc["V Kohli"] # SR+ = 100 x runs / par runs
by_phase = batting.sr_plus(ipl, by=["batter", "phase"], par=batting.phase_par(ipl))
Par is always computed from the whole league (ipl), never from the player's own balls: SR+ against himself would be 100 by construction.
Output (pasted from the run; saved as appendices/code/c_output.txt):
IPL deliveries in the snapshot: 295,557 from 1,243 matches
[1] Canonical batting table — V Kohli, IPL 2008–2026
innings 275
balls 6,926
runs 9,336
outs 231
fours 844
sixes 316
average 40.42
strike_rate 134.8
dot_pct 32.6
boundary_ball_pct 16.75
boundary_run_pct 56.47
[2] Not-out diagnostics (Chapter 4)
not_outs 44
not_out_pct 16.0
runs_per_innings 33.95
average_inflation 1.191
[3] Shape metrics (Chapter 8)
rpi 33.95
balls_per_boundary 5.97
nbsr 70.48
boundary_value 4.545
six_share 27.24
scoring_shot_pct 67.4
SR from boundaries 76.12 + from running 58.68 = 134.80
identity 100·b·BV + (1−b)·NBSR = 134.80 (SR 134.8)
[4] Context-adjusted pace (par = IPL runs per ball faced, same year × phase)
runs above par 235.4 (3.4 per 100 balls)
SR+ (career) 102.6 par SR 131.4 actual SR 134.8
by phase:
balls runs strike_rate par_sr sr_plus
phase
powerplay 2684 3477 129.55 130.08 99.6
middle 3407 4286 125.80 126.31 99.6
death 835 1573 188.38 156.37 120.5
[5] Canonical bowling table — JJ Bumrah, IPL
balls 3,631
runs 4,441
wickets 187
economy 7.34
average 23.75
strike_rate 19.42
dot_pct 42.16
boundary_pct 14.62
par economy 8.91 economy vs par -1.57
average × SR 461.1 (geometric mean 21.48)
Three checks are worth noticing. The SR identity holds exactly (76.12 + 58.68 = 134.80). Every figure that a chapter also reported matches it: average 40.42 and SR 134.80 (Chapter 1), not-out 16.0% (Chapter 4), runs above par +235.4 (Chapter 4), career SR+ 102.6 and death SR+ 120.5 with SR 188.38 (Chapter 8), Bumrah's economy 7.34 and economy vs par −1.57 (Chapter 4). And the phase split shows why SR+ exists: Kohli's raw powerplay and middle-overs strike rates (129.55, 125.80) look ordinary beside his death SR, but against par they are both 99.6, almost exactly league average, while the death overs are 20% above it.
⚠️ Common pitfall: Bumrah's IPL average × strike rate (461.1) is not comparable with the Test figures in Chapter 16 (848 for Bumrah). Same formula, different format, different scale. The same warning applies to every metric in this appendix: a number travels with its format, competition, era and filter, or it doesn't travel at all.
For the statistical methods behind these metrics see Appendix D; for every column and toolkit function, Appendix B; for the same calculations in R, Appendix J.