On 21 February 2019, at the Holkar Cricket Stadium in Indore, Saurashtra batted first against Railways in the Syed Mushtaq Ali Trophy, India's domestic T20 competition. Their opener made 100 off 61 balls, with 14 fours and a six. Saurashtra reached...
In This Chapter
- 5.1 One Game, Three Economies
- 5.2 The Binding Constraint: Wickets or Balls?
- 5.3 The Shape of an Innings
- 5.4 Risk Through an Innings — and Tests, Where the Ball Ages
- 5.5 How Batters Get Out
- 5.6 How Long an Innings Lasts
- 5.7 Bowling Across the Formats: Pace, Spin and the Currency of Wickets
- 5.8 One Batter, Three Sports
- 5.9 Settle This Debate: Are They Really Different Skills?
- 5.10 A Framework: Which Metric for Which Format
- Spaced Review
- Project Checkpoint: formats.py
- Chapter Summary
- What's Next
Chapter 5 — The Three Formats as Three Different Sports: How Test, ODI, and T20 Require Different Analytical Frameworks
On 21 February 2019, at the Holkar Cricket Stadium in Indore, Saurashtra batted first against Railways in the Syed Mushtaq Ali Trophy, India's domestic T20 competition. Their opener made 100 off 61 balls, with 14 fours and a six. Saurashtra reached 188. Railways reached 190 and won by five wickets, so the hundred lost — which is T20 for you.
The opener was Cheteshwar Pujara.
If you follow cricket you know the name and what comes with it. Pujara is the Test batter who faced 16,165 balls in the Cricsheet data, almost as many as Virat Kohli's 16,608 in 35 fewer innings: 98.6 balls per dismissal, against Kohli's 84.3. Bowlers had to work for every Pujara wicket. He is also the batter people reach for when they want a shorthand for "this player cannot play T20". A line like that shows up in commentary boxes, comment sections and, yes, in early drafts of textbooks: Pujara is elite in Tests and useless in T20.
So here are the numbers, from the same ball-by-ball data everything else in this book uses:
| Competition | Innings | Runs | Balls | Average | Strike rate |
|---|---|---|---|---|---|
| Tests | 175 | 7,160 | 16,165 | 43.66 | 44.29 |
| IPL (2010–2014) | 22 | 390 | 391 | 20.53 | 99.74 |
| Syed Mushtaq Ali Trophy (2016, 2019, 2022 seasons) | 16 | 623 | 495 | 51.92 | 125.86 |
"Useless" is the wrong word. Pujara's IPL record is genuinely poor. In the seasons he played, a typical top-order IPL batter struck at about 127 and he struck at under 100. His domestic T20 record is respectable and in places good, though it was earned against weaker attacks and over too few innings to say much. What the data actually shows is narrower and more interesting than the cliché: the skills that made Pujara one of the most valuable batters of his generation in one format earned a much smaller premium, and in the IPL a penalty, in another.
Now flip it. Suryakumar Yadav is one of the defining T20 batters of the 2020s. Across 105 T20I innings in the Cricsheet data he scored 3,213 runs at a strike rate of 162.44, against a baseline of about 136 for top-order batters in the same years. He has played one Test: Nagpur, February 2023, against Australia. He made 8 off 20 balls before Nathan Lyon bowled him, and India won by an innings and 132 runs. One innings and twenty balls are not a Test record in any useful sense. Anyone who tells you Suryakumar "would struggle in Tests" is guessing. The data can't settle it either way, and saying so honestly is part of this chapter's job.
These two players tell you why this chapter exists. Cricket is played in three main formats that share a ball, a bat, twenty-two yards and a set of Laws, and very little else analytically. The rate at which runs, balls and wickets trade against one another differs hugely between formats, and so do the shape of an innings, the ways batters get out and how long they survive. So does the answer to the most basic analytical question: what is a good performance? Treat Test, ODI and T20 cricket as one sport with three lengths and you will get nearly everything wrong.
By the end of this chapter you will have computed, from real data:
- the exchange rates of each format: run rate, runs per wicket, balls per wicket, dot-ball and boundary percentages;
- the binding constraint of each format (does the innings usually run out of wickets or out of balls?) and what a wicket is worth in runs;
- the shape of an innings, over by over;
- how batters get out, and how long they last, in each format;
- how pace and spin divide the work;
- a way to measure any player against the right format's baseline, and a test of whether the formats really reward different skills.
🏏 Fan Track: Read the hook, §5.1–5.2 and §5.8–5.10. The tables carry the argument even if you skip the code. The format-fingerprint chart (Figure 5.7) will change how you read a player's career summary.
📊 Analyst Track: Everything, especially §5.2 (the price of a wicket), §5.6 (survival curves) and §5.9 (cross-format correlations and the selection trap). The
formats.pymodule you build here gives every later model its baseline.🧑💼 Franchise Track: §5.1, §5.3, §5.7 and §5.9. If you scout T20 players from Test and ODI records, or the other way round, §5.9 tells you how much that evidence is worth: in some directions almost nothing.
5.1 One Game, Three Economies
The cricket question. Say a batter averages 30. Is that good? In a T20 league it's very good, in Test cricket it's ordinary for a top-order specialist, and in women's ODIs it's well above the league norm. You can't judge a number until you know what it is normally worth in that format.
So the first job of format-aware analytics is to compute each format's baseline: the league-wide rate at which runs, balls and wickets turn into one another. Economists would call these exchange rates, and the term fits. A run in a Test is a different currency from a run in the IPL.
📐 Definition — format exchange rates. For a set of deliveries (a format, a league, a season): - Run rate = 6 × total runs ÷ legal balls (runs per six-ball over, extras included). - Runs per wicket = total runs ÷ dismissals (retired hurt and retired not out excluded). - Balls per wicket = legal balls ÷ dismissals. - Batting strike rate (SR) = 100 × runs off the bat ÷ balls faced (wides excluded, no-balls included, the book's standard definition). - Dot % = share of balls faced with no run off the bat. Boundary-ball % = share of balls faced hit for 4 or 6. Boundary-run % = share of bat runs that came in 4s and 6s. - All-out % = share of team innings that ended with ten wickets down.
These are the standard definitions from toolkit/cricdata.py, used in every chapter. Batting average is runs ÷ dismissals for a batter. At league level, "runs per wicket" is the same idea applied to the whole batting side, extras included.
The code. We compare six groups of matches from January 2016 onward: men's Tests, ODIs and T20Is between full members (the twelve ICC full members, so a 400-run day against an associate doesn't skew the baseline), the IPL, and women's ODIs and T20Is between full members. Two pandas idioms are new here. isin asks "is this value in that set?" and returns a column of True/False that we use as a filter. ~ flips True and False, so ~balls["super_over"] keeps every delivery that is not part of a super over.
def load_group(code: str, full_only: bool):
"""Deliveries and matches for one competition, 2016 onward, full members only if asked."""
games = load_matches(code)
games = games[games["start_date"] >= SINCE]
if full_only:
games = games[games["team1"].isin(FULL_MEMBERS) & games["team2"].isin(FULL_MEMBERS)]
balls = load_deliveries(code)
balls = balls[balls["match_id"].isin(games["match_id"]) & ~balls["super_over"]]
return balls, games
def baseline(balls: pd.DataFrame, games: pd.DataFrame) -> dict:
"""The format's league-wide exchange rates."""
wkts = (balls["is_wicket"] & ~balls["wicket_kind"].isin(NOT_DISMISSAL)).sum()
legal = balls["is_legal"].sum()
runs = balls["runs_total"].sum()
faced = balls[balls["wides"] == 0]
bat_runs = faced["runs_batter"].sum()
fours, sixes = faced["is_four"].sum(), faced["is_six"].sum()
inns = innings_table(balls)
return {
"run_rate": 6 * runs / legal,
"runs_per_wkt": runs / wkts,
"balls_per_wkt": legal / wkts,
"batting_SR": 100 * bat_runs / len(faced),
"dot_pct": 100 * (faced["runs_batter"] == 0).mean(),
# ... boundary %, sixes, extras, all-out % (see full script)
}
Full script: code/01_format_baselines.py. Summing a column of True/False counts the Trues, because Python treats True as 1. That is how balls["is_legal"].sum() counts legal deliveries.
The output:
Format baselines, matches from 2016-01-01 (full members only except IPL)
matches legal_balls run_rate runs_per_wkt balls_per_wkt batting_SR
Test (men) 430.0 783197.0 3.31 30.60 55.46 52.23
ODI (men) 774.0 396910.0 5.62 33.43 35.69 88.84
T20I (men) 806.0 176306.0 8.42 24.64 17.57 132.38
IPL 726.0 166281.0 8.84 28.44 19.31 139.75
ODI (women) 496.0 250555.0 4.77 28.20 35.48 74.34
T20I (women) 591.0 129890.0 6.93 21.92 18.96 108.60
dot_pct boundary_ball_pct boundary_run_pct sixes_per_100b extras_per_100b all_out_pct declared_pct
Test (men) 73.55 6.45 51.27 0.48 2.70 72.83 14.45
ODI (men) 51.49 10.12 49.82 1.89 4.62 34.60 0.00
T20I (men) 37.77 16.96 59.80 5.66 7.36 16.25 0.00
IPL 35.94 18.70 62.60 6.34 6.96 9.53 0.00
ODI (women) 57.37 8.43 46.94 0.58 4.99 35.00 0.00
T20I (women) 42.40 13.51 52.74 1.62 6.59 10.86 0.00

📊 Figure (described): Six panels, one per exchange rate, each with a bar for the six competition groups (2016–2026). Run rate climbs from 3.3 an over in Tests to 8.8 in the IPL. Balls per wicket falls from 55 in Tests to under 20 in T20 cricket, and the share of innings ending all out falls from 73% in Tests to under 11% in the IPL and women's T20Is. Runs per wicket is the one measure that doesn't line up in format order: ODIs (33.4) are above Tests (30.6).
What it means, format by format.
Tests. Runs come at 3.31 an over, and a wicket falls every 55 balls. Nearly three-quarters of balls faced (73.55%) produce nothing off the bat. In Test cricket a dot ball is the normal state of affairs. It isn't a failure. Only 6.45% of balls faced go to the boundary, and sixes are rare: 0.48 per 100 balls. Most telling, 72.8% of Test innings end all out. Only about one in seven is declared, and the rest end because the match finished or the target was reached. The Test batter's main enemy is the wicket. Time matters too, but less often.
ODIs. The run rate is 70% higher than in Tests (5.62), yet runs per wicket is higher (33.43 against 30.60). An ODI wicket "costs" the batting side more runs than a Test wicket because, with balls limited, batters take fewer risks early and more late, and because Test bowling is simply harder to survive. About one ODI innings in three ends all out (34.6%). So in ODIs both constraints bite: a team can run out of balls or out of wickets, and plenty of matches are decided by which happens first.
T20 (men's T20Is and IPL). Run rate 8.4–8.8, a wicket every 17–19 balls, runs per wicket at its lowest (24.64 in T20Is). Dot balls fall to about 36–38% of balls faced, and the boundary carries everything: almost six in every ten bat runs in T20Is (59.8%) and 62.6% in the IPL come in fours and sixes. Only 16% of T20I innings and fewer than 10% of IPL innings are bowled out. T20 innings run out of balls, not wickets. That one fact underlies most of T20 strategy.
IPL versus T20Is. The IPL runs a little hotter than men's T20Is on every attacking measure: run rate 8.84 against 8.42, boundary-ball % 18.70 against 16.96, all-out % 9.53 against 16.25. Part of that is the IPL's Impact Player rule, in force from 2023, which lets a side bring in a substitute who can bat and bowl and so lengthens the batting order. IPL average first-innings scores rose to 183.0, 189.6, 190.9 and 195.7 in 2023–2026. Part of it is the T20I baseline including weaker full-member sides. A league is a format-plus-context, which is the subject of Chapter 26.
Women's cricket. The women's formats follow the same ordering at a lower tempo: ODI SR 74.34, T20I SR 108.60. The ratio of T20I to ODI strike rate is similar for men (132.38 / 88.84 ≈ 1.49) and women (108.60 / 74.34 ≈ 1.46). One striking difference: women's T20I innings end all out only 10.9% of the time, against 16.3% for men's T20Is. Sixes are much rarer in the women's game (1.62 per 100 balls in T20Is against 5.66 for men), so boundary-run % is lower (52.7%), and more of a women's T20 innings is built from ones and twos.
⚠️ Common pitfall: comparing raw numbers across formats. "She averages 38 in ODIs but only 30 in T20Is, so she's worse at T20." No. Women's T20I batting produces 21.92 runs per wicket and ODI batting 28.20. A 30 in T20Is sits further above its baseline than a 38 in ODIs does above its. Every comparison between formats has to go through each format's baseline first. Section 5.8 builds the tool to do it.
The limits. These are pooled baselines from 2016 onward. The T20 baseline in particular has moved fast. Computed by year from the book's data snapshot, full-member men's T20I first-innings averages were 168.2, 169.1 and 184.1 in 2024–2026, and the IPL's 2026 average first innings was 195.7. A baseline from 2016–2026 is out of date for 2026 by itself, which is why §5.8 compares players with their own era.
🔄 Check your understanding 1. Men's T20Is: 37.77% dot balls, 16.96% boundary balls. Men's Tests: 73.55% and 6.45%. In one sentence, what do these two pairs say about how a batter spends the ball in each format? 2. Why does the comparison restrict internationals to matches between full members but include every IPL match? 3. The IPL's all-out share (9.53%) is lower than men's T20Is (16.25%). Give two possible explanations, one about the league and one about the sample.
Answer
- In Tests most balls are deliberately not scored from (defended or left), and boundaries are occasional. In T20 a batter tries to score from nearly every ball and gets about one boundary every six balls faced.
- Matches against associates have very different scoring and would mix two kinds of cricket into one baseline. Every IPL match is between sides drawn from the same player pool, so the league is already a consistent competition.
- League: the Impact Player rule (from 2023) adds batting depth, so fewer sides get bowled out. Sample: the T20I baseline includes mismatches between strong and weak full members, which produce more collapses.
5.2 The Binding Constraint: Wickets or Balls?
🧩 Productive struggle. Before reading on, make two guesses. (1) Halfway through an uninterrupted first innings (after 10 overs of a T20I, after 25 of an ODI), a team has lost one more wicket than another team with the same score. How many runs lower do you expect its final total to be, in each format? (2) What would you guess for a Test first innings after 40 overs? Write your three numbers down, then read on.
Each format has a binding constraint, the resource that usually ends an innings. In Test cricket that resource is wickets. With no over limit, an innings ends when ten wickets have fallen, unless the captain declares or the match runs out of time. In T20 it is balls: 120 of them, and most teams still have wickets in hand when the last one is bowled. ODIs sit in between, with the constraint shifting during an innings.
📐 Definition — binding constraint. The resource (wickets or balls) that, in a format, most often ends a team's innings. Measured by the all-out % (the share of innings ending with ten wickets down) and, more usefully, by the price of a wicket: the runs an extra wicket lost at a given point costs the final total.
The all-out shares from §5.1 already show the gradient: 72.8% in Tests, about 35% in ODIs, 16% in men's T20Is, under 10% in the IPL. Test innings break down further by innings number:
Test innings (2016+, full members) by how they ended:
ended
all out 72.8
declared 14.5
match ended / target reached 12.7
Test innings by number, % all out:
innings
1 82.3
2 86.2
3 65.2
4 52.3
Test draw %: 12.3 of 430 matches
Four in five first and second innings end all out. Third innings are where declarations live, and fourth innings often end with the target reached. Only 12.3% of these 430 Tests between full members since 2016 were drawn. Taking all men's Tests in the snapshot by calendar year, the draw rate fell to 4.0% in 2024, 7.5% in 2025 and 8.7% in 2026 (to November), which means Test cricket has become a contest of wickets more than ever.
Pricing a wicket. The all-out share is crude. The better question is the one you just guessed at: what does losing one more wicket at a given moment cost? To answer it, take every uninterrupted first innings (no rain-rule result, 2016+, full members) and, at a checkpoint, fit a straight line:
$$\text{final total} = a + b \times \text{runs so far} + c \times \text{wickets so far}$$
The coefficient $c$ is the change in final total associated with one extra wicket down, holding the score at the checkpoint fixed. This is ordinary least squares (OLS) regression. If you haven't met it, think of it as the line that best fits the cloud of innings, with "best" meaning the smallest total squared miss. Appendix D has the details. We use statsmodels, whose formula interface reads almost like the equation:
def checkpoint_frame(b, over, test=False):
"""Per innings: runs and wickets after `over` completed overs, and the final total."""
final = b.groupby("match_id").agg(final=("runs_total", "sum"), wkts=("_wkt", "sum"),
last_over=("over", "max"), declared=("declared", "max"))
if test: # completed first innings only, long enough to reach the checkpoint
final = final[(final["wkts"] >= 10) | final["declared"]]
upto = b[b["over"] <= over].groupby("match_id").agg(runs_so_far=("runs_total", "sum"),
wkts_so_far=("_wkt", "sum"))
df = final.join(upto, how="inner")
df = df[(df["last_over"] > over) & (df["wkts_so_far"] < 10)] # innings still alive at checkpoint
return df
fit = smf.ols("final ~ runs_so_far + wkts_so_far", data=df).fit()
c = fit.params["wkts_so_far"]
The groupby(...).agg(name=(column, function)) pattern is named aggregation. It produces one row per group (here, per match) and one column per name=, which gives a tidy table in a single step. join lines two tables up on their index (the match id). Full script: code/06_wicket_exchange_rate.py.
What one extra wicket down costs in final-innings runs (first innings, 2016+, OLS)
format checkpoint_over innings avg_final runs_per_extra_wicket ci95 pct_of_avg_total R2
T20I (men) 6 765 166.6 -7.9 [-10.0, -5.8] -4.7 0.38
T20I (men) 10 751 167.9 -5.3 [-6.6, -4.0] -3.1 0.63
T20I (men) 15 734 169.4 -2.5 [-3.3, -1.8] -1.5 0.86
IPL 6 712 176.2 -6.8 [-8.7, -4.9] -3.9 0.42
IPL 10 712 176.2 -5.8 [-7.1, -4.5] -3.3 0.59
IPL 15 708 176.5 -3.5 [-4.2, -2.7] -2.0 0.83
T20I (women) 6 563 139.3 -5.6 [-7.7, -3.4] -4.0 0.49
T20I (women) 10 556 140.2 -2.4 [-3.7, -1.1] -1.7 0.71
T20I (women) 15 553 140.6 -2.1 [-2.8, -1.4] -1.5 0.88
ODI (men) 10 702 263.9 -20.7 [-24.9, -16.5] -7.8 0.28
ODI (men) 25 687 267.7 -19.1 [-21.0, -17.1] -7.1 0.64
ODI (men) 40 618 280.3 -10.1 [-11.2, -9.0] -3.6 0.87
ODI (women) 10 453 224.7 -23.7 [-28.7, -18.8] -10.6 0.44
ODI (women) 25 444 227.2 -14.6 [-16.7, -12.4] -6.4 0.72
ODI (women) 40 398 239.1 -6.8 [-8.0, -5.6] -2.9 0.90
Test (men) 20 426 331.0 -45.2 [-52.4, -38.0] -13.7 0.33
Test (men) 40 410 340.0 -42.8 [-47.4, -38.2] -12.6 0.50
Test (men) 60 353 366.7 -39.5 [-43.4, -35.6] -10.8 0.59
How did your guesses do? At halfway, one extra wicket down costs a men's T20I first innings about 5.3 runs (3.1% of the average total), an ODI about 19.1 runs (7.1%), and a Test first innings at 40 overs about 42.8 runs (12.6%). The ci95 column is the 95% confidence interval, a range of plausible values given the sample size. Chapter 6 explains how to read it. None of the intervals cross zero, and the T20 and ODI intervals at halfway don't overlap, so the difference between formats is not noise.

📊 Figure (described): For each competition, three bars show the cost of one extra wicket (as a percentage of the average first-innings total) at an early, middle and late checkpoint. T20 bars are short (1.5–4.7%), ODI bars are taller (2.9–10.6%) and fall steeply as the innings ages, and Test bars are tallest (10.8–13.7%). The price of a wicket rises with the length of the format and falls as the end of the innings approaches.
🔍 Why this works. A wicket is worth what the batting side loses by spending it: the runs the dismissed batter would still have made, plus the risk the incoming batters must now avoid. In T20 a team that is one wicket worse off at halfway still has, on average, more wickets than it can use before ball 120. The lost wicket mainly costs a few balls of a set batter and a slightly more cautious next over. In Tests nothing stops the innings except wickets, so every wicket removes a real share of the innings's remaining runs. ODIs sit between, and the price falls as the innings goes on because fewer balls remain for those wickets to be used. This is the logic behind DLS's "resources" (balls and wickets remaining), which Chapter 23 rebuilds from data. It is also why Chapter 19 describes an innings by its state (balls left, wickets left) rather than its score alone.
What it means for the game.
- T20: Aggression is cheap. Late in the innings (after 15 overs) an extra wicket costs a men's T20I side only about 2.5 runs, while a dot ball at that stage costs real runs. The format pays batters to take risks. That is why the "anchor", the batter who protects a wicket at a strike rate near the baseline, is so contested an idea in T20 analysis. Chapter 8 and Chapter 9 put numbers on it.
- ODI: Wickets are expensive early (20.7 runs at 10 overs for men, 23.7 for women) and cheap late (10.1 and 6.8 at 40 overs). That is the classic ODI tempo: preserve, then accelerate.
- Test: A wicket at 20 overs is associated with a first innings about 45 runs shorter, roughly a whole partnership. That is the reason Test analytics is built around survival (balls per dismissal, conversion, Kaplan–Meier curves), which Chapter 10 develops properly.
The limits. This is association, not cause. A team three down after 40 Test overs is often batting on a difficult pitch against good bowling, and those conditions also hold down the final total. Part of the "45 runs" is the wicket and part is what the wicket tells you about the day. That explains why the Test coefficient (−42.8 at 40 overs) is bigger than the first-innings runs per wicket (34.85, §5.4). The fit is also linear: it assumes the fifth wicket costs the same as the first, which it doesn't. Treat these numbers as exchange rates for intuition, not as a win-probability model. That comes in Chapter 20.
🔄 Check your understanding 1. Men's T20Is produce 24.64 runs per wicket and ODIs 33.43. Explain in one sentence why the longer format doesn't simply produce more runs per wicket in every case (Tests: 30.60). 2. In the IPL, after 15 overs, an extra wicket down costs about 3.5 runs. What does that suggest about how a set batter at 15 overs should weigh the risk of a big shot? 3. Why does the price of a wicket fall from over 10 to over 40 in ODIs?
Answer
- Runs per wicket depends on how hard the bowling is to survive as well as on time. Test bowling (new balls, close fields, no limit on attacking overs) takes wickets more cheaply than ODI bowling. ODI batters, meanwhile, protect their wickets early because they still have overs to use them, so ODI runs per wicket ends up above Tests even though ODI scoring is far faster.
- The wicket is cheap and the balls are precious. Unless the batter is the last recognised one, the expected cost of getting out (about 3.5 runs) is small compared with the runs a boundary attempt brings, so the format rewards attacking.
- Fewer balls remain, so fewer of the remaining wickets would ever have been "used". Losing one matters less when the innings is nearly over.
5.3 The Shape of an Innings
The cricket question. An ODI is not a slow T20, and a T20 is not a short ODI. But how exactly do their innings differ in shape? Where are the runs scored, and when?
To see the shape, compute the average runs scored in each over of uninterrupted first innings (2016+, full members). One subtlety matters a great deal. If a side is bowled out in the 38th over of an ODI, it scores no runs in over 45, but those zeros say nothing about how teams bat in over 45. So we average each over across only the innings that reached it:
def over_profile(balls: pd.DataFrame, n_overs: int) -> pd.DataFrame:
"""Runs per over and wicket % per legal ball, for each over 1..n_overs."""
b = balls[balls["over"] <= n_overs].assign(
_wkt=balls["is_wicket"] & ~balls["wicket_kind"].isin(NOT_DISMISSAL))
per_over = b.groupby(["match_id", "over"]).agg(runs=("runs_total", "sum"),
legal=("is_legal", "sum"),
wkts=("_wkt", "sum")).reset_index()
prof = per_over.groupby("over").agg(innings=("match_id", "nunique"),
runs_per_over=("runs", "mean"),
legal=("legal", "sum"), wkts=("wkts", "sum"))
prof["wkt_pct_per_ball"] = 100 * prof["wkts"] / prof["legal"]
return prof
This is a two-step groupby. First we total each over of each innings (match × over), then we average those over-totals across innings for each over number. An over that was never bowled has no row, so it can't drag the average down. assign adds a new column without changing the original table. Full script: code/02_scoring_shape.py.
Men's T20I first innings (full members, 2016+, no DLS): runs per over by over
over 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
innings 774.00 773.00 772.00 769.00 767.00 765.00 765.00 763.00 759.00 755.00 751.00 748.00 745.00 741.00 741.00 734.00 733.00 729.00 723.00 702.00
runs_per_over 6.47 7.42 8.56 8.74 8.78 8.89 6.94 7.55 7.75 8.04 8.27 7.94 8.57 8.23 8.74 9.16 9.80 9.77 9.82 11.13
wkt_pct_per_ball 3.10 4.83 4.65 4.43 4.98 4.31 3.73 4.00 4.17 4.17 4.82 4.95 5.08 5.47 5.64 5.99 6.47 7.58 10.70 13.64
Men's ODI first innings (full members, 2016+, no DLS): every 5th over
over 1 5 10 11 15 20 25 30 35 40 41 45 48 50
innings 706.00 704.00 702.00 702.00 697.00 694.00 689.00 674.00 652.00 624.00 618.00 582.00 541.00 491.00
runs_per_over 3.72 5.29 5.15 4.77 4.91 5.01 5.29 5.38 5.76 6.14 6.11 7.64 8.69 9.71
wkt_pct_per_ball 2.15 2.51 2.16 1.90 1.89 1.80 2.25 2.23 2.80 2.60 3.01 4.59 7.30 13.87
Share of an average full first innings's runs by phase (%):
T20I men {'powerplay': 28.6, 'middle': 42.2, 'death': 29.1}
IPL {'powerplay': 28.4, 'middle': 41.8, 'death': 29.9}
T20I women {'powerplay': 27.6, 'middle': 43.1, 'death': 29.3}
ODI men {'powerplay': 17.3, 'middle': 55.1, 'death': 27.6}
ODI women {'powerplay': 17.3, 'middle': 55.7, 'death': 27.0}
Share of the overs in each phase: T20 30/45/25 ; ODI 20/60/20
Look at the innings row. In men's ODIs 706 first innings reached over 1 and only 491 reached over 50, so almost a third of uninterrupted first innings were bowled out before the end. In T20Is, 774 reached over 1 and 702 reached over 20. That's the binding constraint again, read straight off the counts.

📊 Figure (described): Runs per over (vertical) against the fraction of the innings completed (horizontal), so a 20-over and a 50-over innings share one axis. The T20 curves (men's T20I, IPL, women's T20I) rise steeply through the powerplay, drop sharply in over 7 when the field spreads, then climb to the last over. The ODI curves start much lower (3.7 runs in the first over for men), sag through a long flat middle, and only take off in the last fifth. T20 is fast throughout with two surges, while ODI is a slow build with one late surge.
What it means, format by format.
T20. Three features stand out. First, the powerplay ramps up quickly: 6.47 runs in over 1, 8.56 by over 3, 8.89 in over 6, close to the innings average from ball 13. Second, there is a cliff at over 7: the men's T20I rate falls from 8.89 to 6.94, and the IPL's from 9.09 to 7.34, the moment the powerplay ends and up to five fielders, not two, may stand outside the circle. You couldn't ask for a cleaner signature of a Law in the data. Third, the death overs run hot: 11.13 in the 20th over of a T20I and 12.26 in the IPL. Yet the phase shares are surprisingly even. The powerplay (30% of the overs) brings 28.6% of the runs, and the death (25% of the overs) brings 29.1%. In T20, every phase is a scoring phase.
ODI. The first over yields only 3.72 runs, and the last over 9.71, a ratio of 2.61 against 1.72 in T20Is. The ODI middle 30 overs (60% of the innings) produce 55.1% of the runs at about five an over. Most ODI games are won or lost there, by the side that keeps wickets in hand and keeps the scoreboard moving. Note also the dip at over 11 (5.15 in over 10, 4.77 in over 11), the same field-restriction cliff as T20, only smaller.
Women's cricket. The shapes are the same. Women's ODI phase shares (17.3 / 55.7 / 27.0) are almost identical to the men's (17.3 / 55.1 / 27.6), and the T20I shares match too. The level is lower. The shape, which is the logic of how the resources get spent, is common to both.
⚠️ Common pitfall: averaging over overs that weren't bowled. If you compute "average runs in over 50" by summing over-50 runs and dividing by the number of matches, every bowled-out innings adds a zero, and you'll conclude that ODI death bowling is far more effective than it is. Condition on the innings reaching the over. The same trap waits in any "per-phase" average. A batter who is usually out before the death has few death balls, and it's the balls faced, not the matches, that belong in the denominator.
5.4 Risk Through an Innings — and Tests, Where the Ball Ages
The cricket question. If T20 batters attack in the last overs, they must also get out more often. By how much? And what replaces "phases" in a format with no over limit?
The same over_profile function gives the wicket % per legal ball for every over: the share of deliveries in that over that take a wicket.

📊 Figure (described): Left, T20: wicket risk sits around 3–5% per ball through the first 15 overs, then climbs to roughly 14% per ball in the 20th over (13.64% in men's T20Is, 13.98% in the IPL). Right, ODI: risk is around 2% per ball for the first 40 overs, then climbs steeply to 13.87% in the 50th over. Both formats end with roughly one wicket in every seven balls.
Both formats finish the same way, with one wicket for about every seven balls in the final over, but they get there differently. In a T20I the risk is already 4–5% per ball during the powerplay and it never really settles. In an ODI it sits near 2% for 40 overs, less than half the T20 level, and then rises in the last ten. That is the price of a wicket (§5.2) turned into behaviour: when wickets are cheap, batters spend them.
Tests: no phases, but the ball ages. Test cricket has no powerplay and no death, and the toolkit's phase column for Tests is simply "none". Test cricket does have a clock of its own, the age of the ball. Under the Laws and playing conditions, the fielding side may take a new ball after 80 overs (see Appendix E). So we group overs into blocks with pd.cut, which takes a numeric column and a list of bin edges and returns a label for the bin each value falls in:
blocks = pd.cut(tb["over"], [0, 10, 20, 40, 60, 80, 90, 100, 120, 150, 400],
labels=["1-10", "11-20", "21-40", "41-60", "61-80", "81-90", "91-100",
"101-120", "121-150", "151+"])
tblk = tb.groupby(blocks, observed=True).agg(runs=("runs_total", "sum"), legal=("is_legal", "sum"),
wkts=("_wkt", "sum"))
Men's Tests (full members, 2016+): by over of the innings
run_rate balls_per_wkt share_of_balls_pct
over
1-10 3.11 53.2 12.2
11-20 3.27 59.6 12.0
21-40 3.29 59.0 22.9
41-60 3.30 57.4 19.2
61-80 3.32 56.1 14.2
81-90 3.46 46.8 5.2
91-100 3.35 49.3 4.1
101-120 3.42 49.2 5.4
121-150 3.65 55.3 3.8
151+ 4.05 42.3 1.0
Men's Tests (full members, 2016+): by innings number
run_rate runs_per_wkt balls_per_wkt
innings
1 3.38 34.85 62.0
2 3.28 31.48 57.5
3 3.35 28.06 50.3
4 3.16 25.48 48.3

📊 Figure (described): Run rate (one axis) creeps up slowly through a Test innings, from about 3.1 in the first ten overs to about 3.6 by overs 121–150. Balls per wicket (other axis) is lowest at the very start (the new ball), peaks between overs 11 and 40 at around 59–60, eases down through the 60s and 70s, then drops sharply just after over 80, when the second new ball becomes available. Test cricket's "phases" are the life cycle of the ball.
Three things stand out for Tests:
- The new ball is the most dangerous time to bat, twice. Balls per wicket is 53.2 in overs 1–10, rises to 59–60 in overs 11–40, then falls to 46.8 in overs 81–90, the lowest of any block before the late tail of very long innings. Overs 81–90 are only 5.2% of all Test balls, but they are the most wicket-rich stretch of a normal Test innings. Note that the blocks past 80 mix fresh-ball spells with innings in which the tail is already in. Take this as a correlation.
- Run rate barely moves. It climbs only from 3.11 to about 3.3 through the first 80 overs. Test batters don't shift gear the way white-ball batters do. They stay in, and the runs follow.
- The pitch wears. Runs per wicket falls from 34.85 in the first innings to 31.48, 28.06 and 25.48 in the fourth. Splitting Tests from 2015–2026 by conditions shows the same fall in every region: first- to fourth-innings runs per wicket goes from 36.39 to 24.48 in the subcontinent and 34.58 to 26.98 in SENA countries (South Africa, England, New Zealand, Australia). A fourth-innings 40 is worth more than a first-innings 40, and Test analytics that ignores innings number is ignoring the pitch. Chapter 29 models that deterioration.
🏏 Eye test: Imran Qureshi, who runs analytics for a club side in Leeds, read the over-81–90 row and laughed. "Every opening bowler in England could have told you that. What your table can't tell you is why some second new balls do nothing. Under cloud, with a Dukes ball and some grass left, the 81st over is a different game from a dry August afternoon at the Oval." He's right, and Cricsheet can't see it: there's no weather field, no ball brand, no pitch report. The data shows the average new-ball effect, and the coach on the balcony knows which new ball is going to swing. The two belong together. That's theme 5 of this book, and it is why Chapter 16 treats conditions as a first-class input.
🔄 Check your understanding 1. The T20I run rate falls from 8.89 in over 6 to 6.94 in over 7. What changes at that moment, and why does it reduce scoring? 2. Fourth-innings Test runs per wicket is 25.48. A batter's career fourth-innings average is 31. Is that good? 3. Why can't you build a "death-overs" metric for Test cricket?
Answer
- The powerplay ends. Up to five fielders may now stand outside the 30-yard circle (only two were allowed during overs 1–6), so the gaps behind square and down the ground close and boundaries become harder to find.
- Yes. It's about 22% above the fourth-innings baseline (31 / 25.48 ≈ 1.22). Measured against all Test innings, 31 would look ordinary, which is why innings number belongs in the baseline.
- A Test innings has no fixed length, so there's no "last five overs" until it's over. The closest analogues are the age of the ball, the innings number and the state of the match, such as setting a target or batting to save a draw.
5.5 How Batters Get Out
The cricket question. If the formats reward different risks, batters should fall in different ways. Do they?
Cricsheet records the mode of every dismissal. We count them per format, folding "caught and bowled" into "caught" and leaving out retirements. One new idiom: value_counts(normalize=True) gives the share of each value rather than the count.
def dismissal_mix(balls):
"""Share of dismissals (excluding retirements) by mode, %."""
d = balls[balls["is_wicket"] & ~balls["wicket_kind"].isin(NOT_DISMISSAL)]["wicket_kind"]
d = d.replace({"caught and bowled": "caught"})
d = d.where(d.isin(["caught", "bowled", "lbw", "run out", "stumped"]), "other")
return (100 * d.value_counts(normalize=True)).reindex(
["caught", "bowled", "lbw", "run out", "stumped", "other"]).fillna(0)
where(condition, other) keeps each value where the condition is true and replaces it with other everywhere else, which here folds the rare modes (hit wicket, obstructing the field) into "other". Full script: code/03_dismissals_survival.py.
Dismissal mix by format, % of dismissals (2016+, retirements excluded; c&b counted as caught)
wicket_kind caught bowled lbw run out stumped other
Test (men) 61.6 18.0 16.2 2.4 1.8 0.1
ODI (men) 63.6 18.3 10.4 5.4 2.2 0.1
T20I (men) 67.0 18.0 6.4 5.8 2.6 0.2
IPL 69.6 15.3 6.1 6.6 2.2 0.3
ODI (women) 54.6 19.9 12.8 8.5 4.1 0.1
T20I (women) 53.3 20.3 8.8 10.9 6.5 0.2

📊 Figure (described): Each bar splits 100% of dismissals by mode. Caught dominates everywhere but grows from 61.6% in men's Tests to 69.6% in the IPL. LBW shrinks from 16.2% of Test dismissals to about 6% in T20 cricket. Run-outs grow from 2.4% in Tests to 5.8–6.6% in men's T20 and 10.9% in women's T20Is, where stumpings (6.5%) are also far more common than in any men's format.
What it means.
- LBW is a Test dismissal. Its share falls by more than half from Tests (16.2%) to men's T20Is (6.4%). Test bowlers attack the stumps with fielders in catching positions and batters who leave and defend. T20 batters are usually trying to hit the ball, often away from the line of the stumps, so a ball that would have trapped them in front is more often hit, or mis-hit to a fielder. That also helps explain why caught rises with tempo: a lofted shot that goes wrong becomes a catch.
- Run-outs are a limited-overs dismissal. In Tests nobody needs a risky single. In T20 every run is contested. Women's T20Is have the highest run-out share in the table (10.9%). With fewer sixes, more runs must be run, and running is where run-outs happen.
- Stumpings mark spin plus intent. Stumpings are 6.5% of women's T20I dismissals and 4.1% in women's ODIs, about double the men's shares. A batter stumped has usually left the crease to attack a slow bowler, and §5.7 shows spin bowls more than half of all balls in women's international cricket.
- Bowled is the constant. About 18% of dismissals in every men's format (15.3% in the IPL), and about 20% in the women's game. Missing a straight ball is a hazard every format shares.
⚠️ Common pitfall: judging a bowler's "wicket-taking style" without the format mix. A seamer whose T20 wickets are 75% caught is not "less skilful" than a Test seamer whose wickets are 30% lbw-and-bowled. The format changes the batter's behaviour, and with it the way dismissals arrive. Compare a bowler's dismissal mix with that format's baseline mix, never with another format's.
🔄 Check your understanding 1. LBW is 16.2% of men's Test dismissals and 6.4% of men's T20I dismissals. Give one reason grounded in how batters play each format. 2. A women's T20I wicketkeeper has 30 stumpings and 40 catches in her career. A men's T20I keeper has 15 stumpings and 55 catches. Before ranking their "stumping skill", what baseline difference from the table should you account for?
Answer
- Test batters defend and leave balls on or near the stumps, giving the bowler more chances to hit the pad in line. T20 batters are usually trying to hit the ball, often away from the line of the stumps, so a ball that would be lbw is more often struck (and sometimes caught).
- Stumpings are 6.5% of women's T20I dismissals but 2.6% of men's, because spin bowls more of the overs and batters advance to it. More stumping chances arise in the women's game, so compare each keeper with her or his format's opportunity, not with each other's raw counts.
5.6 How Long an Innings Lasts
The cricket question. A standard line about Test cricket is that "the premium is on survival". Can we measure survival directly, format by format, and see where in the order it matters?
Batting by position
Cricsheet has no batting-position field (a limitation noted in Chapter 2). We infer the order of entry: the striker on the first ball is No. 1, the non-striker No. 2, and each new name after that takes the next number. Night-watchmen and promoted hitters are ranked by when they walked out, which is the right definition for most purposes and the wrong one for a few. Then each batter innings gets balls faced, runs and whether it ended in a dismissal:
def batter_innings(balls):
"""One row per batter innings: entry position, balls faced, runs, dismissed?"""
key = ["match_id", "innings"]
s = balls[key + ["delivery_seq", "batter"]].assign(role=0).rename(columns={"batter": "player"})
n = balls[key + ["delivery_seq", "non_striker"]].assign(role=1).rename(columns={"non_striker": "player"})
first = pd.concat([s, n]).sort_values(key + ["delivery_seq", "role"])
first = first.drop_duplicates(key + ["player"])
first["position"] = first.groupby(key).cumcount() + 1
...
pd.concat stacks the striker and non-striker lists into one long table. sort_values puts each innings in delivery order (striker before non-striker on the same ball), drop_duplicates keeps each player's first appearance, and groupby(key).cumcount() + 1 numbers the players 1, 2, 3… within each innings. That's five idioms in five lines, and together they rebuild a scorecard's batting order from raw deliveries.
Batting by inferred entry position (2016+)
format slot innings balls_per_dismissal average SR not_out_pct
Test (men) 1-2 3210 65.4 33.22 50.8 3.7
Test (men) 3-4 3147 70.1 36.55 52.1 5.8
Test (men) 5-7 4453 62.7 34.23 54.6 8.5
Test (men) 8-11 5254 30.3 15.15 49.9 24.1
ODI (men) 1-2 3046 41.8 37.96 90.9 4.7
ODI (men) 3-4 2983 46.5 40.29 86.7 10.2
ODI (men) 5-7 3973 33.9 31.11 91.7 17.6
ODI (men) 8-11 3553 18.1 14.77 81.5 36.3
T20I (men) 1-2 3176 20.2 27.72 137.5 6.0
T20I (men) 3-4 3095 20.4 27.26 133.6 12.8
T20I (men) 5-7 3948 16.3 21.24 130.7 25.7
T20I (men) 8-11 2606 9.9 11.07 111.2 45.5
IPL 1-2 2896 23.1 32.99 142.7 6.5
IPL 3-4 2843 21.3 29.84 140.3 13.5
IPL 5-7 3519 17.1 23.98 140.5 29.7
IPL 8-11 1947 10.1 11.61 115.1 50.1
ODI (women) 1-2 1960 44.6 34.14 76.6 6.3
ODI (women) 3-4 1904 47.4 35.00 73.8 13.1
ODI (women) 5-7 2473 31.1 23.75 76.4 16.2
ODI (women) 8-11 2270 17.5 11.21 64.1 34.1
T20I (women) 1-2 2338 22.3 25.62 114.8 7.2
T20I (women) 3-4 2257 22.2 23.86 107.5 15.3
T20I (women) 5-7 2738 16.1 17.16 106.6 29.4
T20I (women) 8-11 1589 10.0 8.62 86.1 47.3
Read the not_out_pct column with Chapter 4 in mind. A men's T20I No. 5–7 is not out in 25.7% of innings, and an IPL No. 5–7 in 29.7%. In Tests the figure is 8.5%. As Chapter 4 showed, not-outs inflate averages, and in T20 they inflate the middle and lower order most. A T20 No. 6 averaging 30 and a T20 opener averaging 30 have done very different things. The Test numbers are flatter: positions 1–7 all last 62–70 balls per dismissal, and Test No. 3–4 is the best-protected slot in the whole table (70.1 balls per dismissal).
Note too that the T20 strike rate barely changes from the openers down to No. 7 (137.5, 133.6, 130.7 in men's T20Is). In Tests it rises down the order (50.8 → 54.6) as the middle order meets an older ball and attacking fields go. The ODI No. 5–7 strikes fastest (91.7), because they bat in the death overs.
Survival curves
Balls per dismissal (balls faced ÷ dismissals) is a good one-number summary, but it hides the shape of survival. Is the typical Test innings 65 balls long, or are there many quick failures and a few marathons? To see the whole distribution we use a Kaplan–Meier survival curve: the estimated share of innings still going after n balls. Its key feature is that it treats a not-out innings properly. A batter who finished on 37 not out survived at least 37 balls. We don't know when they would have been out, so the innings is censored at 37, not counted as a dismissal at 37. Chapter 10 develops the method fully. Here we just use the lifelines library:
top = inn[inn["position"] <= 4]
kmf = KaplanMeierFitter().fit(top["balls"], event_observed=top["out"])
kmf.median_survival_time_ # balls by which half of innings have ended
Top-order (positions 1-4) survival in balls faced - Kaplan-Meier, not-outs censored
format top4_innings median_balls_KM P(survive 30 balls) P(survive 60 balls) P(survive 100 balls) P(survive 200 balls) naive_median_balls
Test (men) 6357 41.0 59.3 37.7 22.8 6.9 40.0
ODI (men) 6029 32.0 51.5 27.9 10.1 0.3 31.0
T20I (men) 6271 15.0 22.7 2.6 0.0 0.0 14.0
IPL 5739 17.0 26.3 3.2 1.3 1.3 16.0
ODI (women) 3864 34.0 54.1 28.5 10.2 0.0 33.0
T20I (women) 4595 17.0 25.6 3.0 0.0 0.0 16.0
(The T20 columns beyond 60 balls are not meaningful. Almost no T20 innings get there, and the IPL's flat 1.3% is the last estimate carried forward by the method, not a real 1-in-75 chance of facing 200 balls.)

📊 Figure (described): Survival curves for top-order (positions 1–4) innings. The T20 curves (men's T20I, IPL, women's T20I) fall fastest and are nearly all at zero by 60–70 balls. Half of T20I innings are over by 15 balls. The ODI curves (men and women, nearly on top of each other) cross 50% at 32–34 balls and reach zero near 170 balls. The Test curve falls slowest. Half of innings last 41 balls, 22.8% last 100 balls, and a long tail runs past 300.
What it means.
- The median top-order innings is short in every format. Even in Tests half of top-order innings are over by ball 41. Survival is the Test premium, yet most Test innings still end quickly. What separates great Test batters is the tail: how often they reach 100 and 200 balls (22.8% and 6.9% of top-order innings). Pujara's 98.6 balls per dismissal is a tail statistic.
- A T20 innings is an event, not a process. A men's T20I top-order innings has a 22.7% chance of reaching 30 balls and a 2.6% chance of reaching 60. That's why T20 metrics are built per ball (strike rate, boundary %, dot %) rather than per innings. Almost every T20 sample is a pile of very short innings, a point about small samples that Chapter 6 takes much further.
- Men's and women's ODIs share a clock. Women's ODI top-order innings survive slightly longer (median 34 balls, 54.1% past 30) than men's (32, 51.5%). The scoring rate differs. The survival pattern does not.
🔄 Check your understanding 1. Why does the Kaplan–Meier median (41 balls for Test top-order batters) differ only slightly from the naive median of balls faced (40)? 2. A T20 finisher batting at No. 6 averages 35. Before praising the average, what one column from the position table should you check? 3. Women's T20Is have more run-outs and stumpings than men's T20Is. Give one cricketing reason for each.
Answer
- Top-order batters are rarely not out (3.7–5.8% in Tests), so few innings are censored and the two medians nearly agree. For No. 8–11 in a T20 (45–50% not out) the gap would be large.
- The not-out share for that slot and format: 25.7% for men's T20I No. 5–7 and 29.7% in the IPL. The average is divided by fewer dismissals than innings. Check strike rate and balls per dismissal next to it (and see Chapter 4).
- Run-outs: fewer sixes means more runs have to be run, and more running means more run-out chances. Stumpings: spin bowls most of the overs in women's cricket (§5.7), and batters leave the crease to attack it.
5.7 Bowling Across the Formats: Pace, Spin and the Currency of Wickets
The cricket question. If batting changes this much between formats, bowling must too. Who does the bowling, and what does a bowler trade: runs for wickets, or wickets for runs?
The toolkit doesn't know whether a bowler is pace or spin, because Cricsheet records no player roles. This book's reference table data/reference/player_styles.csv adds bowling styles (from public player profiles, each row graded high, medium or low confidence). We merge it onto the deliveries, which in pandas means matching rows of two tables on a shared column. Here the bowler's Cricsheet name is matched, and the merge is restricted to the right gender because a few names are shared between a man and a woman.
styles = pd.read_csv(BOOK / "data" / "reference" / "player_styles.csv")
styles = styles[styles["confidence"].isin(["high", "medium"]) & styles["bowling_type"].notna()]
st = styles[styles["gender"] == sex][["cricsheet_name", "bowling_type"]].drop_duplicates("cricsheet_name")
b = b.merge(st, left_on="bowler", right_on="cricsheet_name", how="left")
s = bowling_summary(b[b["bowling_type"].notna()], by="bowling_type")
how="left" keeps every delivery, matched or not. Unmatched bowlers get a missing bowling_type, and we report the coverage so you know how much of the data the comparison rests on. Full script: code/07_pace_spin_by_format.py.
Pace vs spin by format, 2016+ (styles table, high/medium confidence)
coverage_pct spin_share_pct pace_econ spin_econ pace_avg spin_avg pace_SR spin_SR
format
Test (men) 97.6 40.7 3.19 3.18 28.18 33.15 53.08 62.58
ODI (men) 97.1 39.0 5.67 5.25 32.76 37.93 34.66 43.38
T20I (men) 97.2 39.4 8.60 7.69 25.97 25.02 18.12 19.52
IPL 96.1 37.2 9.05 8.05 29.45 30.18 19.53 22.49
ODI (women) 96.3 51.5 4.79 4.55 31.02 28.87 38.83 38.07
T20I (women) 97.0 53.9 7.08 6.54 25.57 22.53 21.68 20.67
Spin's share of legal balls by phase (%)
phase powerplay middle death
ODI (men) 10.3 52.1 26.9
T20I (men) 23.2 59.9 18.8
IPL 18.7 58.7 18.9
ODI (women) 17.9 64.4 49.6
T20I (women) 36.4 67.1 51.7
Here the bowling summary's economy is 6 × runs conceded ÷ legal balls, bowling average is runs conceded ÷ wickets, and bowling strike rate is balls ÷ wickets. Wickets are those credited to the bowler, so run-outs are excluded.

📊 Figure (described): Left: spin bowls 37.2–40.7% of legal balls in men's Tests, ODIs, T20Is and the IPL, but more than half in women's ODIs (51.5%) and T20Is (53.9%). Right: in men's Tests and ODIs, pace takes wickets much more often than spin (53 against 63 balls per wicket in Tests, 35 against 43 in ODIs). In T20 cricket the gap almost closes, and in women's cricket spin's strike rate is level with or better than pace.
What it means, format by format.
Tests. Pace and spin concede at almost exactly the same rate here (3.19 an over against 3.18), so economy says nothing about which type is better. The difference is in wickets: pace takes one every 53.08 balls, spin every 62.58. In Test cricket, where the binding constraint is wickets, strike rate and average are the bowling currency. A Test bowler who goes at 3.6 an over but strikes every 45 balls is usually worth more than one who goes at 2.6 and strikes every 80. Remember too that this is a pooled average across conditions. Chapter 18 splits it by country, where the answer changes a great deal.
ODIs. Spin is cheaper (5.25 against 5.67) but takes wickets less often (43.38 against 34.66 balls per wicket). Spin owns the middle overs (52.1% of balls in overs 11–40) and bowls only 10.3% of the powerplay. The ODI question for a spinner is usually "can you keep it to five an over through the middle and take wickets?", and the data shows both halves of that question matter.
T20. Spin is markedly cheaper (7.69 against 8.60 in T20Is, 8.05 against 9.05 in the IPL) and nearly as penetrative. In the binding-constraint terms of §5.2, wickets are cheap in T20, so economy (runs denied) becomes the main bowling currency, and spin's economy edge makes it a weapon. It bowls about 60% of the middle overs, though less than a fifth of the death.
Women's cricket. Spin bowls the majority of balls, including about half of the death overs (49.6% in ODIs, 51.7% in T20Is), and in T20Is has a better average (22.53) and strike rate (20.67) than pace. Analyses built on men's cricket (for example "spinners don't bowl at the death") simply don't transfer. A women's T20 analytics framework starts from its own baselines, which Chapter 26 builds out.
The limits. Coverage is 96–98% of legal balls in every competition here, the IPL included (96.1%): the styles table now reaches most of the league's short-career domestic bowlers too. The few percent still unmatched are mostly fringe players, and if they lean towards one type the split is slightly biased. "Pace" also lumps a 145 km/h fast bowler together with a medium-pacer who bowls cutters. Cricsheet can't separate them, and the styles table only roughly can.
5.8 One Batter, Three Sports
The cricket question. Now back to the hook. How do we compare a player's T20 record with their Test record, when every format has its own exchange rates and those rates keep moving over time?
The answer is a format-relative index: measure the player against the typical top-order batter of the same competition in the same years. It is the cricket version of what baseball analysts call "plus" stats (OPS+, ERA+). The full context-adjusted versions arrive in Part II. This is the simple, honest first step.
📐 Definition — era-matched relative average and relative strike rate. For each competition (Tests, ODIs, T20Is, IPL…) and calendar year, compute the baseline batting average and strike rate of all batters at inferred positions 1–7 (internationals: matches between full members). For a player, average the yearly baselines, weighting each year by the balls the player faced in it. Then - relative average = player's average ÷ weighted baseline average, - relative SR = player's strike rate ÷ weighted baseline strike rate.
1.00 means "typical top-seven batter of that competition and era". 1.20 means 20% better.
The weighting matters. Kohli's IPL career runs from 2008 to 2026, and an IPL strike rate of 135 meant something quite different in 2010 than in 2026. In the code, era_baseline produces one row per year, and relative_card does the weighting:
s = batting_summary(pb, by=["batter", "year"]).reset_index()
s = s[s["batter"] == player].merge(baseline, left_on="year", right_index=True, how="left")
runs, bf, outs = int(s["runs"].sum()), int(s["balls"].sum()), int(s["outs"].sum())
w = s["balls"] / bf # share of the player's balls faced in each year
exp_avg = float((w * s["base_avg"]).sum())
exp_sr = float((w * s["base_sr"]).sum())
rel_avg, rel_sr = (runs / outs) / exp_avg, (100 * runs / bf) / exp_sr
(That excerpt is from the module project/crease/formats.py. The chapter script code/04_players_across_formats.py does the same calculation in longer form. A player's record covers all their matches in that competition, which keeps the totals equal to the familiar career figures. The baseline is always full-member matches.)
Men: record by format with era-matched top-order baselines (Cricsheet, full snapshot)
player format innings runs balls outs average SR base_avg base_SR rel_avg rel_SR
CA Pujara Test 175 7160 16165 164 43.66 44.29 35.83 50.47 1.22 0.88
SA Yadav Test 1 8 20 1 8.00 40.00 36.88 55.77 0.22 0.72
V Kohli Test 210 9230 16608 197 46.85 55.58 35.90 51.25 1.30 1.08
JE Root Test 309 14278 24783 283 50.45 57.61 35.30 52.18 1.43 1.10
KS Williamson Test 195 9515 18306 176 54.06 51.98 36.22 51.94 1.49 1.00
SPD Smith Test 227 11003 20439 199 55.29 53.83 36.37 52.71 1.52 1.02
Babar Azam Test 122 4771 8614 111 42.98 55.39 34.83 52.29 1.23 1.06
Mushfiqur Rahim Test 183 6592 13549 167 39.47 48.65 36.24 52.09 1.09 0.93
BKG Mendis Test 138 4826 8236 132 36.56 58.60 34.80 52.45 1.05 1.12
JC Buttler Test 100 2907 5365 91 31.95 54.18 34.77 50.20 0.92 1.08
TM Head Test 120 4863 7003 114 42.66 69.44 34.68 54.25 1.23 1.28
HC Brook Test 70 3610 4182 68 53.09 86.32 34.35 56.77 1.55 1.52
CA Pujara ODI 5 51 130 5 10.20 39.23 33.91 83.90 0.30 0.47
SA Yadav ODI 35 773 736 30 25.77 105.03 34.21 89.39 0.75 1.17
V Kohli ODI 303 14987 15892 256 58.54 94.31 35.32 86.20 1.66 1.09
JE Root ODI 183 7762 8886 155 50.08 87.35 36.11 88.27 1.39 0.99
KS Williamson ODI 165 7145 8749 148 48.28 81.67 36.00 87.53 1.34 0.93
SPD Smith ODI 151 5668 6522 132 42.94 86.91 35.88 88.52 1.20 0.98
Babar Azam ODI 139 6446 7419 123 52.41 86.89 36.38 89.73 1.44 0.97
Mushfiqur Rahim ODI 227 7096 8783 187 37.95 80.79 34.96 85.74 1.09 0.94
BKG Mendis ODI 146 4812 5457 135 35.64 88.18 36.34 90.22 0.98 0.98
JC Buttler ODI 173 5629 4853 142 39.64 115.99 35.83 88.75 1.11 1.31
TM Head ODI 80 3214 3030 74 43.43 106.07 35.57 89.26 1.22 1.19
HC Brook ODI 46 1691 1540 42 40.26 109.81 35.59 91.45 1.13 1.20
SA Yadav T20I 105 3213 1978 88 36.51 162.44 25.47 136.49 1.43 1.19
V Kohli T20I 112 3963 2915 82 48.33 135.95 25.26 128.80 1.91 1.06
JE Root T20I 29 881 699 24 36.71 126.04 25.02 128.39 1.47 0.98
KS Williamson T20I 88 2526 2037 76 33.24 124.01 25.19 129.07 1.32 0.96
SPD Smith T20I 54 1090 868 43 25.35 125.58 25.37 129.27 1.00 0.97
Babar Azam T20I 134 4545 3542 116 39.18 128.32 25.12 132.23 1.56 0.97
Mushfiqur Rahim T20I 82 1307 1135 66 19.80 115.15 24.73 127.15 0.80 0.91
BKG Mendis T20I 105 2605 1997 99 26.31 130.45 25.43 136.96 1.03 0.95
JC Buttler T20I 147 4345 2885 123 35.33 150.61 25.28 132.89 1.40 1.13
TM Head T20I 50 1335 849 46 29.02 157.24 25.10 136.02 1.16 1.16
HC Brook T20I 61 1695 1026 46 36.85 165.20 25.75 139.94 1.43 1.18
CA Pujara IPL 22 390 391 19 20.53 99.74 26.89 126.67 0.76 0.79
SA Yadav IPL 164 4581 3083 136 33.68 148.59 29.09 140.68 1.16 1.06
V Kohli IPL 275 9336 6926 231 40.42 134.80 28.11 135.55 1.44 0.99
...
(The remaining IPL rows are trimmed here. The script prints them all, including Smith's IPL relative average of 1.25 and relative SR of 0.98.)

📊 Figure (described): Each row is a batter and each marker a format (Test circle, ODI square, T20I triangle, IPL diamond). Formats with fewer than 120 balls faced are omitted, so Suryakumar's 20-ball Test does not appear. The left panel shows most of these elite batters at 1.2–1.9 times their era's top-order average in their main formats. The right panel is where the format specialists show up. Pujara's markers sit left of 1.0 (Test 0.88, IPL 0.79), while Buttler's ODI (1.31), Head's Test (1.28) and Brook's Test (1.52) sit well to the right.
Reading the fingerprints.
- Pujara (India): Test relative average 1.22 at a relative SR of 0.88. He was a well-above-average Test run-maker who scored slower than the typical top-order batter of his era, a perfectly coherent Test profile (the price of a wicket is high, §5.2). In the IPL, relative average 0.76 and relative SR 0.79. In the format where the wicket is cheap and the ball is precious, his method earned less, and the data shows that clearly. His five ODI innings (130 balls) are too few to judge.
- Suryakumar Yadav (India): T20I relative average 1.43 at relative SR 1.19. He scores more and faster than the typical T20I top-order batter. That combination is rare and is the T20 version of greatness. His ODI record (35 innings, relative average 0.75, relative SR 1.17) is fast but short of runs. His one Test is twenty balls. No conclusion about Suryakumar in Test cricket is supported by this data, in either direction.
- Kohli, Root, Williamson, Smith, Babar: the all-format greats look like what they are. Relative averages of 1.2–1.9 everywhere they've batted substantially, with strike rates close to their era's norm (0.93–1.10). They win by not getting out without scoring slowly. Kohli's T20I relative average of 1.91 is the highest in the table. Steve Smith's T20I relative average is exactly 1.00, the one format where Australia's great Test batter is merely typical. Smith's IPL strike rate (relative 0.98) at an above-baseline average (1.25) shows the pattern isn't simply "Test batters can't play T20".
- Buttler and Head (England, Australia): tempo travels with them. Buttler's relative SR is above 1 in every format (Test 1.08, ODI 1.31, T20I 1.13, IPL 1.06). His Test average (0.92) is the weak point. Head strikes at 1.28× the Test baseline. Harry Brook's Test numbers (relative average 1.55, relative SR 1.52) come from 70 innings, and he is an outlier on both axes at once.
- Mushfiqur Rahim (Bangladesh) and Kusal Mendis (Sri Lanka,
BKG Mendisin Cricsheet): Mushfiqur is a consistent above-baseline run-maker in Tests and ODIs (relative average 1.09 in both) whose T20I average (0.80) falls below the line. He often batted in the middle order there, where (as §5.6 showed) the T20 average is structurally lower, so a top-7 baseline is slightly harsh on him. Mendis is closest to "typical" across the board, with his Test strike rate (1.12) his most distinctive mark.
Women: the same exercise
The book's data snapshot does not include women's Tests (the women's game plays very few), so the comparison is ODI against T20I:
Women: record by format with era-matched top-order baselines
player format innings runs balls outs average SR base_avg base_SR rel_avg rel_SR
S Mandhana ODI 101 4760 5103 94 50.64 93.28 30.31 76.12 1.67 1.23
MM Lanning ODI 76 3555 3906 63 56.43 91.01 29.83 71.88 1.89 1.27
EA Perry ODI 104 3860 4801 67 57.61 80.40 30.34 74.05 1.90 1.09
BL Mooney ODI 86 3189 3553 65 49.06 89.76 30.59 75.66 1.60 1.19
L Wolvaardt ODI 119 5384 6994 103 52.27 76.98 30.36 75.51 1.72 1.02
NR Sciver-Brunt ODI 101 4013 4208 83 48.35 95.37 30.11 74.78 1.61 1.28
H Kaur ODI 102 3454 4149 85 40.64 83.25 30.29 74.92 1.34 1.11
AC Jayangani ODI 90 3300 4148 85 38.82 79.56 30.07 74.18 1.29 1.07
HK Matthews ODI 88 3530 4241 83 42.53 83.24 31.04 76.47 1.37 1.09
SFM Devine ODI 86 3078 3453 81 38.00 89.14 30.10 74.34 1.26 1.20
S Mandhana T20I 157 4612 3552 142 32.48 129.84 22.55 110.59 1.44 1.17
MM Lanning T20I 89 2538 2206 64 39.66 115.05 20.24 101.17 1.96 1.14
EA Perry T20I 105 2242 1850 70 32.03 121.19 21.55 106.39 1.49 1.14
BL Mooney T20I 119 3816 2993 91 41.93 127.50 22.25 110.17 1.88 1.16
L Wolvaardt T20I 99 2984 2413 76 39.26 123.66 22.89 111.88 1.72 1.11
NR Sciver-Brunt T20I 126 3061 2518 97 31.56 121.56 21.75 107.36 1.45 1.13
H Kaur T20I 148 3561 3062 113 31.51 116.30 21.98 108.78 1.43 1.07
AC Jayangani T20I 138 3837 3198 128 29.98 119.98 21.83 107.58 1.37 1.12
HK Matthews T20I 115 3188 2729 104 30.65 116.82 22.56 110.10 1.36 1.06
SFM Devine T20I 112 3006 2399 97 30.99 125.30 21.45 107.22 1.44 1.17
(Cricsheet names: AC Jayangani is Chamari Athapaththu of Sri Lanka, H Kaur is Harmanpreet Kaur of India, and Nat Sciver-Brunt's records appear under two names, NR Sciver and NR Sciver-Brunt, which the script merges.)

📊 Figure (described): Every one of the ten batters sits above 1.0 on both axes: they score faster than their era's typical top-order batter in both formats. Meg Lanning and Nat Sciver-Brunt sit to the right of the diagonal (relatively faster in ODIs, 1.27–1.28, than in T20Is, 1.13–1.14), while Laura Wolvaardt sits to the left (1.02 in ODIs, 1.11 in T20Is). Mandhana, Mooney and Devine cluster near 1.16–1.23 in both.
Two things stand out. First, look at the relative averages. Lanning (1.96) and Mooney (1.88) in T20Is, and Perry (1.90) and Lanning (1.89) in ODIs, sit further above their format baseline than almost any man in the table above. A plausible reason is that the spread of talent between the best and the typical international side is wider in the women's game, a theme Chapter 26 explores carefully. Second, Laura Wolvaardt (South Africa) looks like a "format specialist" in the raw numbers, with ODI SR 76.98 against T20I SR 123.66. Against each format's baseline, though, she is a slightly faster-than-typical scorer in T20Is (1.11) and a typical-tempo, very high-average accumulator in ODIs (relative average 1.72). Case Study 2 follows her by phase.
🔄 Check your understanding 1. Why weight a player's yearly baselines by balls faced in that year rather than taking a simple average of the years they played? 2. Kohli's IPL relative SR is 0.99 and his IPL relative average is 1.44. Describe his IPL value in one plain-English sentence. 3. Suryakumar's Test relative average is 0.22. Why does Figure 5.7 leave it out, and why is that the right call?
Answer
- A player who faced 600 balls in 2024 and 50 in 2012 should be compared mostly with 2024. Weighting by balls makes the baseline match where the player's record actually came from.
- He scored at almost exactly his era's typical IPL top-order tempo while being dismissed far less often, so he produced about 44% more runs per dismissal than a typical top-seven batter without scoring faster.
- It comes from one innings of 20 balls. Any ratio built on one dismissal is dominated by chance, so plotting it next to 16,000-ball careers would invite exactly the false conclusion the chapter warns against. Chapter 6 shows how to attach uncertainty to small samples.
📋 Try it — Evaluate this player. Bangladesh's Mushfiqur Rahim, from the table above: Test average 39.47 (relative 1.09, SR relative 0.93), ODI average 37.95 (1.09, 0.94), T20I average 19.80 (0.80, 0.91). A selector says: "He's a Test and ODI batter, not a T20 batter." Using the table and what you know from §5.6 about where batters bat in T20Is, write a three-sentence evaluation that is fair to the player and honest about the evidence.
Worked answer
Mushfiqur has been a steady above-baseline run-maker in Tests and ODIs, about 9% better than his era's typical top-seven batter in both, at a slightly below-typical tempo (0.93–0.94). In T20Is his average is 20% below the top-seven baseline and his strike rate 9% below. That is a real gap, though part of the average gap reflects batting in the middle order, where §5.6 shows men's T20I averages run about 21 against 27–28 for the top four, so a position-matched baseline would be kinder to him. A fair statement: "His T20I scoring rate has been below the format's norm, and his Test and ODI value comes from run accumulation that T20 rewards less." That's evidence about tempo, not a verdict on his skill.
5.9 Settle This Debate: Are They Really Different Skills?
The cricket question. The fingerprints show individual cases. The bigger claim, the one in this chapter's title, is that the formats reward different skills. If that's true, being good at one format should tell you little about being good at another. Can we test it?
The test: take every men's batter with a substantial sample in all three international formats (full-member matches, the whole snapshot: at least 1,500 Test balls, 1,000 ODI balls and 500 T20I balls) and correlate their numbers across formats. Do the same for bowlers (at least 1,500 Test balls, 1,000 ODI and 480 T20I). We use the Spearman rank correlation (ρ, "rho"), which asks whether players ranked high on one measure also rank high on the other. It runs from −1 (perfectly reversed) through 0 (no relationship) to +1 (identical order), and isn't thrown by one or two extreme values. DataFrame.corr(method="spearman") computes all pairs at once.
for fmt, code in CODES.items():
b = fm_balls(code)
s = batting_summary(b)
s = s[s["balls"] >= BAT_MIN[fmt]]
bat[fmt] = s[["average", "strike_rate", "balls"]].add_prefix(fmt + "_")
B = bat["Test"].join(bat["ODI"], how="inner").join(bat["T20I"], how="inner")
rb = B[bcols].corr(method="spearman").round(2)
An inner join keeps only batters present in all three tables, which here means only those who qualified in every format. Full script: code/05_cross_format_correlation.py.
Batters qualifying in all three formats: 76
Bowlers qualifying in all three formats: 82
Batting: Spearman rank correlations across formats
Test_average Test_strike_rate ODI_average ODI_strike_rate T20I_average T20I_strike_rate
Test_average 1.00 0.28 0.44 0.01 0.27 -0.01
Test_strike_rate 0.28 1.00 -0.02 0.37 -0.07 0.26
ODI_average 0.44 -0.02 1.00 0.42 0.60 0.34
ODI_strike_rate 0.01 0.37 0.42 1.00 0.34 0.80
T20I_average 0.27 -0.07 0.60 0.34 1.00 0.46
T20I_strike_rate -0.01 0.26 0.34 0.80 0.46 1.00
Bowling: Spearman rank correlations across formats
Test_average Test_economy ODI_average ODI_economy T20I_average T20I_economy
Test_average 1.00 0.39 0.48 0.06 0.26 -0.02
Test_economy 0.39 1.00 0.04 0.44 -0.03 0.28
ODI_average 0.48 0.04 1.00 0.26 0.55 0.19
ODI_economy 0.06 0.44 0.26 1.00 0.32 0.73
T20I_average 0.26 -0.03 0.55 0.32 1.00 0.53
T20I_economy -0.02 0.28 0.19 0.73 0.53 1.00

📊 Figure (described): Each point is a batter. Test average runs along the horizontal axis (24.75 to 61.07), T20I strike rate up the vertical (102.53 to 164.10). The cloud shows no trend (Spearman ρ = −0.01). The highest Test averages (Sangakkara 61.07, Smith 55.29, Williamson 54.06) sit in the middle of the T20I strike-rate range, and the fastest T20I scorers (Brook, Head, Buttler) are spread across the Test-average range. Brook is the one batter near the top of both.

📊 Figure (described): Two six-by-six grids of Spearman correlations. In both, the brightest off-diagonal cells link ODI and T20I tempo (batting strike rate 0.80, bowling economy 0.73). The cells linking Test average with T20I strike rate (batting, −0.01) and Test average with T20I economy (bowling, −0.02) are dark, meaning no relationship. Same-format and adjacent-format averages sit in the middle (0.27–0.60).
The verdict.
- Test run-making tells you nothing about T20 tempo. Spearman ρ between Test average and T20I strike rate is −0.01 (Pearson r = +0.02, p = 0.86). Among these 76 batters, knowing how well someone bats in Tests gives no information about how fast they score in T20Is. The rank shifts are stark. Kumar Sangakkara has the highest Test average in the group (61.07) and ranks 59th of 76 on T20I strike rate. Misbah-ul-Haq ranks 10th on Test average and 73rd on T20I strike rate. Jos Buttler ranks 3rd on T20I strike rate and 60th on Test average.
- Tempo is a portable skill between the white-ball formats. ODI strike rate and T20I strike rate correlate at ρ = 0.80. A batter who scores fast in one-day cricket scores fast in T20s. For bowlers, ODI and T20I economy correlate at 0.73. ODIs and T20Is are different sports, but they share a currency.
- Run-making transfers partially. Averages correlate moderately: Test–ODI 0.44, ODI–T20I 0.60, Test–T20I 0.27. Some general batting quality (technique, judgement) carries across, but in T20 it is converted at a poor rate.
- Bowling shows the same split. Test bowling average against T20I economy: ρ = −0.02. The skills that take Test wickets cheaply (persistence, movement, building pressure over a spell) are unrelated, in this group, to the ability to deny T20 runs.
So "three different sports" turns out to be a measurable result and not a slogan. At the elite level, Test batting skill and T20 batting tempo are essentially independent. ODI cricket overlaps with both, sharing tempo with T20 and run-making with Tests.
⚠️ Common pitfall: the selection trap (range restriction). These 76 batters are not a random sample of cricketers. They were picked by their countries for all three formats, which means they cleared a high bar in each. That restricts the range of every measure (there are no truly bad T20 batters among them), and correlations computed on a restricted range come out smaller than they would on the full population. A club batter would be worse than all 76 in every format, so across all cricketers Test and T20 ability surely correlate positively. The honest statement is narrower: among international-class batters, Test average does not predict T20 tempo. That's the population scouts and selectors actually choose from, and it is why this caveat matters. Chapter 6 returns to selection effects and Simpson's paradox.
📋 Try it — Settle this debate. A pundit says: "Great batters are great in every format. Just look at Kohli." Using the correlation table and at least two named batters from §5.8 or the rank lists below, write a four-sentence reply that (a) concedes what is true in the claim, (b) states what the data shows for international-class batters in general, and (c) notes one limitation of the evidence.
text Top 10 T20I strike rates among the same batters, with their Test-average rank: T20I_strike_rate Test_average rank_t20i_sr rank_test_avg HC Brook 164.10 53.09 1 5 TM Head 153.00 42.66 2 23 JC Buttler 150.21 31.95 3 60 AK Markram 148.99 35.73 4 52 SR Watson 145.33 35.78 5 51
Worked answer
(a) Some batters are excellent in every format. Kohli's relative averages are 1.30 in Tests, 1.66 in ODIs and 1.91 in T20Is, and Brook is top-five on both Test average and T20I strike rate among the 76 three-format batters. (b) But they are exceptions. Across those 76 batters, Test average and T20I strike rate have essentially zero rank correlation (ρ = −0.01). Sangakkara (1st on Test average, 59th on T20I SR) and Buttler (3rd on T20I SR, 60th on Test average) are just as typical as Kohli. (c) The sample includes only players picked for all three formats, which restricts the range and pulls correlations towards zero, so the claim holds for international-class batters, not for cricketers in general.
5.10 A Framework: Which Metric for Which Format
Now we can put the chapter's results together into a working framework, the one every later chapter assumes.
| Test | ODI | T20 | |
|---|---|---|---|
| Binding constraint | Wickets (72.8% of innings all out) | Both: balls and wickets (34.6% all out) | Balls (16.3% of T20I, 9.5% of IPL innings all out) |
| Price of a wicket (first innings, mid-innings checkpoint) | ≈43 runs (12.6% of total) at 40 overs | ≈19 runs (7.1%) at 25 overs | ≈5 runs (3.1%) at 10 overs |
| Primary batting metrics | Average; balls per dismissal; conversion; relative to innings number and conditions | Average and SR, by phase; middle-overs scoring; death acceleration | SR (by phase); boundary %; dot %; average as secondary |
| Primary bowling metrics | Bowling average and strike rate (balls per wicket); conditions splits | Economy and strike rate by phase; middle-overs wickets | Economy by phase; dot %; boundary % conceded; wickets as secondary |
| The innings clock | Ball age (new ball, 80 overs) and innings number | Phases 1–10 / 11–40 / 41–50 | Phases 1–6 / 7–15 / 16–20 |
| Typical top-order innings (KM median, men) | 41 balls | 32 balls | 15 balls |
| Sample-size unit | Innings and balls (long innings, few matches) | Innings and balls by phase | Balls by phase (very short innings) |
| Characteristic dismissals | LBW 16.2%, bowled 18.0% | Caught 63.6%, run out 5.4% | Caught 67–70%, run out 5.8–6.6% |
| Biggest trap | Ignoring innings number and conditions | Mixing phases | Small samples; not-out inflation in the lower order |
📐 Definition — format-appropriate metric. A metric is format-appropriate when it measures performance in the currency of that format's binding constraint (wickets in Tests, balls in T20, both in ODIs) and is compared with a baseline from the same format, competition and era.
The decision rule for any analysis in this book:
- Name the format (and competition, and gender) before you compute anything.
- Pick the currency: per-wicket metrics where wickets bind, per-ball metrics where balls bind, phase-split metrics where both do.
- Compare with the right baseline: same format, same competition, same era, and where possible the same phase, innings number or batting position.
- Transfer evidence across formats only where the correlations allow. White-ball tempo transfers well between ODI and T20. Test run-making tells you little about T20 tempo.
- State the sample. One Test, twenty balls, is not a Test record.
🔷 R corner (not run in this book's build). The format baselines of §5.1 in
dplyr, assuming you have exported deliveries for each format to a single data frameballswith aformatcolumn and the same column names as the book's Parquet files:
r library(dplyr) balls |> group_by(format) |> summarise( run_rate = 6 * sum(runs_total) / sum(is_legal), runs_per_wkt = sum(runs_total) / sum(is_wicket & !(wicket_kind %in% c("retired hurt", "retired not out"))), batting_SR = 100 * sum(runs_batter[wides == 0]) / sum(wides == 0), dot_pct = 100 * mean(runs_batter[wides == 0] == 0) )Appendix J covers working with the book's data in R.
🔄 Check your understanding 1. Why is "average" the primary batting metric in Tests but only secondary in T20? 2. ODI and T20I strike rates correlate at 0.80 among three-format batters. Does that mean ODI and T20 cricket are "the same sport"? Use the price-of-a-wicket table in your answer. 3. Name one reason the cross-format correlations might understate the overlap between Test and T20 batting skill.
Answer
- In Tests the binding constraint is wickets. An innings only ends when you're out, so runs per dismissal measures the value created. In T20 the binding constraint is balls, so runs per ball (strike rate) measures value, and a high average at a low strike rate can actually cost a side runs.
- No. They share a skill (tempo) but price wickets differently: an extra wicket at halfway costs about 19 runs in an ODI against about 5 in a T20I. The same fast batter must manage risk very differently in each, so evaluation frameworks have to differ even when the underlying skill transfers.
- Range restriction. Only players good enough to be picked in all three formats are in the sample, which compresses each measure and pulls correlations towards zero.
Spaced Review
Before you look anything up, try to answer these from memory.
- From Chapter 4: Not-outs inflate batting averages. In which batting slot and format of this chapter's position table would you expect the largest inflation, and why? (Check yourself: men's T20 and IPL No. 8–11 are not out in 45.5% and 50.1% of innings, and No. 5–7 in 25.7% and 29.7%. The slots that come in late, with few balls left, are most often not out. The not-out problem from Chapter 4 is, in other words, a format problem: barely present for Test top-orders, severe for T20 middle orders.)
- From Chapter 4: Why is economy rate a misleading single number for a T20 bowler? (Because it ignores phase. This chapter's per-over profile shows T20I runs per over ranging from 6.47 in the first over to 11.13 in the last, so a bowler's economy depends on when they bowl. Chapter 4 showed this with real bowlers' phase economies. Here you've seen the league-wide curve behind it.)
- From Chapter 3: What does
groupby(["match_id", "over"]).agg(...)followed bygroupby("over").agg(...)do, and why did §5.3 need two steps rather than one? (The first step totals each over of each innings. The second averages those totals across innings, so an over that was never bowled has no row to drag the average down. A single groupby onoverover all deliveries would give runs per ball, not per over, and would weight innings unequally. If the pattern feels shaky, revisit Chapter 3's groupby section.) - From Chapter 2: Name two things this chapter had to infer because Cricsheet doesn't record them. (Batting position, inferred from order of entry, and bowling type, merged from the styles reference table. Ball age in Tests was approximated from the over number. See Chapter 2's list of what Cricsheet lacks.)
Project Checkpoint: formats.py
Nusrat opened her laptop in Dhaka with the fan going full blast against the October heat and typed the question that had nagged her since Chapter 4: compared with what? Every number in Crease so far (the season tables from data.py, the top-N lists from explore.py, the traditional-stat diagnostics from traditional.py) was a raw number. A strike rate of 120 means one thing in a 2012 T20I and another in a 2026 IPL match, and a different thing again in a Test. This chapter gives Crease its first sense of context.
Her module is project/crease/formats.py. It depends only on the toolkit, and its public functions are:
| Function | What it returns |
|---|---|
format_of(code) |
"Test", "ODI", "T20" or "Hundred" for a competition code |
filter_balls(balls, games, since, until, full_members_only, exclude_dls, innings) |
deliveries restricted the way this chapter restricts them |
format_baseline(balls) |
a Series of the format's exchange rates (§5.1) |
over_profile(balls, n_overs) |
runs per over and wicket % per ball (§5.3–5.4) |
dismissal_mix(balls) |
% of dismissals by mode (§5.5) |
entry_positions(balls), batter_innings(balls) |
inferred batting order; one row per batter innings (§5.6) |
era_baseline(balls, games, full_members_only, max_position) |
top-order average and SR per calendar year (§5.8) |
relative_card(balls, baseline, player) |
a player's record with era-matched relative indices (§5.8) |
wicket_exchange_rate(first_innings_balls, checkpoint_over, completed_only) |
the price of a wicket at a checkpoint (§5.2) |
format_profile(code, since, full_members_only) |
a bundle: baseline, first-innings shape, dismissal mix |
The demo, code/project_checkpoint.py, builds profiles for the three men's international formats, evaluates a Bangladesh great she grew up watching at Mirpur, and prices a wicket:
from crease.formats import (format_profile, era_baseline, relative_card, filter_balls,
wicket_exchange_rate, PHASES)
for code in ["tests_male", "odis_male", "t20s_male"]:
balls, games = load_deliveries(code), load_matches(code)
base = era_baseline(balls, games, full_members_only=True)
fm = filter_balls(balls, games, full_members_only=True)
card = relative_card(fm, base, "Mushfiqur Rahim")
ODI: share of a full first innings's runs by phase {'powerplay': 17.3, 'middle': 55.1, 'death': 27.6}
T20: share of a full first innings's runs by phase {'powerplay': 28.6, 'middle': 42.2, 'death': 29.1}
Mushfiqur Rahim, era-matched:
tests_male {'innings': 183, 'runs': 6592, 'average': 39.47, 'SR': 48.65, 'rel_avg': 1.09, 'rel_SR': 0.93}
odis_male {'innings': 223, 'runs': 7008, 'average': 38.09, 'SR': 80.43, 'rel_avg': 1.09, 'rel_SR': 0.94}
t20s_male {'innings': 74, 'runs': 1192, 'average': 20.2, 'SR': 115.84, 'rel_avg': 0.81, 'rel_SR': 0.91}
Price of one extra wicket at halfway:
t20s_male over 10: -5.3 runs (-3.1% of avg total 167.9), n = 751
odis_male over 25: -19.1 runs (-7.1% of avg total 267.7), n = 687
(Here Mushfiqur's record is restricted to full-member matches, which is why his ODI and T20I totals are slightly lower than in §5.8, where his whole record was used. Both choices are legitimate. Just say which one you made.)
"So the T20 dashboard and the Test dashboard shouldn't even show the same headline number," Nusrat said.
Wendell, on the video call from Port of Spain, nodded. "Took you five chapters. My Pelicans' kids want to know their average. I tell them: in twenty overs, show me your strike rate and your dot balls. Average is for when you've got all day."
How it plugs in later. era_baseline and relative_card become the baselines behind Chapter 8's batting metrics. over_profile is the first draft of the state-based thinking in Chapter 19. wicket_exchange_rate is a straight-line ancestor of the resource tables in Chapter 23, and batter_innings feeds the survival analysis of Chapter 10. From now on, every Crease function that reports a number will be able to say compared with what.
Chapter Summary
The core claim, now measured: Test, ODI and T20 cricket have different exchange rates between runs, balls and wickets, different binding constraints, different innings shapes and different dismissal patterns, and at the international level they reward skills that are, in part, unrelated.
| Measure (2016–2026, full members; IPL all) | Test (men) | ODI (men) | T20I (men) | IPL | ODI (women) | T20I (women) |
|---|---|---|---|---|---|---|
| Run rate | 3.31 | 5.62 | 8.42 | 8.84 | 4.77 | 6.93 |
| Runs per wicket | 30.60 | 33.43 | 24.64 | 28.44 | 28.20 | 21.92 |
| Balls per wicket | 55.46 | 35.69 | 17.57 | 19.31 | 35.48 | 18.96 |
| Batting SR | 52.23 | 88.84 | 132.38 | 139.75 | 74.34 | 108.60 |
| Dot % (batting) | 73.55 | 51.49 | 37.77 | 35.94 | 57.37 | 42.40 |
| Boundary-ball % | 6.45 | 10.12 | 16.96 | 18.70 | 8.43 | 13.51 |
| All-out % of innings | 72.83 | 34.60 | 16.25 | 9.53 | 35.00 | 10.86 |
| Top-4 innings median length (KM) | 41 balls | 32 | 15 | 17 | 34 | 17 |
| LBW share of dismissals | 16.2% | 10.4% | 6.4% | 6.1% | 12.8% | 8.8% |
| Spin share of legal balls | 40.7% | 39.0% | 39.4% | 37.2% | 51.5% | 53.9% |
Key results to carry forward:
- An extra wicket at halfway costs ≈5 runs in a men's T20I first innings, ≈19 in an ODI, and ≈43 in a Test first innings at 40 overs (OLS, association not cause).
- T20 first innings take 28.6% of their runs from the powerplay, 42.2% from the middle and 29.1% from the death. ODI first innings take 17.3 / 55.1 / 27.6%.
- Test runs per wicket falls from 34.85 (first innings) to 25.48 (fourth). Wickets come fastest just after the second new ball (46.8 balls per wicket in overs 81–90).
- Among 76 men's three-format batters, Test average and T20I strike rate have ρ = −0.01, while ODI and T20I strike rates have ρ = 0.80. Bowlers' Test average and T20I economy have ρ = −0.02.
- Pujara: Test relative average 1.22, IPL relative SR 0.79, and a domestic T20 record of 623 runs at SR 125.86, so "useless in T20" is false and "less effective in the IPL" is true. Suryakumar: one Test, 20 balls, so no Test conclusion is possible.
Decision framework: name the format → choose the currency of its binding constraint → compare with a same-format, same-era baseline → transfer evidence across formats only where the data shows the skill travels → always state the sample.
What's Next
Pujara's 22 IPL innings and Suryakumar's one Test raise a question this chapter kept stepping around: how much can a small sample tell you? Chapter 6 takes it on directly, with sample size, confidence intervals, regression to the mean, shrinkage and Simpson's paradox, so that every format-relative number you computed here can come with an honest statement of how sure we are.