Chapter 4 Exercises — Why Traditional Cricket Statistics Lie
Difficulty: ⭐ recall and explanation · ⭐⭐ calculation and interpretation · ⭐⭐⭐ code, judgment and transfer · ⭐⭐⭐⭐ open-ended research
All numbers quoted below come from the chapter's scripts run on the book's data snapshot (Cricsheet, through November 2026). Short answers to Part B are given in the collapsible blocks; selected answers to other parts are in Appendix I.
Part A — Conceptual ⭐
A1. State the denominator of each of these: batting average, strike rate, runs per innings, economy, bowling average, bowling strike rate. For each, name one thing the denominator ignores.
A2. Explain in your own words why a batter who is frequently not out has a batting average higher than his runs per innings. Why does the size of the gap depend only on his not-out rate?
A3. The chapter calls batting average "closest to useful in Tests and very weak in T20." Give the cricketing reason in two or three sentences, using the idea of which resource — balls or wickets — is scarce in each format.
A4. What is selection on the outcome? Give a cricket example other than "average in wins vs losses."
A5. Define par as used in "runs above par" and "economy vs par." Why does the chapter use season and phase rather than phase alone?
A6. In your own words, explain how Bumrah can be cheaper than Ashwin in every phase of an IPL innings and yet have a higher overall economy. Use the phrase "weighted average."
A7. Give two reasons a bowler's career economy might flatter her that have nothing to do with how well she bowled.
A8. The chapter estimates a "working price of a wicket" of about 6 runs at halfway in an IPL first innings and about 15.6 runs at 30 overs in an ODI. Why is the ODI price higher?
A9. Why does the chapter say that "runs per innings over-corrects" for a finisher? What information would you need to correct properly?
A10. Wendell says, "A not-out at the death isn't a free gift from the scorers." Name one way in which he is right and one way in which the batting average still misleads about a finisher.
Part B — Calculation & Interpretation ⭐⭐
B1. David Miller's IPL record in the data: 145 innings, 3,288 runs, 92 outs. Compute his not-outs, not-out %, average, runs per innings and average inflation. Check your inflation figure with the formula 1 ÷ (1 − not-out rate).
Answer
Not-outs = 145 − 92 = 53. Not-out % = 53/145 = 36.55%. Average = 3,288/92 = 35.74. Runs per innings = 3,288/145 = 22.68. Inflation = 35.74/22.68 = 1.58; by the formula, 1/(1 − 0.3655) = 1.58. These match the chapter's table.
B2. In the women's ODI data, Mithali Raj averages 57.82 with a not-out rate of 27.14%, and Ellyse Perry averages 57.61 with a not-out rate of 35.58%. Without looking at the table, estimate each player's runs per innings from these two numbers alone. Which is higher, and by roughly how much?
Answer
Runs per innings = average × (1 − not-out rate). Raj: 57.82 × 0.7286 ≈ 42.13. Perry: 57.61 × 0.6442 ≈ 37.11 (the table gives 37.12 from unrounded inputs). Raj scores about 5 more runs per innings despite almost identical averages.
B3. Andre Russell faced 1,522 IPL balls and scored 2,651 runs; his par runs were 2,191.8. Jacques Kallis faced 2,222 balls and scored 2,427 runs; his par runs were 2,645.9. Compute each player's runs above par and runs above par per 100 balls. What would the gap between them be if both had faced 2,000 balls at those rates?
Answer
Russell: 2,651 − 2,191.8 = +459.2; per 100 balls = 459.2/15.22 = +30.2. Kallis: 2,427 − 2,645.9 = −218.9; per 100 balls = −218.9/22.22 = −9.9. Over 2,000 balls: Russell +603, Kallis −197 — a gap of about 800 runs at equal batting time, despite averages of 28.20 and 28.55.
B4. Rohit Sharma's ODI record in the data: 8,243 runs and 141 outs in matches India won; 3,349 runs and 93 outs in matches India lost. (a) Confirm the two averages. (b) The median ratio of "average in wins" to "average in losses" across 103 ODI batters is 1.74. Is Rohit's ratio above or below the median? (c) What does that tell you about the claim "Rohit is a front-runner"?
Answer
(a) 8,243/141 = 58.46; 3,349/93 = 36.01. (b) 58.46/36.01 = 1.62, below the median of 1.74 (he ranks 36th of 103 by gap). (c) His split is ordinary — slightly less extreme than the typical batter's. The split is a property of conditioning on the result, not of his temperament.
B5. India's ODI win % in innings where Rohit scored 0–9 was 54.4% (68 innings), and in innings where he scored 100+ it was 76.5% (34 innings). India's overall win % in those 267 innings was 64.0%. Explain why this table is a better guide to Rohit's influence than the wins/losses averages, and name one reason it still isn't a causal estimate.
Answer
It conditions on his score (a cause) rather than on the result (a consequence), so the result isn't built into the grouping. It isn't causal because his good days may coincide with good batting conditions or weaker opponents, which help India win regardless of his runs — the table shows association, not effect.
B6. Bumrah's IPL phase economies are 6.94 (powerplay), 6.58 (middle) and 8.19 (death), with phase shares 34.9%, 25.9% and 39.2%. Ashwin's are 7.09, 7.03 and 8.24, with shares 26.6%, 60.7% and 12.8%. (a) Recompute both overall economies as weighted averages. (b) What would Ashwin's overall economy be if he had bowled with Bumrah's phase shares?
Answer
(a) Bumrah: 0.349×6.94 + 0.259×6.58 + 0.392×8.19 ≈ 2.42 + 1.70 + 3.21 = 7.34. Ashwin: 0.266×7.09 + 0.607×7.03 + 0.128×8.24 ≈ 1.89 + 4.27 + 1.05 = 7.21 (7.20 in the table, from unrounded shares). (b) 0.349×7.09 + 0.259×7.03 + 0.392×8.24 ≈ 2.47 + 1.82 + 3.23 = 7.52 — dearer than Bumrah's 7.34. With the same mix, the comparison flips back.
B7. Per four overs in the IPL, Rabada concedes 35.19 runs and takes 1.55 wickets; Ashwin concedes 28.80 and takes 0.95. (a) At what price per wicket (in runs) would the two be exactly equal? (b) Compare that break-even price with the chapter's working T20 price at halfway (6.0) and its ODI price at 30 overs (15.6). What do you conclude?
Answer
(a) Extra runs 6.39 ÷ extra wickets 0.60 ≈ 10.7 runs per wicket. (b) It sits between the two: at the T20 halfway price (6.0) Ashwin's cheapness wins; at an ODI-style price (15.6) Rabada's wickets would win. In T20 the answer depends on when the wickets fall — at the price of a wicket in a collapse (13 runs from four to five down) Rabada would come out ahead. Economy alone can't decide it.
B8. In IPL 2023–2026, Matheesha Pathirana's economy was 8.73 and his venue par economy 9.01; Mohammed Siraj's were 8.79 and 9.46. Who was better relative to venue par, and by how much? Why did their raw economies suggest they were almost equal?
Answer
Pathirana: 8.73 − 9.01 = −0.28. Siraj: 8.79 − 9.46 = −0.67. Siraj was 0.39 runs per over better against venue par. Raw economies were almost equal because Pathirana bowled 53.2% of his balls at Chepauk and Ekana, the two cheapest grounds, while Siraj bowled 8.5% there and most of his overs at higher-scoring grounds.
Part C — Code It ⭐⭐–⭐⭐⭐
Each task extends one of the chapter's scripts. Run from the chapter directory and paste your real output into your answer.
C1. Build this metric — not-out discount in Tests. ⭐⭐ Modify code/01_not_out_inflation.py to run on tests_male with min_innings=100. Print the ten highest not-out percentages and the ten highest averages with their runs per innings and inflation. Expected shape: two tables of 10 rows with the same columns as the IPL table. Question: is the not-out discount bigger or smaller in Tests than in the IPL, and which kinds of batters top the not-out list?
Hint: Test innings are long, so most top-order batters are dismissed in nearly every innings; the not-out list will be dominated by lower-order batters and tail-enders who are left stranded. Compare the median not-out rate for Test batters with 100+ innings with the IPL median of 16.7% and the ODI median of 12.9%. If your Test median is lower, explain why in terms of how innings end in each format (all out vs overs exhausted).
C2. Evaluate this player — runs above par by season. ⭐⭐ Using tr.runs_above_par(balls, by=["batter", "year"]) from crease.traditional, produce a season-by-season runs-above-par table for Virat Kohli and Suryakumar Yadav in the IPL. Expected shape: one row per (batter, season) with runs, balls, par runs, runs above par and per-100. Plot both players' per-100 values by season on one chart. Which seasons drive the difference between their career numbers?
Hint: runs_above_par groups by whatever you pass as by, but par is still computed from the whole table by season and phase, which is what you want. Filter the result with .loc[["V Kohli", "SA Yadav"]] and reset the index before plotting. Mark seasons with fewer than 150 balls faced with a different marker — a 60-ball season can swing by 30 runs per 100 balls on a couple of good innings.
C3. Settle this debate — is Simpson's paradox common? ⭐⭐⭐ Script 04 finds 40 ordered IPL pairs in which one bowler is cheaper in every phase but dearer overall. Adapt the search to (a) men's T20Is (all teams) and (b) the WPL plus women's T20Is combined. Use the same 90-balls-per-phase threshold. Expected output: the number of eligible bowlers, the number of paradox pairs, and the six pairs with the biggest overall gap for each competition. Is the paradox more or less common than in the IPL, and why might that be?
Hint: Reuse the search loop from code/04_economy_and_phase.py but wrap it in a function that takes a deliveries table. For (b), concatenate load_deliveries("wpl") and load_deliveries("t20s_female") with pd.concat(..., ignore_index=True). Remember to compare like with like: the number of pairs grows roughly with the square of the number of eligible bowlers, so report pairs as a share of all ordered pairs as well as a count.
C4. Build this metric — venue index for another league. ⭐⭐ Apply tr.venue_index() to the Big Bash League (bbl) for seasons from 2020, with min_matches=10. Then run tr.economy_vs_venue_par() on the same balls with min_balls=500. Expected shape: a venue table sorted by index and a bowler table with economy, venue par economy and the difference. Which ground is the most bowler-friendly, and which bowler moves most?
Hint: The BBL is played at fewer grounds than the IPL and each franchise has a home ground, so a bowler's venue mix is more concentrated. Expect bigger moves than the IPL's ±6 places. Filter seasons with the match start_date, not the season label, because BBL seasons span two calendar years (December–January).
C5. Analyze this match — par for a single innings. ⭐⭐⭐ Pick one real IPL 2026 match (use load_matches("ipl") to find a match_id). For each batter in the first innings, compute runs, balls and runs above par using season-and-phase par from the whole 2026 season. Expected shape: a small table with one row per batter. Write two sentences on whether the scorecard's top scorer was also the most valuable batter by par, and one sentence on what par still misses about that innings.
Hint: Compute the season par first from all 2026 IPL balls (wides excluded), then filter to your match and join. Par will miss the match situation (for example, a batter told to bat through after early wickets), the bowlers faced, and the ground — the 2026 par is a league-wide average.
C6. Predict this match — does the price of a wicket change with era? ⭐⭐⭐ Extend code/05_economy_ignores_wickets.py to compute the "runs added after over 10 by wickets down" table separately for IPL 2015–2019 and 2023–2026. Expected shape: two tables like the chapter's, plus the working price for each period. Has the impact-player era made wickets cheaper or dearer at halfway? Offer one cricketing explanation for what you find, and note the sample sizes.
Hint: Keep the innings >= 20 filter in remaining_runs_table, and expect the 2023–2026 table to have fewer rows. If a row disappears in one era, compute the working price only from the wicket counts present in both. Note that higher scoring alone doesn't settle it: if every side adds more runs after halfway, the difference between two and three down could stay the same.
C7. Optimize this strategy — choose a death bowler. ⭐⭐⭐ Restrict IPL 2024–2026 balls to the death phase. For bowlers with at least 240 death balls, compute economy vs a season-only par (keys=("year",)) and wickets per four overs. Produce a scatter of the two and identify the three bowlers you would want for the last five overs. Justify your choice using the working price of a wicket from Section 4.7 — and say why that price may be too low at the death.
Hint: At the death the batters at the crease are usually set and the incoming batters are often lower-order hitters, so the runs lost per wicket can differ from the halfway estimate — and a wicket also brings a new batter who needs a ball or two to get going. Script 05 shows the after-15-overs price (3.8 runs) is lower than the halfway price; think about whether that is because wickets matter less, or because fewer balls remain for the loss to show up in.
Part D — Judgment & Format Transfer ⭐⭐⭐
D1. Would runs above par work in Tests? In a Test, a batter who scores slowly may be doing exactly what the match needs. Explain what "par" would have to mean in Test cricket for a runs-above-par measure to be useful. Would you build it around runs per ball, balls per dismissal, or something else? Use Pujara's Test numbers from the chapter (strike rate 44.29, 98.60 balls per dismissal) in your argument. Consider what a Test captain actually wants from a number-three batter on day one compared with day four of a run chase, and whether a single par could ever serve both.
D2. Eye test versus data: the "big-match player." A commentator says, "He's a big-game player — look at his average in knockouts." Using the logic of Section 4.4, write a 200-word response that (a) explains what the knockout average can and can't show, (b) names the sample-size problem (knockout matches are few), and (c) proposes a better test. Then give Wendell's likely reply in two sentences — what might a coach see that this test misses?
D3. Economy in Tests. The chapter says economy is "weak alone in Tests." Bumrah's Test economy in the data is 2.77 and Mitchell Starc's 3.43, but their bowling averages are 19.79 and 25.97. Argue for and against using economy to compare Test bowlers, and say which situations in a Test (a declaration chase, a day-five rearguard) might make economy more relevant.
D4. Transfer to The Hundred. The Hundred uses 100-ball innings with phases defined by balls (1–25, 26–75, 76–100). Which of this chapter's four lies would you expect to be strongest in The Hundred, and what single change would you make to the par calculations in crease.traditional to apply them there? (Think about what the phase column means in The Hundred and whether year alone is a sensible second key for a competition that began in 2021.)
D5. When the traditional number is right. Choose one traditional statistic and describe a situation in which it is the right number to use, with no adjustment. Defend your choice against the strongest objection from this chapter. A good answer names the format, the role and the decision being made — for example, choosing between two Test openers for a tour, where dismissals are the scarce resource and the two players' not-out rates are similar.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (with Chapter 1) Chapter 1 told the true story of Kohli and Suryakumar: Kohli's career death strike rate (188.38) is higher than Suryakumar's (178.21), but Suryakumar's middle-overs strike rate (144.14) is far higher than Kohli's (125.80). Using runs_above_par restricted to each phase, put those four strike rates against par. Does par change the Chapter 1 story? Explain why it might, given when each player's balls were faced. Hint: filter to one phase at a time and pass keys=("year",), since phase is then fixed. Suryakumar's IPL career began later than Kohli's, so a larger share of his balls came in the high-scoring seasons, where par is higher; that can shrink a raw-strike-rate advantage. Report balls faced in each phase so a reader can judge how much each number can be trusted.
M2. (with Chapter 2) The toolkit's definitions in Chapter 2 exclude wides from balls faced and exclude retired hurt from outs. Rerun the not-out table for the IPL with a modified definition that counts retired hurt as an out. How many batters' averages change, and by how much? Which of the chapter's conclusions, if any, would change?
M3. (with Chapter 3) Chapter 3 used pivot_table to build batter × phase tables. Rebuild the Bumrah–Ashwin phase comparison from Section 4.6 using a single pivot_table call on the IPL deliveries (values: runs conceded and legal balls; index: bowler; columns: phase), then compute economy from the pivoted table. Confirm you get 6.94 / 6.58 / 8.19 and 7.09 / 7.03 / 8.24.
M4. (with Chapters 2 and 3) Build a "traditional vs adjusted" leaderboard for the WPL (wpl): batting average and runs above par for batters with at least 300 balls; economy and economy vs par for bowlers with at least 300 legal balls. Present each as a table with both ranks, and identify the biggest mover in each. Note the sample sizes honestly — the WPL began in 2023.
M5. (preview of Chapter 6) Kallis and Russell have nearly identical averages over 85 and 94 dismissals. How confident should we be that their true averages are similar? Using the idea that each dismissal ends one "trial," estimate a rough range for each player's average by resampling their innings (a bootstrap: draw innings with replacement 1,000 times and recompute the average each time). Report the middle 90% of each distribution. Chapter 6 formalises this.
M6. (with Section 4.8 and Chapter 5's preview) Test batting averages at home and away differ hugely for some players (Williamson 65.77 vs 40.95; Brook 43.30 vs 67.07). Using the toolkit's conditions column, split one of these players' away record into SENA, Subcontinent and other conditions. Does "away" hide a further Simpson-style mix? Report innings counts beside every average. If one condition bucket has fewer than about 15 innings, say so and treat its average as a rough indication only.
Part E — Research & Extension ⭐⭐⭐⭐
E1. A full "four lies" audit of one league. Choose a league other than the IPL — the PSL, BBL, CPL, SA20, The Hundred, the WBBL or the WPL. For that league, find and document one real example of each of the four lies (wrong denominator, missing dimension, conditioning on the outcome, mixing unlike things), with code and output. Write a 1,500-word report in the style of this chapter, including at least four figures. Where samples are small, say so.
E2. Opposition strength in men's T20Is. Case Study 2 showed that the opposition mix dominates women's T20I economy. Repeat the analysis for men's T20Is, where the archive includes many matches between associate nations. Define at least two levels of opposition, rebuild the "most economical bowler" list three ways, and compare the size of the opposition effect with the women's game. Discuss what this means for comparing players from associate nations who are picked up by franchise leagues.
E3. A better finisher metric. Using only ball-by-ball data, design a metric for finishers that avoids both the inflation of batting average and the over-correction of runs per innings. Ideas: compare each innings with the par for the balls remaining when the batter arrived; or measure how often a chase was completed when he was at the crease at a given required rate. Apply it to at least five IPL finishers, report sample sizes, and compare your ranking with average and with runs above par. Discuss what your metric still cannot see.
Deliverable guidance for Part E: each project should include (1) a short statement of the question in cricket terms; (2) the code, runnable from a chapter-style code/ folder with the standard header; (3) the real output pasted beneath each step; (4) at least one figure with a written description for readers who cannot see it; (5) a limitations section that names the sample sizes and the omissions of Cricsheet data (no line and length, no batting-position labels, no fielding positions); and (6) one paragraph on what a coach or captain would say about your result — the eye test the data can't replace.