Exercises — Chapter 19: Expected Runs and the State of the Game
Difficulty: ⭐ conceptual · ⭐⭐ calculation and interpretation · ⭐⭐⭐ code and judgement · ⭐⭐⭐⭐ open-ended research
All numbers below come from the chapter's scripts run on the book's data snapshot (Cricsheet, November 2026). Scripts live in code/; the module is project/crease/states.py. Short answers to Part B are given in <details> blocks; selected answers to other parts are in Appendix I.
Part A — Conceptual ⭐
A1. In your own words, define the state of a limited-overs innings. Why does the chapter leave the current score out of it for a first innings, and why did Chapter 9's chase states include "runs needed"?
A2. The Expected Runs table must obey two shaping rules. State them, and explain in cricket terms why each must be true of the game even if it is false in the raw data.
A3. Explain the difference between the value of a dot ball and the price of a wicket as the chapter defines them. Why is the price of a wicket defined "beyond the dot ball it fell on"?
A4. The chapter says the Markov property is "a modelling assumption, not a fact". Give three things that happened earlier in an innings which could change the probabilities of the next ball, beyond the current (balls, wickets) state.
A5. Why does the plain Markov chain produce a distribution of totals with the right average but too little spread? What is overdispersion, and what does the innings tilt add to the model?
A6. What does "resources remaining" mean? Why is it more stable across eras than expected runs, and why does that matter for rain rules?
A7. A colleague computes xRA for every batter in IPL chases using the first-innings table. Explain, with an example, why the result will mislead.
A8. Why does the chapter recommend borrowing the shape of a large pool's table but taking the level from a thin era? What check would tell you the borrowing was unsafe?
A9. Why must an Expected Runs table be fitted only on complete first innings (all out or every ball bowled)? Give an example of an innings that would bias the table if it were included.
A10. In Test cricket, the chapter found that runs still to come depend on wickets lost but hardly at all on overs bowled. Give two features of Test cricket that make (balls left, wickets left) the wrong state.
Part B — Calculation & Interpretation ⭐⭐
B1. From the men's T20 table: after 10 overs, ER is 99.4 with no wicket down, 95.7 one down, 90.8 two down, 84.1 three down, 76.2 four down, 62.4 five down. (a) What is the price of the 1st, 3rd and 5th wicket at that point? (b) A side is 72 for 3 after ten overs. What is its projected total?
Answer
(a) 1st: 99.4 − 95.7 = 3.7; 3rd: 90.8 − 84.1 = 6.7; 5th: 76.2 − 62.4 = 13.8 runs. (Strictly the chapter's definition uses the state one ball later, but the difference is tiny here.) (b) 72 + 84.1 = 156.1.
B2. In IPL 2023–26 first innings, the linear weights are: six +4.97 (powerplay) and +4.14 (death); wicket −13.87 (powerplay) and −3.95 (death). How many sixes does a powerplay wicket "cost"? How many at the death? What does that ratio imply about batting approach by phase?
Answer
Powerplay: 13.87 / 4.97 ≈ 2.8 sixes. Death: 3.95 / 4.14 ≈ 0.95 — less than one six. Early, a wicket wipes out the value of nearly three sixes, so risk must be rewarded very highly to be worth it; at the death, a single six roughly pays for a wicket, so aggressive approaches that trade wickets for boundaries are favoured.
B3. The women's ODI table (case study 2) has par 228.3. India were 64 for 0 after ten overs with 94.9% of resources left. (a) What total does a pure "resources" calculation project (score + par × resources remaining)? (b) Compare it with the table's projection of 280.7 and explain any difference.
Answer
(a) 64 + 228.3 × 0.949 = 64 + 216.7 = 280.7. (b) They are the same number: resources remaining is defined as ER/par, so par × resources = ER. The resources view and the expected-runs view are one table in two units.
B4. The plain Markov chain's simulated men's T20 totals had standard deviation 31.1; the real totals 38.3. Assume the missing spread comes from an independent innings-level "conditions" effect added to the chain's total. Roughly what standard deviation does that effect need?
Answer
Variances add for independent parts: 38.3² − 31.1² = 1,466.9 − 967.2 = 499.7, so the conditions effect needs a standard deviation of about √500 ≈ 22 runs. (The tilt in the chapter is not literally additive, but this is the right order of magnitude: innings-to-innings conditions are worth about ±22 runs in a typical T20 first innings.)
B5. In the out-of-time test on 71 IPL 2026 first innings, the 2023–25 chain's 80% intervals covered 73.2% of totals. If the intervals were perfectly calibrated, what is the standard error of the observed coverage with n = 71? Is 73.2% evidence of miscalibration?
Answer
SE = √(0.8 × 0.2 / 71) = √0.002254 ≈ 0.047, i.e. 4.7 percentage points. 73.2% is 6.8 points below 80%, about 1.4 standard errors — suggestive of slightly over-confident intervals, but not strong evidence on 71 innings. More seasons would settle it.
B6. Chapter 5's style of regression on 724 men's T20I first innings at ten overs gave a wicket coefficient of −4.4 and a runs-so-far coefficient of 1.36. The table's average price of a wicket on the same innings was 7.4. A side is 70 for 2 after ten overs; another is 70 for 4. By how much does each method say their expected final totals differ?
Answer
Regression: 2 × 4.4 = 8.8 runs. Table: from the T20I table the two states differ by the prices of the 3rd and 4th wickets at that point; using the chapter's average of about 7 per wicket, roughly 13–15 runs (the pool table gives 90.8 − 76.2 = 14.6). The table charges wickets more because it does not let "runs so far" absorb part of the conditions signal that wickets carry.
B7. Heinrich Klaasen's IPL 2023–26 first-innings line: 809 balls, xRA above average +279.7. Rohit Sharma's: 324 balls, −101.2. (a) Compute each per 100 balls. (b) If the standard deviation of a batter's xRA per ball is about 1.6 runs, what is the standard error of each per-100 figure? Are both clearly different from zero?
Answer
(a) Klaasen +34.6 per 100; Rohit −31.2 per 100. (b) SE per 100 balls = 100 × 1.6 / √n: Klaasen 100 × 1.6 / 28.4 ≈ 5.6; Rohit 100 × 1.6 / 18.0 ≈ 8.9. Klaasen is about 6 SEs above zero; Rohit about 3.5 below. Both are clearly non-zero on these assumptions, but Rohit's interval (roughly −49 to −14) is wide — and the per-ball SD is itself an assumption you should check from the data (Exercise C5).
B8. In ODIs, three down, a dot ball costs 0.17 runs at the start of over 11 and 1.56 at the start of over 46. In T20, three down, it costs 0.90 at the start of over 11 and 2.02 at the start of over 20. What does the ratio of late to early dot cost (ODI v T20) tell you about how the two formats should be batted?
Answer
ODI: 1.56 / 0.17 ≈ 9×; T20: 2.02 / 0.90 ≈ 2.2×. In ODIs, early dots are nearly free and late dots expensive — batters can afford to build and accelerate. In T20, dots are expensive throughout, so there is much less room for a "build then accelerate" plan.
B9. Case Study 1: Sunrisers Hyderabad were 205 for 2 after 15 overs. The IPL 2023–26 table projected 269.7 and the pre-2023 table 260.5. (a) What ER does each table give for "30 balls left, 8 wickets in hand"? (b) The chain put P(287+) at 3.51% from that state. What run rate over the last five overs would 287 require, and why is the chain so pessimistic about it even though it is "only" 16.4 an over?
Answer
(a) New table: 269.7 − 205 = 64.7; old table: 260.5 − 205 = 55.5. (b) 82 runs off 30 balls = 16.4 per over, about 2.7 runs a ball. The state expects 64.7, so 287 needs about 17 runs above expectation in five overs. The chain's spread over 30 balls is roughly ±12 runs (its 90th percentile was 280, 17 above the median of 263), so 287 sits more than two "standard deviations" out — rare, though not impossible, and Hyderabad got there.
B10. South Africa's chase in the 2025 Women's World Cup final: after 20 overs, 113 for 2, resources used 33.8% and target made 37.8%; after 30 overs, 150 for 5, resources used 64.9% and target made 50.2%. (a) By how many percentage points were they ahead of, then behind, "schedule"? (b) In those ten overs they used 31.1 points of resources. If the same ten overs had been bowled with no wicket falling, the table says the resources used would have been far fewer. Explain qualitatively where the other points went.
Answer
(a) Ahead by 37.8 − 33.8 = 4.0 points after 20 overs; behind by 64.9 − 50.2 = 14.7 points after 30. (b) Ten overs of an ODI with wickets intact use a moderate slice of resources (India's first two ten-over blocks in the case study used about 5 and 22 points, with one wicket between them); most of the extra came from the three wickets, each of which removes a large block of the innings' remaining value in the middle overs of an ODI, where the price of a wicket is around 15–20 runs (17.1 at 30 overs in the women's table).
B11. In IPL 2023–26 first innings, dot balls made up 25.99% of deliveries and singles 37.99%. Their average run values at the death were −1.60 and −0.72. A death-overs batter turns 10 of every 100 dots he faces into singles, without changing anything else. (a) How many runs per 100 balls does that add? (b) Compare it with turning 3 of every 100 dots into fours (four at the death: +2.16). Which is the more valuable skill, on these numbers?
Answer
(a) Each converted dot gains −0.72 − (−1.60) = 0.88 runs, so 10 conversions add 8.8 runs per 100 balls. (b) Each dot turned into a four gains 2.16 − (−1.60) = 3.76 runs, so 3 conversions add 11.3 runs per 100 balls. On these average values, three extra boundaries beat ten extra singles — but the comparison is close, and the singles route probably carries less wicket risk, which this calculation ignores.
Part C — Code It ⭐⭐–⭐⭐⭐
C1. Build this metric — Expected Runs for The Hundred. ⭐⭐⭐ The Hundred uses 100-ball innings with sets of five or ten. Using load_innings("hnd", n_overs=20) (Cricsheet records The Hundred as 20 five-ball overs a side), build states with n_balls=100 and fit an ERTable(100, backstop="markov") separately for men's and women's matches (use the gender column). Note that MarkovInnings indexes states by six-ball "overs"; explain whether that matters here. Output: par for each, the table at 25/50/75 balls bowled by wickets lost, and a figure of resources remaining against share of balls bowled, compared with T20.
C2. Analyze this match — your own projection worm. ⭐⭐ Pick any first innings from IPL 2026. Using the rescaled IPL 2023–26 table (fit_tables(..., shape_from=pool)), plot score + ER after every ball, mark wickets, and list the five deliveries with the largest positive and negative ball_value. Expected output: a figure like Case Study 1's and a 10-row table (over.ball, batter, bowler, outcome, value).
C3. Evaluate this player — xRA by phase. ⭐⭐⭐ Extend xra_table (in your own script, not the module) to split a batter's xRA by phase (powerplay, middle, death). For the 42 IPL 2023–26 batters with 300+ first-innings balls, which batters gain most of their xRA at the death? Which lose most in the powerplay? Output: a table of the top and bottom five by each phase's xRA per 100 balls, with balls per phase.
C4. Predict this match — calibrate the chain on women's T20. ⭐⭐⭐ Fit MarkovInnings on women's T20 first innings (WOMEN_T20) before 2025, and use fit_tilt to choose a tilt. Then forecast every complete women's first innings of 2025–26 from its 10-over state and report the coverage of the 80% interval and the mean (actual − median). Compare with the IPL result in §19.6.
C5. Build this metric — the per-ball spread of xRA. ⭐⭐ Exercise B7 assumed a per-ball SD of 1.6 runs for xRA. Compute it from the IPL 2023–26 valued deliveries (ball_values output): the SD of ball_value − runs_extras over balls faced. Then recompute the standard errors in B7. Bonus: use the split-half method of Chapter 6 (odd v even matches) to estimate how repeatable xRA per 100 balls is across the 42 batters.
C6. Optimize this strategy — when should a side "take the risk"? ⭐⭐⭐ Using outcome_value and the pool table, write a function risk_break_even(er, u, w, extra_four=0.06) that returns the extra wicket probability per ball at which converting extra_four of dot balls into fours exactly breaks even. Plot the break-even wicket probability for every state from over 1 to 20 at 0, 3 and 6 down. Where is aggression cheapest? (Hint: the gain per ball is extra_four × (value(four) − value(dot)) and the cost is p × (value(wicket ball) − value(dot)); solve gain = cost for p. Expected shape: the break-even rises steeply through the death overs with few wickets down, and is lowest early with the lower order exposed.)
C7. Settle this debate — does the Markov property hold for a new batter? ⭐⭐⭐ Add a feature to the states: balls_since_last_wicket (0 for the first ball after a wicket). Within a fixed state band (say overs 7–15, 2–4 down), compare the outcome probabilities (dot, four, six, wicket) for the first 5 balls after a wicket with the rest. Does the "new batter" effect exist in this data, and how large is it compared with the effect of one more wicket down?
C8. Build this metric — Expected Runs Added for a whole season, both innings. ⭐⭐⭐ The chapter computed xRA on first innings only. Write a script that computes first-innings xRA (rescaled IPL 2023–26 table) and chase WPA (Chapter 9's impact.py, era-matched table) for every IPL 2026 batter, then combines them into a single "value added" by converting runs to wins. Use a simple conversion: estimate how many runs of first-innings total are worth one extra win at par by fitting a logistic regression of match result on first-innings total for IPL 2023–26 matches and taking the slope at 190. Output: the top 15 batters by combined value, with each component shown. Discuss which component dominates for openers and for finishers.
Part D — Judgment & Format Transfer ⭐⭐⭐
D1. A broadcaster wants to show a "projected score" graphic during IPL matches using this chapter's table instead of "current run rate × 20". Write a 150-word note to the producer explaining what the new graphic would show, why it is better, which table it must use for 2027, and the two situations in which it will visibly mislead viewers.
D2. "Expected Runs Added would work for Test batters if we just used a five-day ball budget." Argue against this claim using the chapter's Test evidence, and propose what a Test "state" should contain instead.
D3. Wendell argues that xRA unfairly punishes openers, because powerplay wickets are priced at almost 14 runs while death-over wickets cost about 4. Is he right? Consider what xRA is measuring, and whether an opener's dismissal really costs more than a finisher's.
D4. The IPL 2023–26 table borrows the men's T20 pool's shape. Would it be safe to borrow the men's pool shape for a WPL table? Use the chapter's finding that men's and women's T20 tables differ by 2.2 resource points on average, and say what you would check first.
D5. A franchise analyst proposes paying batters in the 2027 auction partly on their xRA per 100 first-innings balls over IPL 2023–26. Using the chapter's leaderboards and limitations, write the strongest case for the idea and the strongest case against it, in about 100 words each. Which three adjustments would you insist on before the number goes in front of the owners? (Consider sample size, batting position, chase innings and the era table.)
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (With Chapter 6.) The Markov chain shrinks each cell's outcome probabilities towards a coarser cell with a Dirichlet prior of 60 pseudo-deliveries. Using Chapter 6's beta-binomial shrinkage, compute the shrunk wicket probability for "over 3, five down" (12 deliveries, 0 wickets) if the parent cell's wicket rate is 6.2% and the prior strength is 60 (you should recover the chapter's 0.052). Then redo it with prior strength 10 and 200. Which would you choose, and why? What would a prior strength of 10 do to the chain's simulated totals for innings that collapse early?
M2. (With Chapter 9.) Chapter 9's WP v0 and this chapter's ER table were both built by count–smooth–shape. List three differences in what they model and how the shaping rules differ. Then explain how Chapter 20 can turn an ER table plus a chase model into a first-innings win probability.
M3. (With Chapter 14.) Chapter 14 defined Bowling Runs Saved (BRS) from phase baselines and expected wickets. For the IPL 2023–26 first-innings bowlers with 300+ balls, compute both BRS (using crease.bowling) and bowling xRA, and report their correlation. Which bowlers rank very differently, and which metric do you trust more for powerplay specialists?
M4. (With Chapter 5.) Chapter 5 found the cross-format correlation between ODI and T20I strike rates was 0.80 for 76 men. Using xRA per 100 balls computed with each format's own table (men's ODIs and men's T20Is, full members, first innings), is xRA more or less consistent across formats than strike rate? Report the correlation and the number of batters.
M5. (With Chapter 7.) Recreate Figure 19.3 (the ER heat map) using charts.heatmap for the women's T20 pool and the IPL 2023–26 table, side by side, with the same colour scale. Then write the two-sentence caption a broadcast graphics producer would use.
M6. (With Chapters 4 and 8.) Chapter 4 showed that batting average misleads because of not-outs and context; Chapter 8 showed that strike rate needs a phase-adjusted par. Take the 42 IPL 2023–26 batters with 300+ first-innings balls and fit a linear regression of xRA per 100 balls on batting average and strike rate (both standardised). How much of the variation do the two traditional numbers explain together? Which batters have the largest residuals, and what do their innings have in common (entry point, phase mix)? ⭐⭐⭐
Part E — Research & Extension ⭐⭐⭐⭐
E1. League tables. Fit an ERTable for each men's T20 league in the snapshot (BBL, PSL, CPL, SA20, ILT20, MLC, BPL, LPL, Blast, SMAT) since 2020. Compare par, resources at 10 overs (2 down) and the price of a wicket at 10 overs. Which leagues have the most "back-loaded" innings? Write up your findings with figures, honest sample sizes and a note on which tables are too thin to trust.
E2. A batting-order-aware state. Extend the state to (balls left, wickets left, quality of the next batter), where quality is the next batter's career T20 strike rate band (three bands). Re-estimate the Markov chain with this extra dimension (shrinking towards the plain chain) and compare its expected runs for "5 down after 12 overs" with a strong versus a weak next batter. How much of Wendell's objection in §19.6 does it answer? (Chapter 30 will build the full version.)
E3. Women's ODI resources and rain rules. Using the women's ODI table, construct a resource table at every over for 0–9 wickets lost. Compare it with the men's ODI table state by state, as §19.5 did for the IPL eras. Is the shape different enough that a single resource table for both would bias revised targets? In which states, and in which direction?
E4. How much does the pitch matter? The innings tilt in §19.6 treats each innings' scoring environment as random. But some of it is predictable from the venue. Using Chapter 22's venue tools, estimate a venue scoring effect for every IPL ground since 2023, then refit fit_tilt after rescaling each innings' expected runs by its venue effect. How much of the chain's missing spread (31.1 v 38.3 runs in the men's pool; 30.9 v 35.6 in IPL 2023–26) does the venue explain, and how much remains "on the day"? Write up the method, the result, and what a franchise analyst would still need to know before trusting a venue-adjusted projection.