Case Study 2 — Two Off-Spinners, Two Jobs: R Ashwin and Nathan Lyon
Format: men's Tests · Data: Cricsheet ball-by-ball, December 2001 – October 2026, plus batting hand from
data/reference/player_styles.csv· Code:code/case_study_02.py
Setup
Ravichandran Ashwin and Nathan Lyon are the two most prolific right-arm off-spinners in the book's snapshot. In the Cricsheet data, Ashwin took 532 wickets at 24.12 (strike rate 50.99) and Lyon 577 at 30.35 (strike rate 62.00). Set those two lines side by side and the verdict looks obvious: Ashwin by six runs a wicket.
The chapter's lessons say: not so fast. A Test bowling average is a mix of conditions, innings and opposition, and these two bowlers' mixes are very different. Ashwin is an Indian spinner who bowled about two-thirds of his balls at home, on pitches built to turn. Lyon is an Australian spinner who bowled half his balls on pitches that rarely help spin before the fourth day, and the other half on tour. This case study does the like-for-like comparison that §16.5's pitfall asked for. The question isn't "who is better?" (a debate with no single answer) but "what job did each do, and how well?"
The data
PAIR = ["R Ashwin", "NM Lyon"]
hand = styles[styles["gender"] == "male"].drop_duplicates("cricsheet_name") \
.set_index("cricsheet_name")["batting_hand"]
balls["bat_hand"] = balls["batter"].map(hand)
b = balls[balls["bowler"].isin(PAIR)]
for key in ["bowl_status", "conditions", "innings", "bat_hand"]:
print(bowling_summary(b, by=["bowler", key]))
The styles table gives the batter's hand for 98.8% of the legal balls these two bowled. The few balls to batters who aren't in the table are left out of the handedness split, not guessed.
Analysis
1. Home, away, conditions
| Ashwin balls | Ashwin avg | Ashwin SR | Lyon balls | Lyon avg | Lyon SR | |
|---|---|---|---|---|---|---|
| Home | 17,509 | 21.70 | 46.32 | 17,942 | 31.18 | 64.77 |
| Away | 9,468 | 30.55 | 63.12 | 15,962 | 28.32 | 57.01 |
| SENA | 6,057 | 39.56 | 84.12 | 25,206 | 31.11 | 64.14 |
| Subcontinent | 19,744 | 21.88 | 46.13 | 7,717 | 27.50 | 55.52 |
| West Indies | 1,326 | 19.34 | 41.44 | 1,302 | 21.87 | 43.40 |
(Lyon also bowled 1,547 balls in the UAE at 53.80. Ashwin bowled none there in the data.)
The mixes are almost mirror images. 73% of Ashwin's balls came in subcontinental conditions; 70% of Lyon's came in SENA countries. Compare them where both bowled:
- In the subcontinent, Ashwin averages 21.88 and Lyon 27.50. Ashwin is clearly better on turning pitches, though Lyon's 27.50 is better than the subcontinental spin baseline from §16.5 (32.06), so he was a good bowler there too.
- In SENA countries, Lyon averages 31.11 and Ashwin 39.56. The SENA spin baseline is 39.60, so Lyon beats it comfortably and Ashwin is almost exactly on it. Ashwin's SENA strike rate (84.12) means a wicket every fourteen overs.
- In the West Indies, on small samples, both did well (19.34 and 21.87).
Lyon's away/home ratio is 0.91: he was better away than at home, one of only a handful of bowlers in the data who were. That isn't because he toured easy places. "Away" for an Australian spinner means India, Sri Lanka and Bangladesh, where spin is the main weapon. "Home" means Australian pitches, which give a finger spinner little in the first three innings. The comparison flatters Ashwin's raw average and hides how hard Lyon's home job was.
2. When in the match
--- by innings ---
bowler NM Lyon R Ashwin
average balls economy strike_rate wickets average balls economy strike_rate wickets
innings
1 32.64 8427 3.14 62.42 135 26.67 7799 2.79 57.35 136
2 34.02 11635 2.88 70.95 164 27.38 7171 2.84 57.83 124
3 26.70 8124 2.94 54.52 149 22.64 7772 3.02 44.92 173
4 27.50 7586 2.81 58.81 129 19.12 4385 2.59 44.29 99
Both bowlers improve in the second half of the match, as §16.5 says every spinner does. Ashwin's fourth-innings average is 19.12, from 99 wickets, and his third- and fourth-innings strike rates (44.92 and 44.29) are the best numbers in his record. He's a finisher: give him a worn pitch and a target to defend and the match ends. Lyon's gradient is gentler (32.64 → 27.50), and his biggest workload is the second innings (11,635 balls, 164 wickets at 34.02). That's the innings in which an Australian spinner bowls long, holding spells on a fresh pitch while the fast bowlers rotate.
3. Left-handers and right-handers
--- by bat_hand ---
bowler NM Lyon R Ashwin
average balls economy strike_rate wickets average balls economy strike_rate wickets
bat_hand
Left 24.48 11210 2.63 55.77 201 20.21 12385 2.55 47.63 260
Right 34.02 24124 3.09 66.09 365 28.57 14423 3.09 55.47 260
All right-arm off-spinners in the styles table, by batter hand:
balls wickets average strike_rate economy
off-spin Right 184027 2630 38.62 69.97 3.31
Left 118369 1876 30.57 63.10 2.91

📊 Figure (described): Three panels of paired bars (Ashwin blue, Lyon orange; lower is better). Home/away: Ashwin's bar is much lower at home (21.7) than away (30.6), while Lyon's is slightly higher at home (31.2) than away (28.3). Innings number: both fall across the match, Ashwin's to 19.1 in the fourth innings. Batter's hand: both are far better against left-handers (Ashwin 20.2, Lyon 24.5) than right-handers (28.6, 34.0). The off-spinner's natural advantage against the left-hander runs through both careers.
The off-spinner turns the ball away from the left-hander's bat, towards the slips and with the stumps in play. Across all right-arm off-spinners in the styles table, left-handers are dismissed at 30.57 runs per wicket against 38.62 for right-handers. Both of our bowlers show the same shape at a better level. Two things stand out:
- Ashwin bowled almost as many balls to left-handers (12,385) as to right-handers (14,423), against an off-spin-wide split of about 2 to 3 (118,369 to 184,027). His wickets split exactly evenly, 260 from each hand. Lyon's split (11,210 to 24,124, under 1 to 2) has fewer left-handers than the off-spin norm. Some of that is opposition (which teams had left-heavy top orders when each played), and some may be how each was used, with captains bringing Ashwin on for left-handers. The data can't separate the two without the batting orders of every Test, which is a good extension exercise.
- Lyon against right-handers (34.02) is the weakest cell in either record, but it's still better than the off-spin baseline against right-handers (38.62).
4. How they were used, and how they got their wickets
Share of legal balls by stage (over of the innings):
1-20 21-50 51-80 81+
NM Lyon 16.0 35.1 30.2 18.8
R Ashwin 22.1 36.3 25.0 16.7
--- spells ---
spells mean_len pct_9plus wkts_per_spell wickets
NM Lyon 1011 5.92 22.06 0.57 577
R Ashwin 717 6.35 26.08 0.74 532
Overs: {'NM Lyon': 5989, 'R Ashwin': 4551}
Share of wickets that were top-six batters (five or fewer down): NM Lyon 58.1 · R Ashwin 59.8
Dismissal mix (%):
wicket_kind bowled caught caught and bowled lbw stumped
NM Lyon 13.0 63.8 3.3 14.7 5.2
R Ashwin 20.1 52.8 2.6 21.8 2.6
Ashwin was trusted with the ball early: 22.1% of his balls came in the first 20 overs of an innings, against Lyon's 16.0%. In Indian conditions a spinner can open the bowling, or come on in the first hour. Lyon bowled more with the old ball (30.2% in overs 51–80). Ashwin took 0.74 wickets per spell, the highest of the six bowlers in the chapter's reference card, against Lyon's 0.57. Per over, that's 532 / 4,551 = 0.117 wickets for Ashwin and 577 / 5,989 = 0.096 for Lyon.
Their dismissal mixes differ as much as their conditions do. 42% of Ashwin's wickets were bowled or lbw (20.1 + 21.8), against 28% of Lyon's (13.0 + 14.7). On low, slow subcontinental pitches the stumps and pads are in play, and Ashwin attacked them. Lyon's wickets came 63.8% caught, many presumably at bat-pad and slip from bounce and drift on harder surfaces. Cricsheet records the catcher's name, not the fielding position, so "presumably" is the honest word. Both took about 58–60% of their wickets from top-six batters, so neither record is padded with tailenders.
What it means (and doesn't)
It means: - The raw comparison (24.12 against 30.35) is mostly a comparison of conditions. Like for like, Ashwin was clearly better in the subcontinent (21.88 against 27.50) and Lyon clearly better in SENA countries (31.11 against 39.56). - They did different jobs. Ashwin was a strike bowler on turning pitches, a fourth-innings finisher who attacked the stumps. Lyon was a workhorse who held an end on unhelpful home pitches and travelled better than almost anyone. - Both carry the off-spinner's advantage against left-handers, and both exploited it at a better level than the off-spin average.
It doesn't mean: - That one is "the better bowler". Which one you want depends on where you play and what the rest of your attack does. An Australian XI with three fast bowlers needs Lyon's 25-over holding spells. An Indian XI at home needs Ashwin's 0.74 wickets per spell. - That Ashwin "can't bowl in Australia" (42.42 average in 11 Tests, 40 wickets) or Lyon "can't bowl in the UAE" (53.80, 15 wickets). These are small samples in the hardest conditions for each, and both men sit in a group of spinners for whom those places were hard. - Anything about how they spun the ball (revolutions, drift, dip). That needs ball-tracking, which Cricsheet doesn't have.
Discussion questions
- Re-weight both bowlers' records to a common mix of conditions: 50% SENA, 50% subcontinent. Using the averages above, what does each bowler's re-weighted average become? Does the order change?
- Ashwin bowled almost equal numbers of balls to left- and right-handers. List three explanations and say which data you'd need to test each.
- Lyon's biggest workload is the second innings, Ashwin's the first and third. What does that tell you about the team each played in?
- Is "wickets per spell" a fair way to compare a holding spinner with an attacking one? Propose an alternative that credits Lyon's holding role.
- The dismissal mixes differ sharply (bowled+lbw 42% against 28%). How much of that is the bowler and how much the pitch? How could you separate them with the data you have?
Your turn
Pick a left-arm orthodox spinner and a leg-spinner from different countries. Good pairs: Ravindra Jadeja and Keshav Maharaj, or Taijul Islam and Prabath Jayasuriya (Cricsheet name NGRP Jayasuriya). Repeat the four analyses above, with one change: compare each bowler with the baseline for his own bowling style against each batter hand (filter the styles table by bowling_style). Write 300 words on whether the two records differ more because of the bowlers or because of the conditions they bowled in, quoting the sample size of every cell you use.