Chapter 24 Exercises — Match Outcome Prediction
Difficulty: ⭐ conceptual · ⭐⭐ calculation and interpretation · ⭐⭐⭐ code and judgment ·
⭐⭐⭐⭐ research and extension. Every number given below comes from the chapter's real outputs
(Cricsheet snapshot, November 2026). Answers to Part B are in the <details> blocks; selected answers
to other parts are in Appendix I.
Part A — Conceptual ⭐
A1. In one sentence each, define accuracy, Brier score and log loss for a pre-match forecast. Which of the three are proper scoring rules, and why does that matter to someone choosing how confident to be?
A2. A pre-match forecast must use only information known "before the first ball". Classify each item as allowed at the toss, allowed only for a forecast made days earlier, or not allowed: (a) the venue; (b) the announced XI; (c) the toss decision; (d) the batting order actually used; (e) last season's Elo; (f) the number of wides bowled in the match; (g) the Impact Player substitute who was actually used.
A3. Explain why Elo's forecasts are "walk-forward" and why that makes it honest to score them against results. What single line of code would break this property if you moved it?
A4. K is the Elo learning rate. Describe what happens to a team's rating series with K = 5 and with K = 100 in a league where strength barely changes from season to season.
A5. Why does Elo need a separate draw model for Tests? Why is "a draw counts as half a win" fine for updating ratings but not enough for forecasting?
A6. The ICC rankings are a points-average system, not Elo. Describe one structural difference between them that would make the two tables disagree in May, even if no match was played that week.
A7. The chapter's models are "symmetrised": every training match appears from both sides. What problem does this solve? What could a model learn from the order Cricsheet lists the teams if it were not symmetrised?
A8. What is the "oracle ceiling" of 24.9? State two assumptions behind it, and say whether each assumption makes the computed ceiling too high or too low.
A9. Wendell says the team sheet "tells you who's fit enough to play" but not much else. Name two kinds of pre-match information a coach has that Cricsheet does not, and say how you might add one of them to a model without fooling yourself.
A10. Why is it a mistake to call a forecast "wrong" because the 85% favourite lost one match? What would show that the 85% was wrong?
Part B — Calculation & Interpretation ⭐⭐
B1. Two sides are rated 1640 and 1560 at a neutral venue. (a) Compute the Elo probability that the higher-rated side wins. (b) If the higher-rated side is at home with a home bonus of 75 points, recompute it. (c) The lower-rated side wins. With K = 30 and the home bonus applied, how many points does each side move?
Answer
(a) Gap 80 → P = 1/(1 + 10^(−0.2)) = 1/(1 + 0.631) = 0.613. (b) Gap 155 → P = 1/(1 + 10^(−0.3875)) = 1/(1 + 0.410) = 0.709. (c) Surprise = 0 − 0.709 = −0.709; change = 30 × 0.709 ≈ 21.3 points. The home side drops to about 1618.7 and the visitors rise to about 1581.3.
B2. From the chapter: in 2023–26 the IPL Elo favourite won 47.6% of 286 decided matches, with log loss 0.7085. (a) Compute a 95% interval for the hit rate (normal approximation). (b) Does it include 50%? (c) Is the log loss better or worse than a coin, and by how much?
Answer
(a) SE = √(0.476 × 0.524 / 286) = 0.0295; interval 0.476 ± 0.058 → 41.8% to 53.4%. (b) Yes. The favourite's under-performance is consistent with a coin. (c) Worse, by 0.7085 − 0.6931 = 0.0154.
B3. Women's T20I Elo forecasts between 0.7 and 0.8 averaged 0.754, and those favourites won 58.5% of 65 matches. (a) How many wins did the forecasts imply, and how many happened? (b) Is the shortfall outside what chance would produce? (Use a binomial SD.)
Answer
(a) Implied 0.754 × 65 ≈ 49.0 wins; observed 0.585 × 65 ≈ 38. (b) SD = √(65 × 0.754 × 0.246) ≈ 3.47; the shortfall of 11 is about 3.2 SDs, which is unusual for one band. But we looked at ten bands and found this one afterwards, so the evidence is weaker than "3 SD" suggests. Watch it on new data before you change anything.
B4. The WTC final 2025: Australia 1801, South Africa 1682, neutral venue, P(draw) = 0.139. (a) Compute the three-way forecast. (b) South Africa won. Compute the three-way log loss and the RPS for this one match.
Answer
(a) Two-way P(Aus) = 0.665 → (0.573, 0.139, 0.288). (b) Log loss = −ln(0.288) = 1.245. RPS with order (Aus, draw, SA) and outcome (0, 0, 1): cumulative forecast (0.573, 0.712), cumulative outcome (0, 0) → RPS = ½(0.573² + 0.712²) = ½(0.328 + 0.507) = 0.418.
B5. The pooled T20 logit has coefficients 0.0054 per Elo point, 0.0206 per run of batting strength and 0.0204 per run of bowling strength (log-odds). (a) How many Elo points is one run of team-sheet strength worth? (b) Two sides are level on Elo, but one has a 15-run team-sheet advantage (split evenly between batting and bowling). What does the model give it?
Answer
(a) 0.0205 / 0.0054 ≈ 3.8 Elo points per run. (b) Log-odds ≈ 15 × 0.0205 = 0.31 → P = 1/(1 + e^(−0.31)) ≈ 0.577.
B6. From 24.9: the IPL's observed SD of team-season win % is 0.137 and the luck share 0.916. (a) Compute σ_true. (b) Two teams one σ_true above and below 0.5 meet. Using log5, what is the stronger side's probability? (c) Explain why this caps any model near 54%.
Answer
(a) σ²_true = 0.137² × (1 − 0.916) = 0.01877 × 0.084 ≈ 0.00158 → σ_true ≈ 0.040. (b) 0.54 v 0.46: log5 P = (0.54 × 0.54)/(0.54 × 0.54 + 0.46 × 0.46) = 0.2916/(0.2916 + 0.2116) ≈ 0.580. (c) That is an unusually wide gap (two σ apart); a typical pair is much closer, and the oracle's average accuracy over all pairings comes out at 54.3%.
B7. Bumrah's 2026 rating is 0.233 runs saved per legal ball. A newcomer replacement bowler is worth −0.028. (a) Over a full four-over spell, how many runs is the difference worth? (b) Using B5's coefficient, roughly how much does replacing Bumrah with a newcomer move a level match?
Answer
(a) (0.233 + 0.028) × 24 ≈ 6.3 runs. (b) The model weights bowlers by their usual share of the overs, so roughly 6.3 runs of bowling strength × 0.0204 ≈ 0.128 log-odds → from 0.500 to about 0.532, a swing of about 3 points.
B8. Two models score 0.6760 and 0.6776 in log loss on 2,185 test matches, and the paired bootstrap interval for the difference is −0.0042 to +0.0011. Write a two-sentence conclusion for a coach.
Answer
"On four seasons of matches neither model saw, adding the team-sheet ratings to Elo did not make forecasts measurably better. The gain is smaller than the year-to-year noise, so we'll keep the simpler Elo-based number and keep testing the richer one."
Part C — Code It ⭐⭐–⭐⭐⭐
Every task below starts from the chapter's scripts and crease.match_model. Keep the chapter's rule:
every choice is made on years before the test period. If you change a setting after seeing the
2023–26 score, say so and treat the score as optimistic.
C1. Predict this match — build your own knockout table. ⭐⭐ Extend code/09_worked_finals.py
with the two semi-finals of the 2026 men's T20 World Cup (ids 1512771, South Africa v New Zealand at
Eden Gardens, and 1512772, India v England at the Wankhede). Price each the day before with
build_predictor("t20s_male", <match date>, elo=dict(k=20, home_adv=25, season_regress=0.0),
full_members_only=True, model=fit_pooled_t20(<match date>)), passing the announced XIs from
crease.fielding.load_xis("t20s_male").
Expected output: one row per semi-final with both Elo ratings, P(team1) with and without the team sheets, the winner, and a final line with the log loss of all eight knockout forecasts (the six finals of 24.10 plus your two semi-finals). What to look for: with eight matches, how wide would a 90% interval for that log loss be? Bootstrap it.
C2. Build this metric — margin-aware Elo. ⭐⭐⭐ Copy elo_history into your own script and multiply
the update by a factor that grows with the margin of victory, for example m = 1 + ln(1 + runs/20) for
a win by runs and m = 1 + ln(1 + wickets/2) for a win by wickets. (Leave ties and no-results at m = 1;
ignore DLS games or treat them as m = 1.) Tune K and the home bonus on 2009–2022 men's full-member ODIs
exactly as 24.2 does, then test on 2023–26.
Expected output: a two-row table (plain Elo, margin Elo) with K, home bonus, accuracy, Brier and log loss, plus a paired bootstrap 90% interval for the log-loss difference. What to look for: a big win carries more information than a narrow one, which is why chess-style Elo variants in other sports often add a margin term. Does cricket's margin (runs or wickets, not comparable between the two) carry enough to show up?
C3. Evaluate this player — one name on the sheet. ⭐⭐ Fit PlayerRatings(T20_MEN,
prior_years=(2005, 2025)).fit() and take ratings.at(2026). Find Mumbai Indians' last team sheet of
2026 with load_xis("ipl"). Using xi_strength, compute the side's batting and bowling strength as
named, then with Jasprit Bumrah's id replaced by a made-up id that has no history (for example
"newcomer01"), so the newcomer prior applies in his place.
Expected output: before/after batting, bowling and total strength (runs per match), and the change in
P(win) against an equal side using the pooled model from fit_pooled_t20("2026-12-31") with
elo_diff = 0, home = 0. What to look for: compare the swing with Exercise B7's back-of-envelope
answer. Does one great bowler move a T20 match by more or less than you expected?
C4. Optimize this strategy — per-host home advantage. ⭐⭐⭐ Replace the single Test home bonus with
one bonus per host country. A simple version: for each candidate host, estimate its own bonus by
grid search on 2004–2022 with the others fixed at 150, then shrink each estimate toward 150 with a
weight n/(n + 20), where n is that host's number of home Tests in training. Re-run the three-way
evaluation of code/03_test_elo_draws.py on 2023–26.
Expected output: a table of per-host bonuses (raw and shrunk) for India, Australia, England, South Africa, New Zealand, Sri Lanka, Pakistan, West Indies, Bangladesh and Zimbabwe, and the three-way accuracy, log loss, Brier and RPS beside the single-bonus model. What to look for: Imran's question in 24.4. A richer model fits the training years better almost by definition. Does it survive the test?
C5. Settle this debate — is Elo or the ICC-style rating better for women? ⭐⭐ Run
icc_points_history on results("odis_female", full_members_only=True) and the women's T20I
equivalent, after elo_history with 24.3's tuned settings (K 60, home 25). Repeat 24.5's comparison:
the same one-variable logistic link (fit_logit_1d with home) fitted before 2023, scored on 2023–26,
with a paired bootstrap interval for the log-loss difference.
Expected output: a four-row table (two formats × two ratings) and two intervals. What to look for: women's ratings are much more spread out. Does the ICC-style rule's ±10 for expected results (when the gap is 40 or more) throw away information when mismatches are common?
C6. Analyze this match — a reliability diagram for the Blast. ⭐⭐ Using the pooled logit from
code/06_model_bakeoff.py (or code/ch24_test_predictions.csv, which that script writes), draw a
reliability diagram for the T20 Blast's 492 test matches with five bins, counting each match from both
sides. Report the calibration slope with crease.winprob.calibration_fit.
Expected output: one figure in the style of Figure 24.8 and a slope with a one-sentence reading. What to look for: the Blast has 18 teams in regional groups. Are its forecasts more or less confident than the IPL's, and does the slope suggest shrinking them?
C7. Predict this match — the eve-of-season IPL forecast. ⭐⭐⭐ For each IPL season 2019–2026, freeze
build_predictor("ipl", <first match date>, elo=dict(k=10, home_adv=50, season_regress=0.25),
model=fit_pooled_t20(<first match date>)) and price every match of the season without updating.
Compare with walk-forward Elo, which updates after every match.
Expected output: an eight-row table (season, matches, accuracy and log loss for both). What to look for: in a league this even, does learning during the season help at all? This is the design question Chapter 28's simulator faces when it decides whether to update ratings after each simulated match.
Part D — Judgment & Format Transfer ⭐⭐⭐
D1. Would the team-sheet strength of 24.6 work for Tests? Name two things you would have to change (the value-per-ball formula, the weighting, the shrinkage constants, the pool) and one reason it might work better in Tests than in T20. (Hint: think about how long a Test innings lets a batter's skill show, and how few Tests a team plays in a year compared with how many matches a T20 player plays across leagues.)
Discussion pointers
Changes: the value formula needs Test units (runs per wicket matter far more than runs per ball, so average-based indices, not SR+); weights should come from balls faced per innings in Tests and overs bowled per Test; shrinkage constants must be refitted (Chapter 25's Test k values are much larger); the pool is one competition. Why it might work better: a Test innings lasts long enough for skill to show, and Test sides differ more in strength, so there is more for the team sheet to explain. Why it might not: few Tests a year make the ratings stale, and conditions (home/away) swamp individual skill.
D2. A broadcaster wants a single "who wins?" graphic for every format. Using the chapter's scorecard, write the caption you would insist on for an IPL match and for a women's ODI, so that viewers read the same-looking percentage correctly. Keep each under 20 words and include one number from the chapter.
Discussion pointers
Something like: IPL, "Pre-match forecasts in this league pick about half of winners; even perfect knowledge would manage only about 54%." Women's ODI: "Favourites at this level have won about 73% of matches since 2023; upsets still happen about one time in four." The point is to show the reader the competition's predictability, not just the number.
D3. The ILT20, SA20 and MLC started in 2023 and had no tuning years. Propose a defensible way to pick their Elo settings before their first season, using only other competitions. Which existing league would you borrow from for each, and why?
Discussion pointers
Borrow from leagues with similar structure: a short season with six teams and a draft or auction (BBL, PSL and CPL tuned to K 15–20 with season regression 0.25–0.5). Use the median of those settings rather than the best one. Set the home bonus from the leagues' measured home advantage (Chapter 22: SA20 57.3%, CPL 53.8%), shrunk toward zero because new leagues often play at a few hub venues. Then let the first season run as a warm-up and re-tune after two.
D4. Eye test vs data. A coach says, "Our captain has a feel for the toss; when he wins it we
win." Chapter 22 and 24.7 both say the toss carries almost no signal. Design a test that would settle
it for one captain: what you would compare, against what baseline, and how many tosses you would need
to detect a five-point edge (use the 1.96-SE logic of Chapter 35's bets_needed). Explain why the
sample will almost certainly be too small.
Discussion pointers
Compare the team's win % in matches where the captain won the toss with matches where he lost it, holding the opponent's strength fixed (use the Elo forecast as the baseline, so the test is "wins above expected after winning the toss"). To see a five-point edge at 1.96 standard errors you need roughly (1.96 × 0.5 / 0.05)² ≈ 384 tosses won, plus a similar number lost. Even a long-serving T20 captain wins far fewer tosses than that in one competition. The test can rule out a large effect, but it can never confirm a small one, and the league-wide evidence (51.6% in the IPL) says the effect is small.
D5. You're asked to forecast the 2027 Women's Premier League, which has 87 decided matches in the data. Describe how you would build the forecast using this chapter's tools, what you would pool (women's T20Is? WBBL? the men's link?), and what accuracy you would promise. Use 24.9's logic to put a range on that promise.
Discussion pointers
Use walk-forward Elo with settings borrowed from the WBBL (the closest women's franchise league with tuning years), and team-sheet strength from the women's T20 pool, with the link fitted across women's competitions, not on 87 WPL games. Estimate the WPL's true-strength spread from its few team-seasons with a wide interval. If it looks like the WBBL (luck share about 66%, oracle 61.6%), promise something like 55–62% with log loss a little below a coin, and say how few matches a season contains.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (Chapter 6 + Chapter 24) ⭐⭐ Chapter 6 computed luck shares from team-season records. Using Case Study 1's table, compute a per-season luck share for the IPL (luck SD² ÷ observed SD²) and plot it against that season's Elo favourite's win %. Case Study 1 found the correlation between record spread and the favourite's win % to be only 0.08. Is the luck share a better predictor of a season's forecastability, or is it just as noisy?
M2. (Chapter 20 + Chapter 24) ⭐⭐⭐ Chapter 20's WP v1 uses an Elo-gap feature at the start of a chase. Feed this chapter's tuned pre-match IPL Elo into WP v1 at the first ball of the second innings for the IPL 2026 final, and compare the innings-break probability with the pure pre-match forecast (0.571 for Gujarat). Which moves more between the two, and why does the first innings carry so much more information than the pre-match ratings?
M3. (Chapter 22 + Chapter 24) ⭐⭐⭐ Chapter 22 found IPL venue effects of about −4 to +5 runs
(shrunk) and venue chase rates that are pure noise. Add the venue's run factor
(venue_toss.venue_run_factor, computed only from earlier seasons) as a feature to the pooled logit.
Does it help out of time? Explain why a venue effect on scoring need not change who wins.
M4. (Chapter 25 + Chapter 24) ⭐⭐⭐ Replace this chapter's fixed-k player ratings with Chapter 25's
fitted projections (crease.projection.fit_projection per metric, then project_season) for the IPL
and re-run the IPL slice of the bake-off. Does a better projection make the team sheet useful in the
IPL, where 24.7 found nothing?
M5. (Chapter 35 + Chapter 24) ⭐⭐⭐ Use crease.betting.backtest with this chapter's pooled-logit
probabilities as the model, and walk-forward Elo plus a 5% multiplicative margin (price_from_prob) as
the illustrative book, for men's full-member T20Is 2023–26. Report ROI with roi_interval. Does a
model that scores 0.638 in log loss find value against a book built from an Elo that scores 0.637?
What does that tell you about the size of edges in pre-match markets?
M6. (Chapter 26 + Chapter 24) ⭐⭐ Before doing E1, write down two predictions: will translating the ratings change the top-8 batting list of 24.6, and will it change the bake-off result? Then check them once E1 is done.
Part E — Research & Extension ⭐⭐⭐⭐
E1. Translate the team sheet. Rebuild PlayerRatings so every season line is first converted to
IPL units with Chapter 26's
crease.translation.translate_lines, using factors fitted only on seasons before the target year
(rolling_factors). Re-run 24.6 and 24.7. Report the new top batters for 2026, the new correlation
between Elo and strength differences, and the bootstrap interval for the team sheet's gain over Elo.
Write a 500-word note on whether translation is worth its complexity for pre-match forecasting.
E2. Women's franchise cricket. Build the team-sheet model for the women's T20 pool (T20_WOMEN:
women's T20Is, WBBL, WPL) and, if you can map it, the women's competition of The Hundred. Compare its
out-of-time gain over Elo with the men's result. Women's internationals have far wider strength gaps
(24.9). Does that make the team sheet more useful or less? Report it with honest intervals: the WPL
has only 87 decided matches.
E3. Associate cricket. Run walk-forward Elo on all men's T20Is (associates included) and study the 2026 sub-regional qualifiers in the data. How accurate is Elo for associate-v-associate matches? How quickly does a new team's rating settle? Which associate sides do the ratings say are closest to full-member strength, and how confident can you be when so few associates play full members? Write it up as a 1,500-word report with at least two figures.