56 min read

Here are two IPL innings, written the way a scorer's pencil would record them: one character per ball faced, a dot for no run off the bat, a digit for the runs scored.

Chapter 8 — Beyond Batting Average: Strike Rate, Boundary Percentage, Dot Ball Rate, and Metrics That Actually Measure Batting Value

Two strings of digits

Here are two IPL innings, written the way a scorer's pencil would record them: one character per ball faced, a dot for no run off the bat, a digit for the runs scored.

The first is Chris Gayle for Kings XI Punjab against Kolkata Knight Riders at Eden Gardens on 21 April 2018, a rain-shortened chase that Punjab won by nine wickets under the Duckworth–Lewis method:

...4..4.416146.....4.161.166........16

The second is Rajat Patidar for Royal Challengers Bengaluru against Gujarat Titans in Qualifier 1 of the 2026 IPL at Dharamsala, an innings that took Bengaluru to 254/5 and a 92-run win:

1116111.1124114646166611416416161

Count the dots. Gayle faced 38 balls and scored nothing off the bat from 21 of them — more than half. Yet he made 62 runs, a strike rate of 163.2, because six of the other balls went for six and five went for four. Patidar faced 33 balls and was kept scoreless by exactly one. He made 93, with nine sixes and five fours, at a strike rate of 281.8.

Both innings were fast. Both helped win the match. But they are not the same kind of fast. If Gayle's innings were a car journey, it would be long stretches parked at red lights punctuated by bursts of 200 km/h on the open road. Patidar's is a car that never stops moving. A bowler facing Gayle might reasonably think: if I can keep landing it there, I'll get four, five, six dots in a row and he'll have to take a risk. A bowler facing Patidar that evening had no such plan available — there was no dot to build on.

The batting average sees none of this. It cannot: both innings count as "not out" or "out" plus a total, and the average divides runs by dismissals. The strike rate — runs per 100 balls faced — sees that both were quick, but not how they were quick. To see the difference you need the next layer down: how often a batter fails to score (dot-ball percentage), how often he or she hits the rope (boundary percentage), and what happens on the balls in between (a metric we will build called non-boundary strike rate). Then you need those numbers split by phase — powerplay, middle, death — because a dot ball in over 3 and a dot ball in over 19 are not worth the same, and the league's par is different in each.

That is this chapter. We will compute every one of these metrics for every IPL batter from 2008 to 2026, plus men's and women's internationals, using the book's canonical definitions. We will find that some popular claims about these metrics are wrong — including a widely repeated "elite T20 batters score 55–65% of their runs in boundaries" that turns out to describe the ordinary IPL batter, not the elite. We will find which metrics are actually stable from one season to the next (the batting average is the least stable of the seven we test). And we will build crease.batting, the Crease module that every later batting chapter leans on.

🏏 Fan Track: Read §8.1–8.4 and §8.6 for the cricket argument; the code blocks can be skipped and every result is restated in prose. The Eye test in §8.6 and the women's section §8.8 are the most fun.

📊 Analyst Track: Everything, with special attention to the strike-rate identity in §8.4, the reliability study in §8.5 and SR+ in §8.6 — these are the building blocks of Chapters 9, 11 and 13.

🧑‍💼 Franchise Track: §8.4 (same strike rate, different engines), §8.6 (phase leaders, IPL 2024–2026) and §8.10 (the scouting card) are what you would put in front of a head coach before an auction.


8.1 What the average was built for

The cricket question first: when you pick a T20 batter, what are you buying?

In Test cricket, the answer has always been "runs, and time at the crease". A Test batter's job is to occupy the crease and score; dismissals are the scarce resource (there are only ten per innings), and balls are plentiful (there is no over limit). In that world the batting average — runs divided by dismissals — measures exactly the right thing: how many runs you get for each wicket you spend. It is no accident that the average is the oldest number in the game.

📐 Definition — Batting average: runs off the bat ÷ dismissals. Runs exclude extras; dismissals exclude retired hurt and retired not out. Undefined when a batter has never been dismissed.

📐 Definition — Strike rate (SR): 100 × runs off the bat ÷ balls faced. Balls faced exclude wides (a wide is not a ball the batter could score off) but include no-balls.

In T20 cricket the scarcity flips. A side has 120 legal balls and ten wickets, and in the modern IPL it rarely uses all ten: the scarce resource is balls. Runs per dismissal still matters — a batter who gets out every eight balls will leave the tail exposed — but runs per ball matters more. The question the average answers ("how many runs before you get out?") is a Test question asked of a T20 player.

Let's look at both numbers side by side for every regular IPL batter. We use the toolkit's canonical table, batting_summary, which you met in Chapter 2 and used in Chapter 4. One line builds the whole table; we then filter to batters with at least 500 balls faced, so that the numbers are not dominated by a lucky fortnight.

balls = load_deliveries("ipl")
card = batting_summary(balls)                      # one row per batter, canonical definitions
card["rpi"] = (card["runs"] / card["innings"]).round(2)            # runs per innings (§8.2)
card["balls_per_boundary"] = (card["balls"] / (card["fours"] + card["sixes"])).round(2)
reg = card[card["balls"] >= MIN_BALLS].copy()      # MIN_BALLS = 500

Two pandas idioms are new here. card["rpi"] = ... creates a new column by doing arithmetic on two existing columns — pandas lines the rows up by batter automatically, so you never write a loop. And card[card["balls"] >= 500] is a boolean filter: the expression inside the brackets produces a True/False value for every row, and the outer brackets keep only the True rows. .copy() gives us an independent table so that later column additions don't trigger pandas' "setting on a copy" warning.

The script prints the spread of each metric:

IPL 2008-2026: 738 batters faced a ball; 140 faced >= 500 balls

Distribution among regular IPL batters (min 500 balls):
                      mean     10%     25%     50%     75%     90%     min     max
average              29.07   21.11   24.33   28.40   33.76   38.80   11.14   48.37
rpi                  23.83   14.90   19.76   23.28   27.76   32.60    6.78   44.12
strike_rate         136.43  118.84  125.62  135.58  145.66  154.29  106.81  177.08
dot_pct              36.60   31.39   33.76   36.38   38.67   43.19   24.80   48.43
boundary_ball_pct    18.06   14.12   15.50   17.74   19.90   22.05   12.53   28.43
boundary_run_pct     61.00   52.78   55.91   61.08   64.80   69.66   48.20   81.54
balls_per_boundary    5.72    4.54    5.03    5.64    6.46    7.08    3.52    7.98

Read the strike-rate row as a scale you can carry around: among the 140 regular IPL batters of the whole 19-season history, the median strike rate is 135.58, the bottom tenth sit below 118.84, and the top tenth are above 154.29. A career IPL strike rate of 150 is very good; 165 is exceptional. (Remember these are whole-career numbers spanning 2008 to 2026; §8.6 shows how much the league's own par has moved, which is why we will soon need a season-adjusted version.)

Average vs strike rate, IPL 2008–2026

📊 Figure (described): A scatter plot of batting average (vertical) against strike rate (horizontal) for the 140 IPL batters with at least 500 balls faced, 2008–2026, with dashed lines at the medians (28.40 and 135.58). Most batters cluster around the medians; the labelled outliers include B Sai Sudharsan and KL Rahul at the top (averages 48.37 and 46.15, strike rates near 139–149), Heinrich Klaasen top-right (average 42.08, SR 166.72), and Sunil Narine bottom-right (average 17.50, SR 165.30). The takeaway: the two numbers are only loosely related, so a batter's position needs both coordinates.

Three things jump out of Figure 8.1.

The two numbers are only loosely related. Their correlation across these 140 batters is 0.31 — positive, but weak. Knowing a batter's average tells you surprisingly little about how fast he scores. That is the whole case for not stopping at the average.

The top-right corner is nearly empty. Heinrich Klaasen — average 42.08, strike rate 166.72 — is the batter who most clearly lives there. He scores fast and rarely gets out. B Sai Sudharsan (48.37 at 149.17) and AB de Villiers (39.71 at 151.69) sit just below and to the left. Everyone else trades one for the other.

The bottom-right corner is a role, not a failure. Sunil Narine averages 17.50 but strikes at 165.30; Andre Russell averages 28.20 at 174.18. In a format where balls are the scarce resource, a batter who uses fifteen balls to make 25 and then gets out has often helped his side more than one who uses forty balls to make 45. Whether he has actually helped depends on the match situation — which is Chapter 9's subject — but the average alone would tell a selector to drop Narine, and the IPL's selectors have not been listening to it.

⚠️ Common pitfall — reading the average in isolation: "Average under 20, drop him" is a Test-match instinct applied to a T20 problem. In this table the correlation between average and strike rate is 0.31; a low average with a very high strike rate can be the better T20 batter. Always quote the pair, and preferably the whole profile below.


8.2 Runs per innings and the not-out discount

Chapter 4 showed that not-outs inflate the average: when a batter finishes an innings unbeaten, his runs go into the numerator but nothing goes into the denominator. In Test cricket that is mostly a tail-end quirk. In T20 it is structural: a finisher who walks in at over 17 will be not out again and again, and his average will drift upward even if his contributions are small.

The cleanest fix is also the simplest:

📐 Definition — Runs per innings (RPI): runs off the bat ÷ innings batted. An innings counts if the player batted at all, as striker or non-striker (the toolkit's canonical definition). RPI has no not-out discount, so it is never larger than the average for a batter who has been dismissed fewer times than he has batted.

RPI answers a slightly different question from the average — "what does this batter typically give the side when he walks out?" rather than "how many runs does each of his wickets cost?" — and in T20 it is often the more honest one. Here are the biggest gaps between the two among regular IPL batters:

Biggest gap between average and runs per innings (min 500 balls):
                innings  outs  not_out_inns  runs  average    rpi  avg_minus_rpi
batter                                                                          
T Stubbs             43    25            18   980    39.20  22.79          16.41
MS Dhoni            242   142           100  5439    38.30  22.48          15.82
Shashank Singh       42    25            17   905    36.20  21.55          14.65
C Green              42    27            15  1029    38.11  24.50          13.61
JP Duminy            77    51            26  2029    39.78  26.35          13.43
TH David             59    35            24  1151    32.89  19.51          13.38
DA Miller           145    92            53  3288    35.74  22.68          13.06
RA Jadeja           209   121            88  3526    29.14  16.87          12.27
RK Singh             62    41            21  1394    34.00  22.48          11.52
BJ Hodge             63    42            21  1400    33.33  22.22          11.11

(not_out_inns is innings minus dismissals: innings in which the batter was not out, including a handful where he walked in and never faced.)

The list is a roll-call of finishers — MS Dhoni, David Miller, Ravindra Jadeja, Tim David, Rinku Singh, Tristan Stubbs, Shashank Singh. Dhoni's IPL average of 38.30 puts him in the same bracket as Kohli (40.42) and Warner (40.52). His RPI of 22.48 puts him in a different one: across 242 IPL innings he was not dismissed in 100 of them. That is not a criticism of Dhoni — finishing an innings unbeaten is often the point — but it means "average 38" is describing a different job from the one Kohli's "average 40" describes.

🔍 Why this works: The average answers "runs per wicket spent". For an opener, wickets are what he spends, so the average is a fair price. For a finisher who arrives with 18 balls left, the binding constraint is balls, not wickets: he will usually run out of overs before he runs out of partners. RPI and strike rate both measure output per opportunity, and the opportunity he is given is short. Neither is "right"; each matches a different constraint. The general lesson is to ask which resource is scarce before you pick a metric.

RPI has its own bias, of course: it punishes batters who bat low and get few balls. Jadeja's RPI of 16.87 says less about his batting than about where he bats. That is why no single number survives on its own, and why §8.6 will put every metric into phases — the phase is a decent proxy for the role.

🔄 Check your understanding

  1. Tristan Stubbs's IPL average is 39.20 but his RPI is 22.79. What fact about his innings explains most of the gap?
  2. Why does the not-out discount matter more in T20 than in Test cricket?
  3. A batter has 30 innings, 600 runs and 30 dismissals. What are his average and RPI?

Answer

  1. He was not out in 18 of his 43 innings (43 innings, 25 dismissals). The 980 runs are divided by 25 for the average but by 43 for RPI.
  2. T20 innings end because the overs run out, so batters who come in late are frequently unbeaten — not because they batted well but because time expired. In Tests, innings mostly end with ten wickets down and not-outs are rarer.
  3. Both are 20.00. When every innings ends in a dismissal, average and RPI are identical; the gap is the not-out effect.

8.3 Dot balls and boundaries: the two engines

Now we go one level beneath strike rate. Every legal ball a batter faces ends in one of three ways from the scoring point of view: nothing off the bat (a dot ball), a boundary (four or six), or one, two or three runs scored by running. Two percentages capture the first two:

📐 Definition — Dot-ball % (batting): 100 × balls faced with no run off the bat ÷ balls faced. (Byes and leg-byes do not rescue a dot: the batter didn't score.)

📐 Definition — Boundary-ball %: 100 × (fours + sixes) ÷ balls faced. The share of deliveries that reached the rope.

📐 Definition — Boundary-run %: 100 × (4 × fours + 6 × sixes) ÷ runs off the bat. The share of a batter's runs that came in boundaries. Note the different denominator: runs, not balls.

📐 Definition — Balls per boundary: balls faced ÷ (fours + sixes). The reciprocal of boundary-ball %, easier to say out loud ("he hits one every four balls").

Boundary-ball % and boundary-run % sound alike, and commentators use "boundary percentage" for both. They are not the same thing, and confusing them leads straight into the trap this section is about.

Checking a famous claim

There is a widely repeated rule of thumb — it appeared in this book's own early outline — that "elite T20 batters score 55–65% of their runs in boundaries". It sounds plausible. Let's test it against all 140 regular IPL batters:

in_band = reg["boundary_run_pct"].between(55, 65)
print(f"Share of ALL regular batters with boundary-run % in 55-65: {in_band.mean():.1%}")
top_sr = reg[reg["strike_rate"] >= reg["strike_rate"].quantile(0.9)]
print(top_sr["boundary_run_pct"].median(), top_sr["boundary_run_pct"].between(55, 65).mean())

.between(55, 65) returns True for values inside the band (inclusive). The mean of a True/False column is the share of Trues — a pandas trick you will use constantly. .quantile(0.9) returns the 90th percentile.

Share of ALL regular batters with boundary-run % in 55-65: 57.1% (80 of 140)
Top-decile SR batters (SR >= 154.29, n=14): boundary-run % median 71.52, range 61.98-81.54
Their share inside 55-65: 14.3%

The 55–65% band is not where the elite live. It is where the typical IPL batter lives: 80 of the 140 regulars are inside it, and the middle half of the whole population runs from 55.91% to 64.80%. The fourteen fastest scorers in IPL history (strike rate 154.29 or better) have a median boundary-run % of 71.52, and only two of the fourteen are inside the band.

Distribution of boundary-run %, IPL 2008–2026

📊 Figure (described): A histogram of boundary-run % for the 140 regular IPL batters (blue), with the 14 top-decile strike-rate batters overlaid (orange) and the 55–65% band shaded grey. The blue distribution is centred near 61% and most of it lies inside the shaded band; the orange bars sit mostly to the right, between about 66% and 82%. The takeaway: 55–65% is the ordinary range, and the fastest scorers sit above it.

So the claim is wrong — but the correction is not simply "change the band to 65–80%". Look at who sits at the very top of the boundary-run % list: Sunil Narine at 81.54%, Andre Russell 78.54%, Chris Gayle 75.69%. And look at the batter with the lowest dot % in IPL history, Heinrich Klaasen: his boundary-run % is 61.98, smack in the middle of the "ordinary" band, yet his strike rate is 166.72.

Boundary-run % is high for two quite different reasons: because you hit a lot of boundaries, or because you score very little else. Narine is the extreme case of the second. Its correlation with dot % across the 140 batters is +0.29 — batters who block a lot tend to have higher boundary-run %, because their few non-boundary runs leave the boundaries as a bigger share. Boundary-run % is a style marker, not a quality marker.

Here is the full correlation matrix:

Correlation matrix (Pearson, regular batters):
                   average   rpi  strike_rate  dot_pct  boundary_ball_pct  boundary_run_pct
average               1.00  0.88         0.31    -0.37               0.23              0.11
rpi                   0.88  1.00         0.25    -0.08               0.35              0.29
strike_rate           0.31  0.25         1.00    -0.43               0.87              0.72
dot_pct              -0.37 -0.08        -0.43     1.00              -0.00              0.29
boundary_ball_pct     0.23  0.35         0.87    -0.00               1.00              0.94
boundary_run_pct      0.11  0.29         0.72     0.29               0.94              1.00

The striking cell is the zero. Dot % and boundary-ball % are uncorrelated (−0.00) among regular IPL batters. Knowing how often a batter blocks tells you nothing about how often he clears the rope. They really are two independent engines — and that is exactly what the Gayle and Patidar strings showed us at the top of the chapter.

⚠️ Common pitfall — "boundary percentage" without a denominator: Boundary-ball % (per ball faced) measures power: it correlates 0.87 with strike rate. Boundary-run % (per run scored) mixes power with a lack of running and correlates positively with dot %. When someone quotes a "boundary percentage", ask: of balls, or of runs? If they can't say, the number can't be used.

🔄 Check your understanding

  1. Sunil Narine's boundary-run % is 81.54 and Heinrich Klaasen's is 61.98. Does that mean Narine is the more powerful hitter?
  2. What does a correlation of −0.00 between dot % and boundary-ball % mean in cricket terms?

Answer

  1. Not necessarily. Narine's boundary-ball % (28.25) is higher than Klaasen's (21.08), so he does reach the rope more often per ball — but much of the gap in boundary-run % comes from Narine's very high dot % (45.50 vs 24.80) and very low running: almost everything he scores comes in boundaries because he scores little else.
  2. Among regular IPL batters, how often a batter fails to score is unrelated to how often he hits a boundary. A batter can be low-dot and low-boundary (a rotator), high-dot and high-boundary (boom-or-bust), and so on: the two skills have to be measured separately.

8.4 Taking strike rate apart

If dot % and boundary-ball % are independent engines, how exactly do they combine into strike rate? Before reading on, try it yourself.

🧩 Productive struggle: Klaasen's IPL career: 1,262 balls, 2,104 runs, 146 fours, 120 sixes. Chris Gayle's: 3,333 balls, 4,965 runs, 404 fours, 357 sixes. Without a computer, split each batter's strike rate into "runs per 100 balls that came from boundaries" and "runs per 100 balls that came from everything else". Which part explains why Klaasen's strike rate (166.72) is higher than Gayle's (148.96)? Spend five minutes before you look at the answer in the text below.

Here is the arithmetic. A batter's runs are boundary runs plus non-boundary runs; divide both by balls faced and multiply by 100, and strike rate splits into two additive pieces. For Klaasen, boundary runs are 4 × 146 + 6 × 120 = 1,304, so 100 × 1,304 / 1,262 = 103.3 runs per 100 balls come from boundaries, and the remaining 800 runs give 63.4 per 100 balls from everything else. For Gayle, boundaries give 4 × 404 + 6 × 357 = 3,758 runs, so 112.8 per 100 balls from boundaries, and his other 1,207 runs give only 36.2 per 100 balls.

Gayle out-hits Klaasen by about nine runs per hundred balls. Klaasen out-runs Gayle by about twenty-seven, and that is the whole difference.

One detail the toolkit handles for you: Cricsheet distinguishes a boundary four from four runs that were run (or came from overthrows), and fours counts only true boundaries. An all-run four is a non-boundary run.

Let's do it properly for everyone, and add one more ingredient: how fast a batter scores on the balls that don't reach the rope.

📐 Definition — Non-boundary strike rate (NBSR): 100 × (runs off the bat − boundary runs) ÷ (balls faced − boundary balls). The strike rate on every ball faced that was not hit for four or six. It captures strike rotation: singles, twos, threes, and avoiding dots.

📐 Definition — Boundary value: boundary runs ÷ boundary balls. Between 4 (all fours) and 6 (all sixes). Its partner six share = 100 × sixes ÷ (fours + sixes).

With b = boundary-ball % as a fraction, strike rate obeys an exact identity:

$$\text{SR} \;=\; 100\,b \times \text{boundary value} \;+\; (1-b)\times \text{NBSR}$$

In words: strike rate is a weighted average of "what you score on boundary balls" (between 400 and 600 per hundred) and "what you score on everything else" (NBSR), weighted by how often you hit boundaries. The script checks that the identity holds to rounding error for every batter, then asks the more interesting question: across the 140 regulars, which ingredient explains the differences in strike rate?

reg["nbsr"] = 100 * (reg["runs"] - bound_runs) / (reg["balls"] - bound_balls)
rebuilt = 100 * reg["bb_frac"] * reg["boundary_value"] + (1 - reg["bb_frac"]) * reg["nbsr"]

for formula in ["strike_rate ~ boundary_ball_pct", "strike_rate ~ nbsr", "strike_rate ~ dot_pct",
                "strike_rate ~ boundary_ball_pct + nbsr", "strike_rate ~ boundary_ball_pct + dot_pct"]:
    m = smf.ols(formula, data=reg).fit()       # ordinary least squares, statsmodels formula API

smf.ols("y ~ x", data=...) fits a straight-line regression using statsmodels' formula interface; m.rsquared is the share of the variation in y the line explains.

Max |SR - rebuilt SR| across 140 batters: 2.84e-14

Distribution of the ingredients (min 500 balls):
                     mean     10%     50%     90%
strike_rate        136.43  118.84  135.58  154.29
boundary_ball_pct   18.06   14.12   17.74   22.05
boundary_value       4.63    4.41    4.63    4.89
nbsr                63.99   54.26   65.11   72.12
scoring_shot_pct    63.40   56.81   63.62   68.61
six_share           31.73   20.34   31.66   44.51 

strike_rate ~ boundary_ball_pct               R^2=0.764   Intercept=67.93, boundary_ball_pct=3.79
strike_rate ~ nbsr                            R^2=0.006   Intercept=125.87, nbsr=0.17
strike_rate ~ dot_pct                         R^2=0.183   Intercept=186.88, dot_pct=-1.38
strike_rate ~ boundary_ball_pct + nbsr        R^2=0.946   Intercept=-6.77, boundary_ball_pct=4.52, nbsr=0.96
strike_rate ~ boundary_ball_pct + dot_pct     R^2=0.946   Intercept=118.30, boundary_ball_pct=3.79, dot_pct=-1.38

This output is worth reading slowly.

  • Boundary-ball % alone explains 76% of the spread in IPL strike rates. Each extra percentage point of balls hit to the rope is worth about 3.8 strike-rate points. Power is the main engine.
  • NBSR alone explains almost nothing (0.6%). That sounds as though running doesn't matter — but look at the next line.
  • Together, boundary-ball % and NBSR explain 94.6%. Once you hold boundary-hitting fixed, rotation matters a lot: each NBSR point is worth about one SR point. The reason NBSR looked useless on its own is that it is negatively related to power among IPL regulars (correlation −0.37 with boundary-ball %) — the biggest hitters, such as Narine, Gayle and Russell, are often the weakest rotators — so on its own its effect is masked.
  • Dot % does the same job as NBSR. Boundary-ball % plus dot % also explains 94.6%: each percentage point of dots costs about 1.4 strike-rate points once boundary-hitting is held fixed.

The practical translation: if you want to know how fast a T20 batter scores, ask two questions — how often does he hit a boundary? and how often does he fail to score? — and you have almost all of it.

Dot % vs boundary-ball %, IPL 2008–2026

📊 Figure (described): Dot-ball % (horizontal) against boundary-ball % (vertical) for 140 regular IPL batters, coloured by strike rate (dark purple ≈ 107, yellow ≈ 177). The cloud has no overall slope — the two are uncorrelated — but strike rate rises toward the top-left (few dots, many boundaries). Klaasen sits at the far left (dot % 24.80), Narine and Gayle at the far right with high boundary rates, and Jadeja and Dhoni low in the middle. The takeaway: two batters can reach the same strike rate from opposite corners.

Same speed, different engines

The figure invites a question: who reaches the same strike rate by different routes? Here are all the regulars with career strike rates between 146 and 152:

Batters with SR 146-152: same speed, different engines
                 balls  strike_rate  dot_pct  boundary_ball_pct   nbsr  boundary_run_pct
batter                                                                                  
T Stubbs           648       151.23    24.85              17.75  80.30             56.33
B Sai Sudharsan   1686       149.17    29.18              20.17  73.63             60.60
C Green            681       151.10    29.52              19.53  72.81             61.22
AB de Villiers    3403       151.69    30.47              19.51  73.17             61.18
HH Pandya         2020       146.29    33.27              18.96  67.99             62.34
SO Hetmyer        1045       149.28    33.68              18.56  69.57             62.05
SA Yadav          3083       148.59    33.80              21.41  65.41             65.40
MP Stoinis        1520       147.50    33.82              19.61  66.78             63.60
RR Pant           2633       146.79    34.03              20.13  65.76             64.22
Abdul Samad        576       148.78    34.38              19.10  65.88             64.18
M Shahrukh Khan    524       147.90    35.31              19.27  63.12             65.55
JC Buttler        3103       149.73    36.22              21.56  63.60             66.68
KA Pollard        2316       147.32    36.49              19.04  64.11             64.77
MR Marsh          1249       148.52    37.63              21.30  57.88             69.33
PP Shaw           1283       147.47    37.72              23.30  58.33             69.66
JM Bairstow       1146       146.07    38.74              21.55  59.84             67.86
CH Gayle          3333       148.96    43.95              22.83  46.93             75.69 

Tristan Stubbs and Chris Gayle have essentially the same IPL strike rate (151.23 and 148.96). Stubbs fails to score on a quarter of his balls; Gayle on 44%. Stubbs scores at 80.30 on non-boundary balls; Gayle at 46.93 — he barely runs. Gayle's boundary-ball % (22.83) is higher than Stubbs's (17.75), and that is how he catches up.

Does the route matter if the destination is the same? Three reasons it does:

  1. Bowling plans. A batter with Gayle's profile can be "dotted up": long sequences of dots are part of his normal game, which gives the fielding side a plan (bowl the ball he defends, set a field for the miscue). Stubbs's profile denies that plan.
  2. The partner. A high-dot batter puts pressure on the other end, because the strike doesn't rotate. Chapter 12 measures this directly.
  3. Variance. A boom-or-bust profile produces a wider spread of innings outcomes. If you need a guaranteed 30 off 20, the rotator is the safer bet; if you need 60 off 20, you may need the hitter.

📋 Try it — Build this metric: Using the definitions above, compute NBSR for Jos Buttler's IPL career: 4,646 runs, 3,103 balls, boundary-ball % 21.56, boundary-run % 66.68. (Hint: you do not need the separate fours and sixes counts — the boundary-run % gives you boundary runs, and the boundary-ball % gives you boundary balls.)

Worked answer

Boundary runs = 0.6668 × 4,646 ≈ 3,098. Non-boundary runs ≈ 4,646 − 3,098 = 1,548. Boundary balls = 0.2156 × 3,103 ≈ 669. Non-boundary balls ≈ 3,103 − 669 = 2,434. NBSR ≈ 100 × 1,548 / 2,434 ≈ 63.6, which matches the script's 63.60. Buttler is close to the IPL median NBSR (65.11) and well above median on power (21.56% boundary balls against a median of 17.74), so his engine is mostly power.

🔄 Check your understanding

  1. State the strike-rate identity in words.
  2. Boundary-ball % alone explains 76% of the spread in IPL strike rates; NBSR alone explains 0.6%; together they explain 94.6%. How can NBSR add so much when it explains almost nothing alone?
  3. Gayle and Stubbs have nearly identical IPL strike rates. Name one thing a fielding captain would do differently against each.

Answer

  1. Strike rate is a weighted average of the runs per hundred you score on balls you hit for boundaries and the runs per hundred you score on all other balls, weighted by how often you hit boundaries.
  2. NBSR is negatively correlated with boundary-hitting among IPL regulars (−0.37): many big hitters rotate poorly. On its own, NBSR's positive effect is cancelled by that association. Once boundary-hitting is held fixed in the two-variable model, NBSR's real contribution (about one SR point per NBSR point) appears.
  3. Against Gayle: accept the singles he rarely takes, bowl the dot-ball line and wait for the high-risk shot — dot sequences are normal for him. Against Stubbs: the dot plan doesn't exist; protect the boundary and concede the single, because he will take it anyway.

8.5 Which metrics measure skill?

A metric is only useful for selection if it measures something about the batter rather than about his luck that season. That gives us a test any metric must pass: is it stable for the same batter from one season to the next? If a metric jumps around at random, a good season tells you little about next season; if it is stable, it is picking up something persistent — a skill, a role, a style.

This is Chapter 6's split-half reliability idea, applied to batting metrics. For every IPL batter who faced at least 120 balls in two consecutive calendar years, we correlate each metric in year N with the same metric in year N + 1.

One adjustment matters. The IPL's scoring rate has risen sharply (§8.6 shows the par strike rates), and if we correlate raw strike rates, a batter's 2025 and 2026 numbers will look "similar" partly because both are high-scoring seasons. So we centre each metric on the season mean of qualifying batters before correlating — every batter's number becomes "how far above or below this season's typical regular".

card = batting_summary(balls, by=["batter", "year"]).reset_index()
for m in METRICS:
    card[m + "_c"] = card[m] - card.groupby("year")[m].transform("mean")   # season-centred
nxt = card.copy()
nxt["year"] -= 1                                  # so year N+1 lines up with year N
pairs = card.merge(nxt, on=["batter", "year"], suffixes=("_n", "_n1"))

Two pandas idioms: groupby("year")[m].transform("mean") computes each season's mean but returns it aligned to every original row, so you can subtract it directly; and the merge with a shifted copy of the same table is the standard trick for lining up "this season" with "next season" for the same player. reset_index() turns the (batter, year) index that batting_summary returns into ordinary columns so they can be merged on.

Batter-season pairs (>= 120 balls in both consecutive seasons): 593
Distinct batters: 138, median balls in season N: 253

Year-to-year correlation (season-centred), IPL batters:
          metric  r_year_to_year  lo90  hi90   n
  Boundary-run %           0.572 0.523 0.616 593
 Non-boundary SR           0.539 0.484 0.588 593
 Boundary-ball %           0.464 0.399 0.523 593
      Dot-ball %           0.414 0.355 0.469 593
Runs per innings           0.378 0.312 0.440 593
     Strike rate           0.340 0.269 0.405 593
 Batting average           0.209 0.129 0.287 593

Year-to-year reliability of batting metrics, IPL

📊 Figure (described): A dot-and-interval chart of the season-to-season correlation for seven batting metrics, 593 IPL batter-season pairs (≥120 balls in each season), each with a 90% bootstrap interval. From most to least repeatable: boundary-run % (0.57), non-boundary SR (0.54), boundary-ball % (0.46), dot-ball % (0.41), runs per innings (0.38), strike rate (0.34), batting average (0.21). The takeaway: the ingredients of strike rate are more stable than strike rate, and the batting average is the least stable of all.

This is one of the most useful tables in the chapter, so let's be precise about what it says.

The batting average is the least repeatable batting number we have. A season-to-season correlation of 0.21 (90% interval 0.13–0.29) means that knowing a batter's IPL average last season tells you only a little about this season. Over a typical 253-ball season, the average rests on perhaps eight to twelve dismissals, and the luck of a dropped catch or a run-out at the other end moves it a lot. That is Theme 3 — small samples plague cricket — in one number.

The components beat the composite. Strike rate (0.34) is less repeatable than every one of its ingredients: dot % (0.41), boundary-ball % (0.46) and NBSR (0.54). That is not a paradox. Each ingredient is estimated from hundreds of independent ball outcomes and measures one thing; strike rate mixes them, and mixes in the luck of which balls happened to be the boundary balls. When you scout a batter on a short sample, look at the components first.

Boundary-run % is the most stable — because it is style. Recall §8.3: boundary-run % doesn't measure quality, it measures how a batter scores. Styles persist. Narine was a boundary-or-nothing batter last year and will be again this year. Stability is necessary for a metric to measure a skill, but not sufficient — boundary-run % is the proof.

The extremes show how unstable the average can be. The largest season-to-season swings in the data:

Largest season-to-season swings in batting average (and what SR did):
   batter  year  balls_n  average_n  average_n1  strike_rate_n  strike_rate_n1  dot_pct_n  dot_pct_n1
JP Duminy  2011      174      20.50       81.33         117.82          128.42      28.16       30.00
 MS Dhoni  2019      309      83.20       25.00         134.63          116.28      35.28       40.70
  WP Saha  2020      153      71.33       14.56         139.87           93.57      32.68       46.43
  V Kohli  2016      640      81.08       30.80         152.03          122.22      26.41       35.71
 MS Dhoni  2017      250      26.36       75.83         116.00          150.66      42.00       30.13
 SA Yadav  2025      427      65.18       20.77         167.92          147.54      30.91       32.24
 MS Dhoni  2014      250      74.20       31.00         148.40          121.97      30.80       40.33
 CH Gayle  2013      453      59.00       21.78         156.29          106.52      41.94       58.15

Virat Kohli's 2016 — 640 balls at a strike rate of 152.03, which works out to 973 runs, averaging 81.08 — is one of the great IPL seasons. In 2017 his average was 30.80. Did Kohli become a worse batter in a year? The dot % moved from 26.41 to 35.71, so something genuine changed, but the average moved far more than the components did. Suryakumar's 2025 average of 65.18 fell to 20.77 in 2026 while his strike rate stayed at 147.54. The average shouts; the components murmur; and on the evidence of Figure 8.4, the murmur is the more reliable witness.

⚠️ Common pitfall — buying last season's average: In auction terms (Theme 4), a team that bids on a batter because of a spectacular season average is paying for the least repeatable number on the card. Before you bid, check whether the components — dot %, boundary-ball %, NBSR — moved too. If only the average moved, expect most of the jump to regress back toward the batter's longer-run level (Chapter 6; Chapter 25 builds proper projections).

🔄 Check your understanding

  1. Why do we centre each metric on its season mean before correlating season N with season N + 1?
  2. Boundary-run % is the most repeatable metric in the table. Why doesn't that make it the best measure of batting quality?
  3. Strike rate is less repeatable than dot %, boundary-ball % and NBSR. Give a one-sentence explanation.

Answer

  1. League-wide scoring has risen sharply. Without centring, all batters' raw strike rates in two high-scoring seasons would look "similar", inflating the correlation with something that has nothing to do with individual skill.
  2. Stability shows that a metric measures something persistent, not that the something is good. Boundary-run % measures scoring style (how much of your scoring comes in boundaries versus running), and both very strong and very limited batters can have high values.
  3. Strike rate combines the components plus extra randomness about which particular balls became boundaries; each component is a cleaner, single-skill average over hundreds of ball outcomes, so it carries less noise.

8.6 Phases and the phase-adjusted strike rate, SR+

A T20 innings is three different games played in sequence. In the powerplay (overs 1–6) only two fielders may be outside the 30-yard circle; in the middle overs (7–15) up to five may be, and spin usually dominates; at the death (16–20) the field is back, the bowlers bowl yorkers and slower balls, and the batters swing at almost everything. The same strike rate means different things in each, and the league's par for each has moved a long way over nineteen seasons.

Here is the league's par strike rate — runs off the bat per 100 balls faced by all batters — by phase, for selected IPL seasons:

League par strike rate (runs off the bat per 100 balls faced), selected IPL seasons:
phase  powerplay  middle  death
year                           
2008       118.0   124.7  155.2
2012       113.1   117.1  150.2
2016       121.2   125.2  159.6
2020       121.5   123.3  161.5
2023       137.0   134.6  162.1
2024       148.6   140.7  173.8
2025       151.5   144.4  171.6
2026       159.1   148.3  169.5

Two things should make you sit up. First, the powerplay par has risen from 113.1 in 2012 to 159.1 in 2026 — a rise of 46 runs per hundred balls, most of it since 2023, the first season of the Impact Player rule (the league scoring tables in Chapter 5 show the same surge in first-innings totals). Second, by 2026 the powerplay par (159.1) is higher than the middle-overs par (148.3); for most of IPL history it was lower. A strike rate of 140 in the powerplay was above par in 2016 and well below it in 2026.

So a career strike rate mixes two things: how good the batter is, and when — which seasons and which phases — he happened to bat. We want a number that removes the second.

📐 Definition — SR+ (phase- and season-adjusted strike rate): For every ball a batter faced, look up the league's average runs off the bat per ball faced in the same season and the same phase (the par). Sum those pars over all his balls to get his par runs. Then

SR+ = 100 × actual runs ÷ par runs.

SR+ = 100 means exactly par for the batter's own mix of seasons and phases; 120 means 20% more runs than an average batter would have scored on the same balls. "Par SR" = 100 × par runs ÷ balls is the strike rate an average batter would have had with that mix.

SR+ is the ratio version of Chapter 4's runs above par (which reported the difference, not the ratio); the two always rank batters with similar exposure in the same order. We use the ratio here because it reads like a strike rate and travels across formats and eras: an SR+ of 110 in a women's T20I and an SR+ of 110 in the IPL both mean "ten per cent better than the field". The "+" follows a convention baseball analysts made familiar (OPS+, ERA+): 100 is average.

par = faced.groupby(["year", "phase"])["runs_batter"].mean().rename("par_rpb")

def sr_plus(f, by):
    x = f.join(par, on=["year", "phase"])        # attach each ball's par
    g = x.groupby(by).agg(runs=("runs_batter", "sum"), balls=("runs_batter", "size"),
                          par_runs=("par_rpb", "sum"))
    g["sr_plus"] = (100 * g["runs"] / g["par_runs"]).round(1)
    return g

The new idiom is join(par, on=[...]): par is a Series indexed by (year, phase), and join looks up the matching value for every ball. agg(name=(column, function)) is named aggregation — it builds several summary columns in one call and names them as you wish.

Career SR+, and what phase mix hides

Career IPL: overall SR, the par SR for each batter's own phase/season mix, and SR+:
                 balls  strike_rate  par_sr  sr_plus  powerplay_share  middle_share  death_share
batter                                                                                          
CH Gayle          3333       148.96  122.69    121.4             52.8          38.6          8.5
AD Russell        1522       174.18  144.01    120.9              0.9          51.1         48.0
Abhishek Sharma   1389       171.27  142.11    120.5             58.1          32.8          9.1
SP Narine         1101       165.30  139.99    118.1             62.7          25.3         12.0
AB de Villiers    3403       151.69  129.28    117.3             17.8          57.6         24.6
TM Head            915       170.05  148.42    114.6             62.1          31.8          6.1
DA Warner         4697       139.77  125.84    111.1             51.1          41.4          7.6
H Klaasen         1262       166.72  150.82    110.5              6.7          63.0         30.3
JC Buttler        3103       149.73  137.58    108.8             42.1          44.5         13.4
SA Yadav          3083       148.59  136.82    108.6             23.4          61.4         15.2
RR Pant           2633       146.79  137.14    107.0             15.3          64.2         20.5
Shubman Gill      3236       142.09  137.85    103.1             46.9          43.7          9.4
KL Rahul          4179       139.15  135.40    102.8             45.1          42.8         12.1
V Kohli           6926       134.80  131.40    102.6             38.8          49.2         12.1
RG Sharma         5514       132.92  130.32    102.0             36.8          47.9         15.3
B Sai Sudharsan   1686       149.17  147.80    100.9             43.7          47.4          8.8
MS Dhoni          3957       137.45  139.26     98.7              1.8          48.1         50.1
RA Jadeja         2699       130.64  141.40     92.4              4.0          48.5         47.4

Read the par_sr column first: it is the strike rate an average IPL batter would have had facing exactly this batter's balls. It ranges from 122.69 (Gayle, who batted mostly in the powerplay of lower-scoring early seasons) to 150.82 (Klaasen, who batted in the middle and death overs of the high-scoring 2023–2026 era). That is a 28-point head start before anyone has played a shot.

Now the re-ranking. On raw strike rate Klaasen (166.72) is far ahead of Gayle (148.96). On SR+ Gayle (121.4) is well ahead of Klaasen (110.5): Gayle's 149 came in an era and phase where par was 123; Klaasen's 167 came where par was 151. Both are excellent; Gayle's era-adjusted dominance was the greater. Sai Sudharsan's strong raw strike rate (149.17) is almost exactly par (100.9) for when he batted — his value is in the average (48.37), not in tempo. MS Dhoni's 137.45 is below his par of 139.26: half his career balls came at the death, where everyone scores fast.

By phase

The script prints the SR+ table and then the matching ball counts; the ball counts appear inside each cell of Figure 8.5.

Career IPL SR+ by phase (balls in brackets below):
phase            powerplay  middle  death
batter                                   
AB de Villiers        97.6   108.3  145.4
CH Gayle             112.8   129.8  132.9
RR Pant               87.4   104.2  126.5
B Sai Sudharsan       91.7   105.1  123.2
AD Russell           218.2   118.4  121.7
V Kohli               99.6    99.6  120.5
RG Sharma             97.3    99.3  118.4
JC Buttler           106.3   108.0  117.4
TM Head              116.6   110.4  114.4
H Klaasen             89.2   110.6  114.4
DA Warner            112.4   108.9  113.2
MS Dhoni              66.8    82.6  111.6
KL Rahul              96.9   106.3  110.9
SA Yadav             105.2   109.3  110.7
Abhishek Sharma      120.6   128.5   96.1
Shubman Gill          98.7   109.8   95.5
RA Jadeja            104.7    88.3   94.8
SP Narine            122.0   131.3   76.6

SR+ by phase, IPL careers

📊 Figure (described): A heat map with 18 IPL batters as rows and the three phases as columns, each cell coloured by career SR+ (viridis scale, 70 dark to 160 bright) and labelled with the SR+ and the balls faced in that phase. AB de Villiers's death-overs cell (145, 838 balls) is the brightest well-sampled cell; Andre Russell's powerplay cell (218) is bright but rests on only 14 balls; Sunil Narine's death cell (77, 132 balls) and Dhoni's powerplay cell (67, 72 balls) are darkest. The takeaway: phase-adjusted value varies sharply within a batter's career, and the ball counts must be read with the colours.

AB de Villiers at the death is the standout well-sampled number in IPL history among these batters: SR+ 145.4 over 838 balls. He scored 45% more runs than an average batter on the same death-over balls, across a large sample.

Kohli versus Suryakumar, adjusted. Chapter 1 corrected a popular story with raw career numbers: Kohli's death-overs strike rate (188.38) is higher than Suryakumar's (178.21). A fair objection is that the two careers happened at different times. SR+ lets us answer it:

V Kohli    death: 835 balls, SR 188.38, par SR 156.37, SR+ 120.5
SA Yadav   death: 468 balls, SR 178.21, par SR 160.92, SR+ 110.7

Suryakumar's death-overs balls came in slightly higher-scoring seasons (par 160.92 against Kohli's 156.37), so the adjustment narrows the gap — but it does not close it. Kohli's death-overs SR+ is 120.5, Suryakumar's 110.7. The middle overs are where Suryakumar is ahead (SR+ 109.3 vs 99.6), and that is consistent with the raw story. The honest summary: Kohli, when he is still in at the death, has been the more destructive of the two; Suryakumar is the more consistently above-par batter across phases.

Small cells lie. Russell's 218.2 in the powerplay is from 14 balls. It is a fun fact, not a finding. Every phase table you build must carry the ball counts alongside — Figure 8.5 prints them in each cell for exactly that reason. (Chapter 6's shrinkage, and Chapter 11's application of it to matchups, is the formal cure.)

Specialists show up. Narine is a powerplay and middle-overs weapon (122.0, 131.3) and a below-par death batter (76.6, 132 balls). Abhishek Sharma is similar in shape: 120.6 and 128.5 early, 96.1 at the death on 127 balls. Dhoni's career is the mirror image: 66.8 in the few powerplay balls he faced, 82.6 in the middle, 111.6 at the death on 1,982 balls.

Phase profiles of four batters

📊 Figure (described): Three small panels — strike rate, dot-ball % and boundary-ball % — each showing powerplay, middle and death values for Kohli, Suryakumar, Klaasen and Head (IPL careers). All four batters' dot % falls sharply from powerplay to death; Kohli's boundary-ball % drops to 12.50 in the middle overs, the lowest of any panel value, while Suryakumar's stays near 19; Klaasen's middle-overs dot % (24.53) is far below the others'. The takeaway: phase profiles reveal how a batter's tempo changes through an innings, which a single career number hides.

Figure 8.6 shows the mechanism behind the SR+ table. Kohli's middle-overs profile is the classic accumulator: dot % 27.97 but boundary-ball % only 12.50, so his strike rate (125.80) leans on running. Suryakumar in the same phase keeps a similar dot % (29.67) while hitting boundaries half as often again (18.85%), and that is the source of his middle-overs advantage. Klaasen in the middle overs is extraordinary on both axes: dot % 24.53 and boundary-ball % 19.12, for a strike rate of 157.99.

Phase leaders of the impact-player era

The IPL since 2024 is a different game (from the par table above: powerplay par 148.6, 151.5 and 159.1 in 2024–2026). Who leads each phase on SR+?

IPL 2024-2026, powerplay (min 250 balls): 23 qualifiers - top 8 by SR+
         batter  balls  runs  strike_rate  par_sr  sr_plus  dot_pct  boundary_ball_pct  average
  V Suryavanshi    293   665       226.96  157.27    144.3    38.23              40.61    60.45
Abhishek Sharma    494   972       196.76  153.15    128.5    37.04              33.81    40.50
  Priyansh Arya    355   678       190.99  154.42    123.7    37.75              32.68    30.82
        TM Head    551  1000       181.49  153.21    118.5    40.29              33.39    45.45
        PD Salt    417   732       175.54  151.76    115.7    40.29              30.46    40.67
      SP Narine    303   509       167.99  150.35    111.7    48.18              30.03    39.15
        V Kohli    639  1051       164.48  152.90    107.6    32.55              25.98    75.07
    YBK Jaiswal    579   953       164.59  153.05    107.5    43.87              29.71    41.43

IPL 2024-2026, middle (min 300 balls): 26 qualifiers - top 8 by SR+
        batter  balls  runs  strike_rate  par_sr  sr_plus  dot_pct  boundary_ball_pct  average
    RM Patidar    478   857       179.29  144.38    124.2    25.10              23.22    40.81
P Simran Singh    318   528       166.04  145.27    114.3    25.47              22.64    22.96
      N Pooran    417   685       164.27  144.36    113.8    33.81              22.78    34.25
  Shubman Gill    514   846       164.59  145.22    113.3    20.04              19.65    56.40
      SA Yadav    558   911       163.26  144.32    113.1    28.67              23.30    53.59
      MR Marsh    322   520       161.49  145.88    110.7    27.95              22.67    40.00
  Ishan Kishan    370   596       161.08  145.83    110.5    22.43              20.81    35.06
      KL Rahul    491   780       158.86  144.42    110.0    20.16              18.74    55.71

IPL 2024-2026, death (min 120 balls): 31 qualifiers - top 8 by SR+
        batter  balls  runs  strike_rate  par_sr  sr_plus  dot_pct  boundary_ball_pct  average
    MP Stoinis    121   279       230.58  171.09    134.8    21.49              37.19    39.86
       SS Iyer    206   444       215.53  171.45    125.7    23.30              32.52    37.00
   Tilak Varma    151   319       211.26  171.35    123.3    22.52              31.79    24.54
       RR Pant    145   305       210.34  171.82    122.4    27.59              32.41    30.50
      T Stubbs    258   528       204.65  171.78    119.1    16.28              28.68    66.00
Shashank Singh    230   465       202.17  171.78    117.7    19.57              28.26    46.50
     H Klaasen    265   530       200.00  171.50    116.6    21.51              26.79    29.44
      RK Singh    191   378       197.91  171.08    115.7    26.70              30.89    37.80

The powerplay table belongs to a new generation: Vaibhav Suryavanshi (SR+ 144.3 on 293 balls, with a boundary on 40.61% of balls faced), Abhishek Sharma, Priyansh Arya. Notice what they don't do — their dot % (37–38%) is no better than par-level. The new powerplay is a power game. The quiet entry is Virat Kohli: SR+ 107.6 with the lowest dot % in the top eight (32.55) and a powerplay average of 75.07. He is no longer the fastest opener, but he is the one who almost never gets out in the first six overs. The middle-overs table is the opposite: Rajat Patidar, Shubman Gill and KL Rahul lead with dot % around 20–25%. Middle-overs value is a rotation game. The death table is a reminder of sample size: Marcus Stoinis's 134.8 rests on 121 balls; Tristan Stubbs's 119.1 on 258 balls, with a dot % of 16.28, is the more robust number.

🏏 Eye test:

Wendell: You've got Kohli seventh in the powerplay table, behind boys who've played three seasons. Anyone who's bowled to him knows he's the one you don't get out up front.

Nusrat: The table agrees with you, though. His powerplay average is 75.07 — higher than anyone's in that list — and his dot % is the lowest. SR+ only measures tempo.

Wendell: So which matters?

Narrator: Both, and the answer depends on what comes after him. If your middle order is Klaasen-like, a powerplay wicket costs little and tempo wins. If your middle order is fragile, Kohli's "never out" is worth more than eight extra runs. That's a win-probability question — Chapter 9 — and a batting-order question (Chapter 30).

Wendell: And what the table can't see is the bowler he's facing. Bowl Kohli your best new-ball seamer and he plays him out; that's a decision, not a lack of intent.

Narrator: Correct — SR+ adjusts for season and phase, not for the quality of the bowling. Matchups are Chapter 11.

📋 Try it — Settle this debate: "Gill is a slow accumulator who doesn't belong in a modern T20 top order." Using only the numbers in this section, argue for and against in two sentences each.

Worked answer

For: Gill's career IPL SR+ is 103.1, only just above par, and his powerplay SR+ (98.7) is below par — in the phase where modern openers are expected to attack, he has been an average-tempo batter. Against: in 2024–2026 his middle-overs SR+ is 113.3 with the lowest dot % (20.04) of the top eight and an average of 56.40 — he adds tempo and survival once the field spreads, and his career average (40.33) is far above the median (28.40). A fair verdict: Gill's value is in the middle overs and in not getting out, not in powerplay hitting; whether that fits depends on who else opens.

🔄 Check your understanding

  1. Why can a batter's raw strike rate be well above another's while his SR+ is lower?
  2. Dhoni's career SR (137.45) is below his par SR (139.26). Explain how that can be true for a batter with a death-overs SR+ of 111.6.
  3. Russell's career powerplay SR+ is 218.2. Should a scout quote it?

Answer

  1. Because par differs by season and phase. Klaasen's raw SR (166.72) is higher than Gayle's (148.96), but Klaasen's balls came where par was 150.82 and Gayle's where it was 122.69; relative to par, Gayle is further ahead.
  2. SR+ for the whole career compares total runs with total par runs. Dhoni is above par at the death (111.6 on 1,982 balls) but well below par in the middle overs (82.6 on 1,903 balls). The two roughly cancel, leaving his overall SR+ at 98.7.
  3. No — it rests on 14 balls. Quote it with the sample size, or don't quote it at all.

8.7 The same metrics in three formats

Theme 2 — three different sports — means every metric needs a format label. A strike rate of 85 is outstanding in a Test, ordinary in an ODI and disqualifying in a T20. To make that concrete we apply exactly the same canonical table to six sets of matches in the book's data snapshot: men's Tests (from December 2001, where Cricsheet's Test coverage begins), men's ODIs, men's T20Is, the IPL, and women's ODIs and T20Is. The balls-faced thresholds differ (2,000 in Tests, 1,000 in ODIs, 500 in T20s) so each set contains established batters for its format. The T20I and women's sets include associate nations, which stretches the bottom of their distributions.

for label, code, mb in SETS:
    b = pd.read_parquet(BOOK / "data" / "processed" / f"{code}_deliveries.parquet", columns=cols)
    t = batting_summary(b)
    q = t[t["balls"] >= mb]

Reading only the columns you need (columns=cols) is the trick that keeps a laptop happy when the men's Test file holds hundreds of thousands of deliveries.

Distributions by format (medians unless stated):
               min_balls  batters  SR_p10  SR_med  SR_p90  dot_med  bball_med  brun_med  avg_med
set                                                                                             
Men's Tests         2000      224   41.93   50.88   64.38    74.13       6.37     51.94    36.50
Men's ODIs          1000      336   68.18   81.41   97.36    54.30       8.57     46.41    33.47
Men's T20Is          500      429  103.17  124.68  146.50    39.40      15.42     57.08    25.64
IPL                  500      140  118.84  135.58  154.29    36.38      17.74     61.08    28.40
Women's ODIs        1000       88   59.87   76.70   93.33    56.74       8.30     45.98    33.48
Women's T20Is        500      242   72.37   92.18  119.94    47.72       9.83     45.34    19.58

Strike rate and dot % by format

📊 Figure (described): Two panels of horizontal box plots, one for strike rate and one for dot-ball %, with a box for each of six sets: men's Tests, ODIs, T20Is, the IPL, and women's ODIs and T20Is. Men's Test strike rates centre near 51 with dot % near 74; men's ODIs near 81 and 54; men's T20Is near 125 and 39; the IPL highest at 136 and lowest at 36. Women's ODI boxes sit just below the men's ODI boxes; women's T20Is sit between the ODI and men's T20 boxes on both measures. The takeaway: the boxes barely overlap across formats, so every metric needs a format label.

What the format table teaches:

  • Dot % is the clearest format signature. The median established Test batter fails to score off 74% of the balls he faces; the median ODI batter 54%; the median T20I batter 39%; the median IPL regular 36%. In Tests a dot ball is not a failure — it is the default outcome, and leaving the ball well is a skill. In T20, a dot is a cost.
  • Boundary-run % does not rise steadily with format speed. The median Test batter (51.94%) scores a larger share of his runs in boundaries than the median ODI batter (46.41%). With attacking fields in Tests, the gaps are on the boundary while the singles are guarded; in the middle overs of an ODI, the field is spread and the single is free. It is one more reason to treat boundary-run % as a style marker that must be read in context.
  • The women's ODI distribution sits close to the men's ODI one (median SR 76.70 vs 81.41, average 33.48 vs 33.47). The women's T20I median (92.18) is much lower than the men's, but this set includes many associate-nation batters; §8.8 builds a fairer comparison against full-member opposition.

The same batters across formats make the point personal:

The same batters in three formats (each above that format's balls threshold):
                      SR                               dot%                          bdry_run%                        
format        Men's ODIs Men's T20Is Men's Tests Men's ODIs Men's T20Is Men's Tests Men's ODIs Men's T20Is Men's Tests
batter                                                                                                                
Babar Azam          86.9       128.3        55.4       49.3        31.7        72.2       43.6        52.2        51.0
DA Warner           97.0       142.9        70.2       51.5        37.7        66.8       53.5        63.4        51.9
HC Brook           109.8       165.2        86.3       47.9        28.6        56.6       60.9        62.3        52.9
JC Buttler         116.0       150.6        54.2       41.4        34.2        73.8       52.7        63.4        53.6
JE Root             87.4       126.0        57.6       44.4        32.3        68.4       36.7        51.5        45.0
KS Williamson       81.7       124.0        52.0       51.6        35.0        73.1       41.6        51.9        46.4
Q de Kock           96.7       142.5        70.9       51.0        38.3        65.2       56.4        66.0        55.8
SPD Smith           86.9       125.6        53.8       48.3        32.1        71.7       42.0        49.2        47.3
TM Head            106.1       157.2        69.4       49.6        38.5        65.8       61.2        71.6        54.3
V Kohli             94.3       136.0        55.6       44.7        28.8        69.9       44.4        52.5        46.5

Every one of these batters cuts his dot % by at least 40% between Tests and T20Is, and every one lifts his strike rate by more than 65 points. Harry Brook is the outlier in Tests: a strike rate of 86.3 with a dot % of 56.6, both closer to an ODI batter's profile than a Test batter's — and among all 224 established Test batters in the data, his is the highest Test strike rate, just ahead of Ben Duckett (86.21) and Virender Sehwag (85.06). (Remember that Cricsheet's Tests start in December 2001, so Sehwag's and Adam Gilchrist's figures here are not their full careers, and some of their famous earlier innings are missing.) Kohli and Root, two of the great all-format batters, have T20I dot % of 28.8 and 32.3; Kohli's is second only to Brook's 28.6 on this list. In the shortest format the great accumulators keep the scoreboard moving.

The Test top-six of strike rates has a surprise in it — Tim Southee (82.69 on 2,715 balls), a tail-ender whose swing-from-the-hip approach makes a strike rate that would embarrass most top-order batters. That is a reminder that in Tests, as in T20s, the metric depends on role. A lower-order batter with a high strike rate and an average of 15.48 is doing something completely different from Brook.

⚠️ Common pitfall — comparing strike rates across formats: "Brook's Test strike rate (86.3) is almost the same as Babar Azam's ODI strike rate (86.9)" is a true sentence that means nothing. Compare a batter only with the same format's distribution, or convert to SR+ against that format's par. Even within T20, the IPL's par differs from the T20I par (§8.8 and Case Study 1).

🔷 R corner (not run in this book's build): the same per-format table with dplyr, assuming a deliveries data frame d with the toolkit's columns.

r library(dplyr) d %>% filter(wides == 0, !super_over) %>% group_by(batter) %>% summarise(balls = n(), runs = sum(runs_batter), dot_pct = 100 * mean(runs_batter == 0), bball_pct = 100 * mean(is_four | is_six)) %>% mutate(strike_rate = 100 * runs / balls) %>% filter(balls >= 500) %>% summarise(across(c(strike_rate, dot_pct, bball_pct), median))


8.8 Women's T20 internationals

The same toolkit, the same definitions, applied to women's T20Is. Two pieces of data hygiene come first — both real issues in the Cricsheet data that you will meet in your own work.

⚠️ Common pitfall — one player, two names: Cricsheet records Nat Sciver-Brunt under two names, NR Sciver and NR Sciver-Brunt, because her name changed during her career. If you group by name without merging, you get two half-careers. There is also a different player, KH Sciver-Brunt (Katherine Sciver-Brunt, a fast bowler), so a careless search for "Sciver" merges the wrong people. Our script prints every name containing "Sciver" and merges only the two that are the same person (the reference table data/reference/player_styles.csv notes the pairing). Similarly, Sri Lanka's Chamari Atapattu appears in Cricsheet as AC Jayangani; search by surname and you will not find her.

balls = load_deliveries("t20s_female")
merge = {"NR Sciver": "NR Sciver-Brunt"}
for c in ["batter", "non_striker", "player_out"]:
    balls[c] = balls[c].replace(merge)          # merge the name in every column it appears

The merge must touch every column a name appears in — batter, non_striker and player_out — or her dismissals and her innings counts will be split even though her runs are not.

Leading names (all balls):
                 innings  runs  balls  average    rpi  strike_rate  dot_pct  boundary_ball_pct  boundary_run_pct
batter                                                                                                          
S Mandhana           157  4612   3552    32.48  29.38       129.84    42.06              20.52             67.87
AC Jayangani         138  3837   3198    29.98  27.80       119.98    49.66              19.42             70.63
BL Mooney            119  3816   2993    41.93  32.07       127.50    34.51              17.31             55.35
H Kaur               148  3561   3062    31.51  24.06       116.30    37.46              14.17             53.02
DN Wyatt             145  3465   2603    26.05  23.90       133.12    36.88              18.90             59.51
Shafali Verma        121  3453   2422    30.56  28.54       142.57    38.98              22.50             69.85
HK Matthews          115  3188   2729    30.65  27.72       116.82    45.36              17.26             62.42
NR Sciver-Brunt      126  3061   2518    31.56  24.29       121.56    34.59              15.17             51.16
SFM Devine           112  3006   2399    30.99  26.84       125.30    39.47              16.30             59.08
L Wolvaardt           99  2984   2413    39.26  30.14       123.66    36.47              16.37             55.90
AJ Healy             117  2710   2082    27.10  23.16       130.16    42.36              20.27             66.05
MM Lanning            89  2538   2206    39.66  28.52       115.05    41.52              15.50             56.82
EA Perry             105  2242   1850    32.03  21.35       121.19    34.76              14.49             51.92

Smriti Mandhana leads the women's T20I run list in the data (4,612 runs). Look at how differently the leading batters score. Mandhana and Atapattu are high-dot, high-boundary batters — Atapattu fails to score off nearly half her balls (49.66%) but takes 70.63% of her runs in boundaries. Beth Mooney is the opposite engine: the lowest dot % among these leading names (34.51) and the highest average (41.93), with a boundary-run % of 55.35. Laura Wolvaardt's profile (dot 36.47, average 39.26) is closer to Mooney's. Ellyse Perry and Nat Sciver-Brunt are rotators: dot % near 34.6 and the lowest boundary-run % on the list.

Among the 103 women's T20I batters with at least 1,000 balls, the median strike rate is 99.22, the median dot % 46.03 and the median boundary-run % 49.04 — but because that set includes associate nations, raw comparisons with the men's numbers are not fair. So we build a women's T20I par from matches between the twelve full-member nations only, and compute SR+ against it:

Women's T20I par SR between full members, selected years:
phase  powerplay  middle  death
year                           
2010        93.1    92.4  112.9
2014        84.5    89.6  108.2
2018       101.0   107.5  119.7
2022        96.3   101.0  123.5
2024       104.5   108.6  124.3
2025       116.3   119.2  133.9
2026       112.1   113.1  138.0

Against full members only: SR+ by phase (100 = par for the same year and phase)
                 powerplay  middle  death  sr_plus_overall  powerplay_balls  middle_balls  death_balls
batter                                                                                                
Shafali Verma        138.3   122.2  110.7            132.6             1409           679           24
AJ Healy             127.4   138.3  152.8            132.2             1360           580          118
DN Wyatt             124.6   134.1  137.2            129.3             1412           944          209
S Mandhana           120.9   124.7  131.7            122.9             1937          1289          133
SFM Devine           122.3   117.1  132.6            121.3              977          1128          290
BL Mooney            108.6   128.1  143.1            120.4             1477          1182          286
MM Lanning           108.8   120.1  120.2            116.8              686          1225          274
NR Sciver-Brunt      105.7   113.5  129.6            115.1              539          1494          433
EA Perry             106.2   113.8  119.7            114.3              309          1086          452
L Wolvaardt          112.6   108.8  136.0            114.2             1040          1033          277
AC Jayangani         110.2   116.2  179.4            114.0             1644           971           51
HK Matthews          105.3   120.3  130.0            112.9             1459           981          160
H Kaur                75.9   106.8  122.0            107.1              343          1973          601

The women's game has its own scoring surge: the full-member death-overs par rose from 108.2 in 2014 to 138.0 in 2026. Against that moving par, three openers stand out for tempo — Shafali Verma (SR+ 132.6), Alyssa Healy (132.2) and Danni Wyatt (129.3). Mandhana (122.9) combines high tempo with the biggest run volume. Every batter on this list is above par overall, which is what you would expect of the leading run-scorers in the game.

Beth Mooney's phase line is the best illustration in the chapter of why a single career strike rate misleads. Her powerplay SR+ (108.6) is modest, but in the middle overs (128.1) and at the death (143.1 on 286 balls) she accelerates beyond almost everyone. Her phase card shows how: in the middle overs her dot % falls to 24.56 with an average of 55.13 — she almost never stops scoring and almost never gets out. Harmanpreet Kaur's line is the profile of a middle-order batter: 1,973 middle-overs balls, 601 at the death, a below-par powerplay on few balls.

Women's T20I phase strike rates

📊 Figure (described): Grouped bars showing powerplay, middle and death strike rates (all women's T20Is) for Mandhana, Mooney, Wolvaardt, Healy, Shafali Verma and Chamari Atapattu (listed in the data as AC Jayangani). Shafali has the highest powerplay bar (about 146) and the lowest death bar (about 124, on only 33 balls); Mooney's and Wolvaardt's bars climb steeply from powerplay (about 110 and 119) to death (about 177 and 174); Atapattu's death bar is the tallest (about 228) but rests on 88 balls. The takeaway: openers who start slowly can still be the most valuable finishers of their own innings, and the death bars need their ball counts.

🏏 Eye test: Kavya, who produces broadcast graphics, flags a trap: "Shafali's death strike rate is 124 — put that on screen and viewers will think she can't finish." Shafali has faced 33 balls at the death in T20Is because she is usually out, or the innings has been reshaped, long before over 16. The graphic is accurate and misleading at the same time. Phase numbers always need the ball count beside them.

🔄 Check your understanding

  1. Why must a name merge touch the player_out and non_striker columns as well as batter?
  2. Why build the women's T20I par from full-member matches only?
  3. Beth Mooney's overall women's T20I strike rate (127.50) is lower than Alyssa Healy's (130.16). Give one reason a selector might still prefer Mooney, using a number from this section.

Answer

  1. Dismissals are counted from player_out and innings from both batter and non_striker. Merging only batter would combine the runs and balls but leave dismissals and innings split across two names, so the average and RPI would be wrong.
  2. The full women's T20I file includes many associate-nation matches with much lower scoring. A par that mixes them in would make every leading batter look further above par than she is against the opposition that matters.
  3. Mooney's average (41.93) is far higher than Healy's (27.10), and her middle-overs and death SR+ (128.1 and 143.1 against full members) show she accelerates strongly once set. She offers runs and survival; Healy offers powerplay tempo.

8.9 Scoring zones and the wagon wheel

The last item in the batting toolkit is spatial: where does a batter score? Leg side or off side, square or straight, along the ground or in the air. This is the wagon wheel — a diagram with a line from the batter to the end point of every scoring shot — and for an analyst it is a tool, not a decoration. If a batter takes 70% of his runs on the leg side, the opposition will bowl wide outside off and set an off-side field; if he scores freely through point and third man, they will bowl straighter.

🧪 Simulated data: Cricsheet records how many runs came off each ball, but not where the ball went. Shot directions are collected by broadcasters and ball-tracking providers and are not public. To teach the method, the book's toolkit (toolkit/tracking_sim.py) attaches simulated shot zones, angles and distances to the real scoring shots: every run, four and six in the figure below is real; every direction is simulated, using a stable per-batter random preference that is not the real player's preference. Nothing in this section is a fact about where Suryakumar Yadav or Abhishek Sharma actually hit the ball.

sim = add_tracking(balls, seed=2026)                 # 🧪 simulated tracking layer
shots = sim[sim["batter"].isin(PLAYERS) & (sim["runs_batter"] > 0) & (sim["wides"] == 0)].copy()
shots["is_left"] = shots["batter"].map(hand).str.startswith("L").fillna(False)
shots["side"] = np.where((shots["sim_shot_angle_deg"] > 0) ^ shots["is_left"], "off", "leg")

The batting hand comes from the real reference table data/reference/player_styles.csv (Suryakumar bats right-handed, Abhishek Sharma left-handed). Handedness matters to the geometry: a left-hander's off side is a right-hander's leg side, so the wagon wheel mirrors. The ^ operator is "exclusive or": a positive angle is the off side for a right-hander, unless the batter is left-handed.

SA Yadav: 548 scoring shots, 1332 runs
               shots  runs  fours  sixes  run_share_pct
sim_shot_zone                                          
point            112   271     31     11           20.3
midwicket         81   230     20     17           17.3
square_leg        98   221     21     10           16.6
cover             68   177     21      8           13.3
third_man         89   169     21      1           12.7
long_on           49   144      7     14           10.8
long_off          27    68      8      3            5.1
fine_leg          24    52      4      2            3.9
Off/leg run split (simulated): {'leg': 48.4, 'off': 51.6}

The totals at the bottom of each table are real: in IPL 2024–2026 Suryakumar scored 1,332 runs off 816 balls with 133 fours and 66 sixes; Abhishek Sharma 1,486 runs off 739 balls with 132 fours and 113 sixes. The way those runs are split across zones is simulated.

Simulated wagon wheels

📊 Figure (described): Two wagon wheels — simulated tracking layer: real outcomes, simulated locations. Left: Suryakumar Yadav (right-handed), 548 scoring shots in IPL 2024–26; right: Abhishek Sharma (left-handed), 490 scoring shots. Lines run from the centre to each shot's simulated end point, grey for 1–3 runs, blue for fours and orange for sixes, with a dashed circle marking a 70 m boundary and the off and leg sides labelled (mirrored for the left-hander). The takeaway is methodological: this is how you would read a real shot-location feed — but the directions here are simulated and say nothing about the real batters.

What the method gives you, once you have real shot locations:

  1. Zone shares — the share of runs (and of boundaries) through each of eight zones. Compare with the league's distribution for the same batting hand, because left- and right-handers have different "natural" zones.
  2. Zone strike rates by length — runs per ball in each zone against full, good and short balls. This is where tactics come from: "he scores 40% of his runs square on the leg side against short balls" is a field-placement instruction (Chapter 32).
  3. Zone shares by phase — powerplay scoring over the top of the inner ring versus death-overs scoring down the ground.

A franchise with the real ball-tracking and shot-location feed would see something our simulation cannot reproduce: genuine, persistent individual preferences, and their interaction with the bowler's line and length. It would also see how those preferences change over a career — the batter who adds a ramp over fine leg changes the field he faces. Chapter 15 does the bowling side of the same analysis with the simulated pitch maps, and Chapter 7 covers the chart design.

⚠️ Common pitfall — treating a simulated zone as a scouting fact: It is tempting to read Figure 8.9 and say "Abhishek scores mostly through midwicket". The figure cannot support that sentence. Real runs, simulated directions: use it to learn the code and the reading, and save conclusions for real data.

🔄 Check your understanding

  1. Which numbers in the wagon-wheel tables are real, and which are simulated?
  2. Why does the script need the batter's batting hand before it can say "off side" or "leg side"?

Answer

  1. The runs, fours, sixes and number of scoring shots are real Cricsheet outcomes; the zone, angle and distance of every shot are simulated, so every zone share and off/leg split is simulated.
  2. The off side of a right-hander is the leg side of a left-hander. The same shot angle means opposite sides for the two, so the wagon wheel must be mirrored for left-handers.

8.10 Putting it together: a batting scorecard

We now have seven numbers where we started with one. How do you use them without drowning? The practical answer is a percentile card: for each metric, where does the batter rank among comparable batters (same format, same balls threshold)? Percentiles make different units comparable, and they resist the temptation to over-read decimals.

Here is Heinrich Klaasen's card among the 140 regular IPL batters, from the new Crease module (for dot %, the percentile is reversed so that a high percentile always means "better"):

6. percentile_card: H Klaasen among IPL batters with >= 500 balls
                    value  percentile
metric                               
average             42.08        97.1
rpi                 35.07        93.6
strike_rate        166.72        95.7
dot_pct             24.80        99.3
boundary_ball_pct   21.08        83.6
nbsr                80.32        99.3

Klaasen has the lowest dot % and the highest NBSR of all 140 regulars, and he is in the top 5% for both strike rate and average. His boundary-ball % (83rd percentile) is very good but not extreme — his strike rate comes from never stopping, more than from out-hitting everyone.

📋 Try it — Evaluate this player: Using the IPL career numbers in §8.1–8.6, write a three-sentence scouting note on Andre Russell: one sentence on tempo, one on how he scores, one on what the numbers cannot tell you.

Worked answer

Tempo: career IPL strike rate 174.18, SR+ 120.9 against a par of 144.01, with 48% of his balls at the death (death SR+ 121.7 on 731 balls) — among the most valuable finishers in the data. How: boundary-ball % 26.87 and boundary-run % 78.54, but NBSR only 51.12 and dot % 39.68 — he scores by power, not rotation, and a bowler can build dot sequences against him. What the numbers can't tell you: whether the dot balls are deliberate (sizing up a bowler before attacking) or forced, and how his value depends on who bats with him and how many balls remain when he arrives — Chapter 9's win-probability context.

A decision framework for choosing which number to quote:

You want to know… Use Not
How fast a T20 batter scores, across eras SR+ (with balls faced) Raw career SR
How fast, within one season and league Strike rate Average
Whether he gets stuck Dot % (and NBSR) Boundary-run %
Whether he clears the rope Boundary-ball % / balls per boundary Boundary-run %
How he scores (style) Boundary-run %, six share —
What he gives you per visit (finishers) Runs per innings Average
How many runs each wicket costs (Tests, top order) Average, balls per dismissal Strike rate alone
Whether a hot season is real Components (dot %, boundary-ball %, NBSR) Season average

Spaced Review

Before you read each answer, try to produce it from memory.

  1. From Chapter 4: what is "runs above par", and how is it related to this chapter's SR+? Answer: Runs above par is a batter's runs minus the runs an average batter would have scored on the same balls (same season and phase). SR+ divides instead of subtracting: 100 × runs ÷ par runs. Both start from the same par; one reports the gap in runs, the other as a ratio.

  2. From Chapter 5: why does Theme 2 insist that every metric carry a format label? Give one number from §8.7 that shows it. Answer: Because the same number means different things in different formats. The median established Test batter's dot % is 74.13; the median IPL regular's is 36.38. A batter with a dot % of 55 is aggressive in a Test and a liability in a T20.

  3. From Chapter 6: what is regression to the mean, and which metric in §8.5 should you expect to regress most strongly after an outlier season? Answer: Extreme observed performances are partly luck, so the next observation tends to be closer to the average. The less reliable the metric, the stronger the regression: the batting average, with a season-to-season correlation of only 0.21, regresses most. Kohli's 2016 average of 81.08 followed by 30.80 is the vivid example.

  4. From Chapter 7: what labelling rule must accompany any chart built from the toolkit's simulated tracking layer? Answer: The title or caption must say it is a simulated tracking layer with real outcomes and simulated locations, and the prose must not state any simulated number as a fact about a real player — exactly what Figure 8.9 does.


Project Checkpoint: batting.py

Nusrat has been building Crease since Chapter 2, and so far it can load data, print scorecards, compute traditional statistics and format baselines. This chapter she adds the module every later batting chapter will import: project/crease/batting.py.

"I want one function I can call on any competition," she says, "that gives me the whole card — not just average and strike rate." That is batting_profile. It wraps the toolkit's canonical batting_summary (so every definition stays identical across the book) and adds runs per innings, balls per boundary, NBSR, boundary value, scoring-shot % and six share. Around it sit the other tools of this chapter:

Function What it returns
batting_profile(balls, by="batter", min_balls=0) the full metric table
sr_decomposition(profile) strike rate split into boundary and non-boundary runs per 100 balls
phase_par(balls, keys=("year","phase")) the league's runs-per-ball par per season and phase
sr_plus(balls, by="batter", keys=..., par=None, min_balls=0) SR+ with par SR and par runs
phase_profile(balls, players=None, ...) one row per batter and phase, with SR+ and phase share
phase_matrix(balls, players, metric="sr_plus") a batter × phase table of one metric
metric_reliability(balls, metrics=None, min_balls=120) season-to-season correlation per metric
percentile_card(profile, player) a batter's percentile on each metric
scoring_zones(tracked_balls, player) zone table from a tracking layer (🧪 simulated here)

The heart of the module is the SR+ function. Note the optional par argument: Case Study 1 and §8.8 pass in a par built from full-member matches only, rather than every match in the file.

def sr_plus(balls, by="batter", keys=("year", "phase"), par=None, min_balls=0):
    b = _prepare(balls)                         # drop super overs, add calendar year
    if par is None:
        par = phase_par(b, keys)
    faced = b[b["wides"] == 0].join(par.rename("par_rpb"), on=list(keys))
    g = faced.groupby(by).agg(runs=("runs_batter", "sum"), balls=("runs_batter", "size"),
                              par_runs=("par_rpb", "sum"))
    g = g[g["balls"] >= min_balls].copy()
    g["sr_plus"] = (100 * g["runs"] / g["par_runs"]).round(1)
    ...

The checkpoint script, code/project_checkpoint.py, calls every public function. Two of its outputs, for IPL 2024–2026:

3. sr_plus, IPL 2024-2026, min 600 balls (top 6):
                 runs  balls  par_runs  strike_rate  par_sr  sr_plus
batter                                                              
Abhishek Sharma  1486    739    1117.4       201.08  151.20    133.0
TM Head          1351    767    1154.0       176.14  150.46    117.1
RM Patidar       1208    700    1048.9       172.57  149.85    115.2
N Pooran         1257    730    1121.3       172.19  153.60    112.1
SA Yadav         1332    816    1216.8       163.24  149.12    109.5
H Klaasen        1590    952    1455.2       167.02  152.86    109.3 

4. phase_matrix (SR+), IPL 2024-2026:
phase         powerplay  middle  death
batter                                
H Klaasen          76.1   108.5  116.6
SA Yadav           94.9   113.1  114.5
Shubman Gill       94.7   113.3  104.4
TM Head           118.5   113.3    NaN
V Kohli           107.6    94.8  115.6

The NaN for Travis Head at the death is honest, not a bug: in 2024–2026 he did not face a single death-overs ball in the IPL. A missing cell is information about the role.

Where this goes next: Chapter 9's impact.py uses phase_par to build expected runs, Chapter 11's matchups.py shrinks these same metrics by bowling type, and Chapter 13's valuation_batting.py turns SR+ and RPI into runs above replacement to set against auction prices. The Streamlit dashboard in Chapter 39 will show percentile_card as a player's front page.


Chapter Summary

The metrics (balls faced exclude wides; runs are off the bat; definitions identical to the toolkit's batting_summary):

Metric Formula IPL regulars, median (10th–90th pct) Season-to-season r
Batting average runs ÷ dismissals 28.40 (21.11–38.80) 0.21
Runs per innings runs ÷ innings 23.28 (14.90–32.60) 0.38
Strike rate 100 × runs ÷ balls 135.58 (118.84–154.29) 0.34
Dot-ball % 100 × dots ÷ balls 36.38 (31.39–43.19) 0.41
Boundary-ball % 100 × (4s + 6s) ÷ balls 17.74 (14.12–22.05) 0.46
Boundary-run % 100 × (4×4s + 6×6s) ÷ runs 61.08 (52.78–69.66) 0.57
Non-boundary SR 100 × non-boundary runs ÷ non-boundary balls 65.11 (54.26–72.12) 0.54
SR+ 100 × runs ÷ par runs (same season, phase) 100 = par —

(IPL 2008–2026, batters with ≥500 balls faced; reliability from 593 batter-season pairs with ≥120 balls in consecutive seasons.)

The findings:

  1. Average and strike rate correlate only 0.31 among regular IPL batters; you need both, and more.
  2. "Elite T20 batters score 55–65% of their runs in boundaries" is wrong: that band holds 57% of all regular IPL batters; the top-decile strike rates have a median boundary-run % of 71.52. Boundary-run % is a style marker, not a quality marker.
  3. Dot % and boundary-ball % are uncorrelated — two independent engines. Together with NBSR (or dot %), boundary-ball % explains 94.6% of the spread in IPL strike rates.
  4. The batting average is the least repeatable of seven metrics from season to season (0.21); the components of strike rate are more repeatable than strike rate itself.
  5. SR+ removes the league's moving par. IPL powerplay par rose from 113.1 (2012) to 159.1 (2026). On SR+, Gayle (121.4) outranks Klaasen (110.5), and Kohli's death-overs edge over Suryakumar survives the adjustment (120.5 vs 110.7).
  6. Every format needs its own scale: median established-batter dot % is 74 in Tests, 54 in ODIs, 39 in men's T20Is.

Decision checklist before you quote a batting number: Which format? Which phase? Which seasons (and what was par)? How many balls? Which denominator (balls or runs)? Is it a skill metric or a style metric?


What's Next

Every metric in this chapter treats a run as a run. But 35* off 20 to win a chase with two overs to spare is worth more than 80 off 55 in a lost cause, and no strike rate can see that. Chapter 9 builds the first version of Crease's win-probability model, applies it ball by ball to the real Newlands chase that recurs through this book, and measures batting value as the change in a team's chance of winning.