Chapter 18 Exercises — Spin vs. Pace

Difficulty: ⭐ recall and concepts · ⭐⭐ calculation and interpretation · ⭐⭐⭐ analysis and judgment · ⭐⭐⭐⭐ open-ended research.

How to use these exercises. Part A checks that you can explain the chapter's ideas without numbers. Part B asks you to compute with the chapter's real outputs — do them by hand or in a notebook before opening the answers. Part C extends the scripts in code/; each item names the function to start from and the shape of the output to aim for. Parts D and M are where analysts earn their keep: judgment about formats, selection and sample size, and connections to earlier chapters. Part E is open-ended.

All numbers below come from the chapter's scripts (code/*_output.txt) on the book's data snapshot (Cricsheet, November 2026) and the reference table data/reference/player_styles.csv. Unless stated otherwise, "men's T20" means ten franchise leagues plus T20Is between full members, matches from 1 January 2015. Selected answers are in Appendix I.


Part A — Conceptual ⭐

A1. Cricsheet tells you who bowled each ball. Name the two pieces of information this chapter added from the styles table, and explain in one sentence why each was needed.

A2. Explain why the join to the styles table uses gender as well as name. Your answer should mention batting hand, not just bowling style.

A3. Define typed coverage. Why is the spin share of "all men's T20Is since 2015" a misleading number even though it is computed correctly?

Answer sketch

Typed coverage is the share of legal balls whose bowler has a trusted (high- or medium-confidence) style row. For all men's T20Is since 2015 it is only 45.4%: more than half the balls come from associate matches whose bowlers are mostly absent from the table. The "spin share" is then the spin share of the typed minority, which is dominated by full-member matches — a correctly computed answer to a different question. Restricting to full-member T20Is (97.1% typed) answers the question people think they are asking.

A4. For each of the four spin kinds, say whether its stock ball turns into or away from (a) a right-handed batter and (b) a left-handed batter.

A5. In men's Tests since 2015, pace and spin economies are almost identical in every conditions bucket, but their averages are not. Use the identity average = economy × strike rate ÷ 6 to explain why the strike rate carries the conditions signal in Tests.

Answer sketch

If economy is nearly constant across types (3.27 v 3.32 in SENA; 3.21 v 3.18 in the subcontinent), then average ∝ strike rate, and any difference in average must come from how many balls each wicket takes. In SENA spin needs 73.18 balls per wicket against pace's 51.72; in the subcontinent 56.67 against 60.96. Test batters set the tempo; conditions change the chance of a dismissal per ball, which is exactly what the strike rate measures.

A6. "Spin is a containing option in T20." Give one piece of evidence from the chapter that supports this in men's cricket and one that contradicts it in women's cricket.

A7. Why did the simulated "variation" balls in the IPL show exactly the same outcomes as "stock" balls? What does that tell you about using any simulated label to measure a skill?

Answer sketch

In tracking_sim.py the spin "variation" label is drawn with a probability set by a hash of the bowler's name, independently of what happened on the ball. A label independent of the outcome must show no outcome difference (8.14 v 8.19 economy; 5.41 v 5.41 wickets per 120). The general lesson: a simulated column can only "find" relationships that the simulator built in. Use it to practise the method; never to measure the skill.

A8. What does it mean for a spinner to have an excess handedness gap of +10 if he is an off-spinner? If he is a left-arm orthodox bowler?

A9. Give two reasons, other than "captains are wrong", why spin bowls only a third to a half of the balls in men's T20 leagues even though it is cheaper in all of them.

Answer sketch

(1) The wicket trade-off: in all eleven men's competitions spin takes wickets more slowly (in the CPL and MLC only by a quarter of a ball), and some phases (the powerplay against set field restrictions, the death with wickets to take) reward wickets. (2) Selection: spin's cheapness is measured on overs captains chose to give spinners, in conditions and against batters that suited them. (3) Supply: if the player pool has more good seamers than good spinners, the attack reflects the pool.

A10. Explain the difference between a league matchup ("left-handers score 117.16 against off-spin") and a player matchup ("this left-hander scores 95 against off-spin"). Which should be the prior for the other, and why?

Answer sketch

The league matchup pools tens of thousands of balls from hundreds of batters; its standard error is about one strike-rate point. A player's own split often rests on a few dozen or a few hundred balls and is mostly noise. So the league cell — ideally the cell for the player's hand against that kind — is the prior, and the player's record moves the estimate away from it in proportion to his sample (§18.6, batter_vs_kind; Chapter 11 does this hierarchically). Reversing the roles, or using the player's raw split alone, is how "he can't play spin" myths are born.


Part B — Calculation & Interpretation ⭐⭐

B1. In SENA Tests since 2015, spin bowled 99,531 legal balls of 411,821 typed, and took 1,360 of 7,398 typed bowler wickets. (a) Compute spin's share of balls and of wickets. (b) Explain what the gap between them says about how spinners are used in SENA conditions.

Answer

(a) 99,531 / 411,821 = 24.2% of balls; 1,360 / 7,398 = 18.4% of wickets. (b) Spin takes a smaller share of the wickets than of the overs, so spinners are bowling overs for reasons other than wicket-taking — holding an end, resting the seamers, managing the over rate. The cards confirm it: SENA spin average 40.51 against pace 28.20.

B2. In IPL 2024–2026 death overs, pace conceded 16,000 runs from 8,755 balls and took 653 wickets; spin conceded 3,247 from 1,911 and took 138. Compute each type's economy and strike rate, and the runs saved per over by spin.

Answer

Pace economy 6 × 16,000 / 8,755 = 10.97, strike rate 8,755 / 653 = 13.41. Spin economy 6 × 3,247 / 1,911 = 10.19, strike rate 1,911 / 138 = 13.85. Spin saves 0.78 runs per over and takes a wicket about half a ball less often — nearly a free lunch on these league averages, which is why selection (who bowls spin at the death, and when) matters so much in interpreting it.

B3. In men's T20, left-handers score at 117.16 against off-spin (45,267 balls, standard error 0.74) and 139.06 against left-arm orthodox (26,218 balls, standard error 1.05). (a) Compute the gap and its standard error. (b) Is the gap plausibly noise?

Answer

(a) Gap = 117.16 − 139.06 = −21.90. SE ≈ √(0.74² + 1.05²) ≈ 1.28. (b) No — the gap is about 17 standard errors. (The per-ball SE ignores clustering within innings, so the true SE is somewhat larger; the conclusion doesn't change.)

B4. Narine's raw excess handedness gap is +11.85 with standard error 3.14; the true spread of excess gaps among 76 spinners is τ = 6.6. Compute his reliability and shrunk excess. Repeat for Abrar Ahmed (raw +3.52, SE 8.92).

Answer

Narine: reliability = 6.6² / (6.6² + 3.14²) = 43.56 / (43.56 + 9.86) = 0.82; shrunk = 0.82 × 11.85 = 9.72. Abrar: 43.56 / (43.56 + 79.57) = 0.35; shrunk = 0.35 × 3.52 = 1.23. The chapter's printed values match.

B5. At New Chandigarh (IPL 2015–2026) spin conceded 8.28 an over and pace 9.86 from 1,205 spin balls; the league gap is −0.94 and the prior is worth 3,000 spin balls. Compute the raw and shrunk gaps. How many spin balls would a ground need to keep 80% of its distance from the league gap?

Answer

Raw −1.58. Weight = 1,205 / 4,205 = 0.287; shrunk = −0.94 + 0.287 × (−1.58 + 0.94) = −1.12 (the script, working from unrounded values, prints −1.13). To keep 80%: n / (n + 3,000) = 0.8 → n = 12,000 spin balls — nearly twice the Wankhede's 6,885.

B6. Visiting spinners in subcontinent Tests since 2015 averaged 33.78; home spinners 27.04. Visiting seamers averaged 32.51; home seamers 32.64. Express each away penalty as a percentage of the home average, and say which matters more to a touring selector.

Answer

Spin: (33.78 − 27.04) / 27.04 = +24.9%. Pace: (32.51 − 32.64) / 32.64 = −0.4% (no penalty). The spin penalty matters more, because spin also bowls most of the overs in those conditions (65.3% of typed balls). A touring side's spinners face both the biggest workload and the biggest disadvantage.

B7. In the middle overs of men's T20, left-arm orthodox concedes 7.11 against two right-handers and 8.36 against two left-handers. Over a four-over spell, how many runs does bowling him at two left-handers cost? Why might the true cost be larger or smaller than your answer?

Answer

(8.36 − 7.11) × 4 = 5.00 runs. Larger: captains only bowl SLA at two left-handers when they think it will work (2,131 balls only), so the average over in that cell may flatter the matchup. Smaller: some of those overs come late in the middle phase when scoring is faster anyway, or on flat pitches. The cell mixes bowler quality, situation and matchup.

B8. Rashid Khan (franchise leagues only) took 455 wickets in men's T20 since 2015, 51.2% of them bowled or lbw; the league share for leg-spinners is 32.7%. (a) How many of his wickets were bowled or lbw, and how many would a typical leg-spinner with 455 wickets have had? (b) Give two explanations for the difference that do not involve batters misreading him.

Answer

(a) 0.512 × 455 ≈ 233; a typical leg-spinner ≈ 0.327 × 455 ≈ 149 — about 84 more wickets with no fielder involved. (b) He may bowl quicker and flatter than most leg-spinners, skidding the ball on to the stumps; he may bowl a straighter line, attacking the stumps by design; and his googly may be harder to pick (the "misreading" explanation the question excludes). Without tracking data the first two can't be separated from the third.

B9. In IPL 2023–2026, 296 of 434 full-length innings with a typed spinner bowling had a spinner left holding unused overs, 823 unused spin overs in total. (a) What share of those innings is that? (b) What is the average number of unused spin overs per affected innings? (c) Why might "unused overs" overstate how often captains chose to hold a spinner back?

Answer

(a) 296 / 434 = 68.2%. (b) 823 / 296 ≈ 2.8 overs. (c) A spinner can finish with unused overs because the match situation never called for him, because he was being hit, because an Impact Player substitute gave the side an extra bowler, or because of injury — the count mixes deliberate holding with circumstance. (In the other direction, spinner_quota counts a part-over as a whole over, so a bowler who bowled 3.2 overs is recorded as having bowled 4 — a slight undercount of unused overs.)


Part C — Code It ⭐⭐–⭐⭐⭐

C1. Build this metric: coverage by bowler, not by ball. ⭐⭐ Write untyped_bowlers(balls, top=20) that returns the bowlers with no trusted style row, ranked by legal balls bowled, with each one's share of the competition's legal balls. Run it on IPL 2026 and men's T20Is (all) since 2015. Expected output: a DataFrame bowler | legal_balls | share_pct. Which single fix to the reference table would raise IPL 2026 coverage the most?

C2. Analyze this match: a pace/spin match card. ⭐⭐ Write match_type_card(balls, match_id) that prints, for each innings, the balls, runs and wickets of pace and spin, and the spin share. Run it on the Newlands Test (1387604), the Pune Test (1439897) and the 2021 Ahmedabad Test (1243386, third-shortest decided Test in the snapshot). Expected shape: one row per (innings, bowler_type).

C3. Evaluate this player: a SENA spinner fairly. ⭐⭐⭐ Using type_card(..., by=["bowler", "innings"]), build an "innings-mix-adjusted" SENA average for every spinner with at least 3,000 SENA balls since 2015: for each innings, compare his average with the SENA spin average in that innings (53.36 / 41.06 / 39.58 / 28.47), and weight by his balls. Who looks better and who looks worse than his raw average? Expected output: bowler | balls | raw_avg | expected_avg | ratio.

C4. Build this metric: estimate the venue prior from data. ⭐⭐⭐ In §18.9 the prior for venue spin gaps was set at 3,000 spin balls by judgement. Estimate it instead, Chapter 6 style: split each IPL ground's 2015–2026 matches into odd and even match numbers, compute the spin–pace gap in each half, and find the prior worth k that best predicts one half's gap from the other with shrinkage. Expected output: a value of k and a plot of prediction error against k.

C5. Settle this debate: does the away-turn rule hold at the death? ⭐⭐ Extend matchup_matrix(..., rows="turn", cols="bowler_type", extra_by=["phase"]) to men's T20 by phase. Is the away/into strike-rate gap bigger or smaller at the death than in the middle overs? Offer one cricket reason.

C6. Predict this match: a spin-heavy surface. ⭐⭐⭐ For men's Tests since 2015, compute each match's spin share of the first two innings' balls. Fit a logistic model of "the side batting fourth won" on that share plus the conditions bucket. Does a spin-heavy first half predict a harder fourth-innings chase? Report the coefficient with a confidence interval and the number of matches.

C7. Optimize this strategy: an off-spinner's batting-order target. ⭐⭐⭐ For a chosen off-spinner, use batter_vs_kind in reverse — compute, for each batter in an opponent's likely top seven (pick a real IPL 2026 side), the shrunk strike rate against off-spin. Rank the order of batters he should most want to bowl to. Expected output: a seven-row table with raw and shrunk SR and balls.

C8. Build this metric: a "turn-aware" bowling card. ⭐⭐ Write turn_card(balls, bowler) that splits a spinner's record into balls to batters he turns the ball away from and into, using turn_direction, and reports economy, dot % and balls per bowler wicket for each. Run it for Ravindra Jadeja and Ravichandran Ashwin in men's Tests since 2015 and in the IPL. Expected shape: two rows per bowler per competition. Does the away/into gap look bigger in Tests or in the IPL for each of them?

Hints for Part C. Every function you need is in crease.bowling_types. Start from bt.load_typed(...); print bt.coverage(...) before any result; pin players by bowler_id/batter_id when combining competitions (cricdata.primary_id gives the id with most balls under a name); and when you rank players, shrink first. Save every figure with charts.save so it matches the book's style.


Part D — Judgment & Format Transfer ⭐⭐⭐

D1. The chapter shows that economy separates pace from spin in T20 but not in Tests, while average does the opposite. A colleague wants a single "type effectiveness index" for all formats. Argue for or against, and propose what you would build instead.

D2. The turn-away effect is about 9 strike-rate points in men's T20, 5 in ODIs and 7.5 in Tests. A commentator says, "So it matters most in T20." Is the comparison fair? (Hint: express each gap as a percentage of the format's spin strike rate — for example, in men's Tests away-turning spin conceded 49.74 and into-turning 57.28, so the gap is about 13% of the into rate; in men's T20 it is 8.82 of 130.29, about 7%. Then ask which format's batters are actually trying to score off every ball.)

D3. Wendell's rule is "two left-handers, bring on the off-spinner". The data says the bigger effect is keeping the left-arm orthodox bowler away from left-handers. Write a 150-word note to a coach that respects the eye test, uses the numbers, and names what the data cannot see (fields, over rates, the particular bowler's form).

D4. Would the venue spin index work for Test grounds? Think about what "gap" would mean when economy is flat, which metric you would use instead, and how many Tests a ground needs before its number means anything.

D5. A franchise scout says: "Our new leg-spinner is a mystery bowler — nobody can pick his googly." The analyst replies: "Then his bowled-plus-lbw share should be high and his handedness gap should be small." Is the analyst's test fair? Using §18.7's findings (Hasaranga and Tahir match the mystery spinners on the first fingerprint; Varun and Abrar look like ordinary leg-spinners on the second), say what each test can and can't detect, and what real tracking data would add.

D6. The spin–pace economy gap in T20Is is −1.06 in the subcontinent and −0.60 in SENA (full members, since 2015). A pundit says "so spinners are twice as valuable in Asia". Identify at least two things wrong with the inference, and rewrite the claim so that it is defensible.


Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐

M1. (Chapters 4 and 18) ⭐⭐ Chapter 4 found a Simpson's paradox in bowling economy: Bumrah cheaper than Ashwin in every IPL phase but dearer overall. Could a similar paradox appear in a pace-versus-spin comparison across phases? Using the IPL 2015–2022 table in §18.4, check whether spin's overall economy advantage is larger or smaller than its phase-by-phase advantages, and explain why.

M2. (Chapters 6 and 18) ⭐⭐⭐ batter_vs_kind uses a strike-rate prior worth 150 balls and a dismissal prior worth 900 balls. Using Chapter 6's balls-to-half-signal estimates (~98 for SR, ~554 for dismissal rate), argue whether these priors are too strong, too weak or about right for a matchup (where the relevant variance between batters may be smaller than for overall SR).

M3. (Chapters 11 and 18) ⭐⭐⭐ Chapter 11 settles the book's Anchor D matchup. Take that batter and run batter_vs_kind and turn_direction on him. Is his weakness consistent with the league's turn-direction rule, or is it idiosyncratic? What does that imply for how much to shrink it?

M4. (Chapters 14 and 18) ⭐⭐⭐ Chapter 14 built an expected-wickets (xW) model from outcome-only context. Add bowl_kind and turn (for the striker) as features. Do they improve the model's log-loss on held-out matches? Which way does the away-turn coefficient point in T20, and does that match §18.6's finding that away-turn doesn't raise the T20 dismissal rate?

M5. (Chapters 16 and 18) ⭐⭐ Chapter 16 profiled run rate and balls per wicket by ball age in Tests. Split that profile by bowler type in SENA and subcontinent conditions. Where does spin's share of the bowling rise fastest as the ball ages, and does its average fall with it?

M6. (Chapters 7 and 18) ⭐⭐ Chapter 7 set the book's chart conventions (Okabe–Ito comparison palette, colour never the only cue, grey "n/a" for suppressed cells). Redraw Figure 18.7 (the handedness heat map) as a diverging map centred on each row's strike rate against right-arm pace, so each cell shows how much slower or faster that hand scores against each kind relative to pace. Which version tells the turn-away story more clearly, and why?

M7. (Chapters 9 and 18) ⭐⭐⭐ Chapter 9 built win-probability v0 and Expected Runs. Use its expected-runs table to convert §18.4's middle-overs economy gap (spin 8.62 v pace 9.35, IPL 2024–2026) and strike-rate gap (23.12 v 21.03) into a single number: expected net runs gained per four-over spell by choosing spin. Does the wicket cost change the conclusion of the 🔄 box in §18.4?


Part E — Research & Extension ⭐⭐⭐⭐

E1. The women's game, properly. Repeat §18.2–18.4 for women's ODIs (95.4% typed since 2015) by conditions and phase. Does the Test-style crossover (spin dearer per wicket in SENA, cheaper in Asia) appear in women's ODIs? Write a two-page note with at least two figures, reporting coverage for every number.

E2. The Hundred. The Hundred is ball-based (phases by balls 1–25, 26–75, 76–100) and has men's and women's competitions under the same rules. Use load_typed("hnd") and split by gender. Compare spin share and the spin–pace gap between men and women in the same tournament, and discuss what the identical format lets you conclude that a T20-v-WPL comparison could not.

E3. Extend the reference table. The styles table misses many bowlers in the Syed Mushtaq Ali Trophy (28.6% typed) and associate T20Is (men's T20Is overall 45.4%). Design — don't fabricate — a process to add styles for the 100 untyped bowlers with the most balls, from public sources, with a confidence grade and a note on how you matched identities (Cricsheet registry id → ESPNcricinfo id). Then estimate how much each chapter-level conclusion could move once those bowlers are typed (bound the spin share using the extremes "all untyped are pace" and "all untyped are spin").