Case Study 1 — Gloves in Test Cricket: What the Data Can and Can't Say About Wicketkeepers

Setup

Imran Qureshi runs analytics for Headingley Road CC, a club side in Leeds. His captain asked him a question that sounds simple: who is the best Test wicketkeeper of the last twenty years? The captain had a name in mind (everyone does), and he wanted numbers to back it.

Imran knew the trap before he opened his laptop. Keeping is the fielding job the scorecard records best (catches and stumpings, every one with a keeper's name on it) and also the one it records worst, because the best thing a keeper does is make difficult takes look like nothing happened. He set himself a narrower, honest question:

Among men's Test keepers in the Cricsheet data (December 2001 – October 2026) with at least 25 Tests behind the stumps, what do dismissals and byes tell us, how stable are those numbers, and how much of them is the keeper rather than his bowlers and pitches?

The script is code/case_study_01.py. It uses the chapter's module throughout: fd.fielding_events for real dismissals with registry ids, fd.infer_keepers for who kept, and the styles table in data/reference/player_styles.csv for bowler type.

The data

Three things go into the analysis.

Who kept. Cricsheet records no roles, so the keeper in each team-match is inferred: the XI member who made a stumping in that match, or else the XI member whose nearest stumping for that team is closest in time. In men's Tests the rule identifies a keeper for 97.7% of team-matches, and in a hold-out test on the 412 team-matches where a stumping reveals the truth it names the right keeper 91.7% of the time (Chapter 17, §17.4). About one Test in twelve may therefore be credited to the wrong person. That's acceptable for career-level summaries and worth remembering for any single match.

What the keeper did. Catches taken while keeping, stumpings, and byes: runs that passed the batter and the keeper and were run (or went to the boundary). Byes are the one real "error" measure in the data.

The context. Host country and conditions come from toolkit/venues.py, and "home" means the keeper's own side was the host. Bowler type (spin or pace) comes from the styles table. Its coverage is not complete, so the script reports what share of each keeper's balls are typed, uses only well-typed keepers (at least 80% of balls) for the spin correlations, and leaves out the stumping rate when a keeper has fewer than 3,000 typed spin balls. With the final styles table every one of the 27 keepers clears both bars: the least-typed is Kamran Akmal at 92.1%.

The keepers are normalised per 100 overs kept, not per Test, because Tests vary hugely in length and a keeper's team's bowling attack determines how long he stands behind the stumps.

Analysis

The script's main table, sorted by dismissals per 100 overs (selected columns):

=== Men's Tests: keepers with >= 25 Tests kept (inferred) ===
                  tests  overs  dis_per_100_overs  byes_per_100  byes_home  byes_away  typed_pct  spin_share_of_typed  st_per_1000_spin
keeper
Q de Kock            47   6556               3.28          4.85       6.24       3.39       99.7                 28.6              0.89
AT Carey             53   7310               3.02          5.12       5.04       5.09      100.0                 34.8              1.25
K Verreynne          31   3778               2.83          5.77       7.00       5.05       96.5                 35.8              1.66
TD Paine             35   5900               2.66          5.49       4.75       6.97       98.7                 34.1              0.59
AC Gilchrist         39   6638               2.65          3.03       2.70       3.70       98.7                 32.6              1.09
RR Pant              51   7540               2.41          6.99       7.03       7.09       97.8                 40.5              1.01
BJ Haddin            66  11401               2.37          5.94       4.52       7.03       97.5                 26.5              0.40
MV Boucher           76  12114               2.29          4.16       3.79       4.62       96.0                 24.0              0.72
BJ Watling           64  11085               2.19          3.83       3.35       4.32       99.2                 27.0              0.45
JM Bairstow          63  10106               2.19          4.90       6.21       3.49       99.3                 27.7              0.84
MS Dhoni             84  14854               1.90          4.79       5.68       4.03       98.6                 53.2              0.77
N Dickwella          56   9000               1.89          4.11       4.43       3.94       97.1                 58.0              0.89
WP Saha              39   5882               1.77          4.59       6.04       1.96      100.0                 59.0              0.62
Mushfiqur Rahim      56   9080               1.15          4.56       5.56       3.26       95.1                 65.1              0.41

(The full table, with all 27 keepers and the home/away overs, is in code/case_study_01_output.txt.)

Test keepers: byes at home and away

📊 Figure (described): For each of the 27 men's Test keepers with 25+ Tests kept (inferred), a dot for byes per 100 overs at home (blue circle) and away (orange square), joined by a grey line, sorted by the overall rate. Many keepers' home and away dots sit far apart: Tom Blundell 4.65 at home and 10.05 away, Wriddhiman Saha 6.04 and 1.96, Jonny Bairstow 6.21 and 3.49. The takeaway is that a keeper's byes rate moves a lot with where he's keeping, so a single career number hides most of the story.

Finding 1: dismissals per 100 overs track the attack. Quinton de Kock (3.28 per 100 overs) and Alex Carey (3.02) top the list; Mushfiqur Rahim (1.15), Wriddhiman Saha (1.77), Niroshan Dickwella (1.89) and MS Dhoni (1.90) are near the bottom. Look at the spin column. Across the 27 keepers (all of whose bowlers are at least 80% typed in the styles table), the correlation between the spin share of their bowling and their dismissals per 100 overs is −0.61:

Correlations across these keepers:
  (keepers whose bowlers are >= 80% typed in the styles table: 27)
  spin share vs dismissals per 100 overs: -0.613
  spin share vs byes per 100 overs:       -0.283
  byes home vs byes away:                 0.074

The keepers at the bottom kept to spin-heavy attacks: Saha's typed balls were 59.0% spin, Dickwella's 58.0%, Mushfiqur's 65.1% (and Dhoni's, just above them, 53.2%). Spin produces fewer edges to the keeper than pace (Test stumpings off spin are rare, 0.74 per 1,000 spin balls, and don't make up the difference). The keepers at the top kept to South African and Australian pace attacks. Dismissals per 100 overs is mostly a description of the bowling the keeper stood behind.

Finding 2: byes have only a weak link to the person. All inferred Test keepers together conceded 4.81 byes per 100 overs. The spread among the 27 regulars runs from 2.90 (Dinesh Chandimal) and 3.03 (Adam Gilchrist) to 6.99 (Rishabh Pant) and 7.10 (Tom Blundell). But the home–away correlation is 0.074. Knowing a keeper's byes rate at home tells you almost nothing about his rate away. Blundell's split (4.65 at home, 10.05 away) is the extreme. Saha's runs the other way (6.04 at home in India, 1.96 away).

The split-half test confirms that byes are noisy. Splitting each keeper's Tests into odd and even, in date order:

Split-half (odd vs even Tests) r for byes per 100 overs: 0.566  (n = 27)
Split-half r for dismissals per 100 overs: 0.769

A split-half correlation of 0.57 means byes carry some signal (roughly half of the variance between keepers repeats), but dismissals per 100 overs repeat better (0.77), and we've already seen that dismissals repeat largely because the attack repeats.

Finding 3: conditions explain more than you'd think. Across all inferred keepers:

All inferred keepers, byes per 100 overs by host conditions:
               legal  byes  byes_per_100
conditions
Other          63456   440          4.16
SENA          833888  6445          4.64
Subcontinent  554628  4733          5.12
UAE            70749   433          3.67
West Indies   155475  1409          5.44

Keeping in the West Indies costs about 1.8 more byes per 100 overs than keeping in the UAE, and the subcontinent about 0.5 more than SENA countries. A keeper who spends his career on low, slow pitches in the Gulf (as Pakistan's keepers did for most of the 2010s, when Pakistan's home Tests were played in the UAE) gets a flattering byes rate for reasons that have nothing to do with his gloves. Sarfraz Ahmed's 3.48 per 100 overs is a good example of why the label "home" needs care. Only 416 of his 9,274 overs were kept at home in Pakistan and 5,045 away; the remaining 3,800 or so were at venues the toolkit classes as neutral, which for Pakistan in the 2010s mostly meant the UAE, home in all but name.

Finding 4: stumpings tell you about spin, when the data can see it. Stumpings per 1,000 typed spin balls kept range from 0.13 (Jos Buttler) and 0.40 (Brad Haddin) to 1.32 (Tom Blundell) and 1.66 (Kyle Verreynne), with Gilchrist at 1.09. With a few dozen stumpings per career at most, these rates are small-sample numbers; treat a difference of a few tenths as noise. The column also depends on the styles table: the script leaves a keeper's spin rate blank rather than guessed when too few of his balls are typed. Here none needs blanking, but run the same script on older or associate cricket, where many bowlers are untyped, and check that column before comparing anyone.

What it means (and doesn't)

What Imran could tell his captain:

  • The data can describe keepers; it can barely rank them. The dismissal rate is mostly the attack. The byes rate is part keeper, part pitch, part bowlers, and it doesn't travel between home and away.
  • The best evidence for a keeper is in what the data can't see: the takes standing up to spin on a turning pitch, the leg-side takes off swing, the half-chances that become catches. A keeper who catches one extra edge every few Tests outweighs a gap of two byes per Test; the chapter's §17.6 puts a top-six Test batter's expected further runs at about 35–42.
  • Gilchrist's line is the closest thing to a clear outlier: 2.65 dismissals per 100 overs and 3.03 byes per 100 overs, with 4.51 dismissals per Test kept. But his Tests in the data start in December 2001, so this is only part of his career, and he kept to some of the strongest attacks of his era.

What it can't say:

  • It can't separate glovework from the bowling attack or the pitch.
  • It can't count dropped catches or missed stumpings, which are the errors that matter most.
  • About 8% of Tests may be credited to the wrong keeper, and the figures for keepers who shared the gloves (de Villiers, Buttler, Bairstow) are the most exposed to that.

So the honest answer to "who is the best Test keeper of the last twenty years?" is a shortlist with reasons, not a number. That's still more useful than the captain's single name, because it tells him what evidence would change the order: chance-level video grading, which franchises and boards have and the public doesn't.

Discussion questions

  1. Should a keeper's dismissals per 100 overs be adjusted for the spin share of his attack? Sketch how you'd do it with a regression, and what you'd lose.
  2. Saha concedes 6.04 byes per 100 overs at home in India and 1.96 away. Give two cricket explanations other than "he keeps better away".
  3. The rule that infers keepers is right about 92% of the time in Tests. For which of the 27 keepers in this table would you expect the most misattributed Tests, and why?
  4. If you could add one new column to Cricsheet for keepers, what would it be, and how would it change this case study?

Your turn

Repeat the analysis for men's ODIs (keepers with ≥ 60 ODIs kept): change the competition in case_study_01.py, keep the styles-coverage filter, and add a column for stumpings off pace. In ODIs, do the dismissals per 100 overs still track the spin share? Is the home–away correlation of byes any stronger than the Test figure of 0.07? Write a 300-word note for Imran's captain in the same "what it means / what it can't say" format.