Chapter 35 Exercises — Cricket Betting Analytics
Difficulty: ⭐ conceptual · ⭐⭐ calculation and interpretation · ⭐⭐⭐ code and judgment · ⭐⭐⭐⭐ research
Before you start. Every price in these exercises is illustrative. The book's data snapshot contains no bookmaker odds, and nothing here should be read as a historical price. Results and model probabilities come from the real Cricsheet data. If betting is illegal where you live, treat every exercise as a forecasting exercise, which is how the book intends them. Answers to Part B are below each question. Selected answers to the other parts are in Appendix I.
Part A — Conceptual ⭐
A1. Explain in your own words the difference between implied probability and de-vigged probability. Why can't you compare a model's probability directly with 1/odds?
A2. The chapter refuses to give a size for "the world's largest betting market". Write a three-sentence paragraph for a newspaper explaining why, without sounding evasive.
A3. Under the Indian Constitution, betting and gambling are a state subject. The Promotion and Regulation of Online Gaming Act, 2025 is a central law. In two or three sentences, describe what the 2025 Act targets and why its relationship to state power is contested. Don't go beyond what §35.1 states.
A4. What does walk-forward mean for a pre-match model? Give one example of a cricket feature that would break walk-forward if you used it carelessly.
A5. Why does a smooth, steadily rising profit curve in a backtest suggest leakage rather than skill?
A6. Define closing-line value. Why do professional bettors use it to judge a model instead of profit?
A7. Explain why staking more than the Kelly fraction can turn a genuine edge into a losing strategy, while staking less only reduces growth.
A8. Why did §35.7 find that a wicket cluster leaves no unexplained residual in a state-based win-probability model while a big over does? Use the words "state" and "information".
A9. What is spot-fixing, and why is it close to invisible in ball-by-ball data? Use the 2010 Lord's Test no-ball count in your answer.
A10. Name the national self-exclusion schemes in Great Britain and Australia, and say what each one does.
A11. Explain the favourite–longshot bias in one paragraph, and say why this book can't test whether cricket markets show it.
A12. Why is a model's high accuracy (for example, favourites winning 71.9% of women's full-member T20Is) not evidence that betting on its favourites is profitable?
A13. Tom says, in the hook, that anyone who backed Sri Lanka at 4.61 after over 16 "won that bet", which is "a different sentence" from making a good bet. Explain the distinction between a good outcome and a good decision, and connect it to Theme 6 of this book (variance is not failure).
A14. A friend shows you a betting tipster's record: "68% winners over the last 50 tips." List three questions you'd ask before deciding whether the record means anything. (Hint: prices, selection and sample size.)
Part B — Calculation & Interpretation ⭐⭐
B1. An illustrative T20 match market shows Team A at 1.72 and Team B at 2.15. (a) Compute the overround. (b) Compute both teams' multiplicative de-vigged probabilities. (c) Your model says Team B wins with probability 0.47. What is the EV of a one-unit bet on Team B at 2.15?
Answer
(a) 1/1.72 + 1/2.15 = 0.5814 + 0.4651 = 1.0465, an overround of 4.65%. (b) A: 0.5814/1.0465 = 0.556; B: 0.4651/1.0465 = 0.444. (c) EV = 0.47 × 2.15 − 1 = +1.05% per unit. That's tiny and well inside any reasonable model error, so §35.6 says stake little or nothing.
B2. In IPL 2023–26 the walk-forward Elo favourite won 47.6% of 286 matches, and the model's Brier score was 0.2576 against a coin's 0.2500. In men's full-member T20Is the favourite won 64.1% of 323 (Brier 0.2219). Explain both results in terms of Chapter 6's luck shares (IPL ~92%, men's full-member T20Is 59%).
Answer
When 92% of the spread in IPL team records is luck, the true differences between teams are small, so even a perfect model would rarely rate a side above 0.60, and a results-based rating mostly chases noise. Its confident calls are slightly worse than a coin, especially across the 2023 regime change. In internationals, where luck explains only 59% of the spread, real strength differences exist and are persistent, so a rating can find them, and it does: favourites won 64.1% with a Brier score well below 0.25.
B3. The top-batter market in §35.2 gave Shubman Gill a shrunk top-scorer rate of 0.355 (fair 2.814). An illustrative book quotes Gill at 2.50 in a seven-runner market with a 22% overround. (a) What is Gill's raw implied probability at 2.50? (b) Using the shrunk rate as your probability, what is the EV? (c) Name two reasons your 0.355 might be too high for a specific match.
Answer
(a) 1/2.50 = 0.400. (b) 0.355 × 2.50 − 1 = −11.3%. (c) Possible reasons: a strong opening partner who competes for the top score; a venue where the top order gets fewer balls before a collapse; a high-scoring pitch where the middle order also gets big scores; a changed batting order; Gill out of form (though Chapter 6 warns against overweighting that).
B4. In the leakage demonstration, the hindsight model made +37.0% ROI (95% CI +24.0 to +50.0) and the honest model +10.1% (95% CI −3.2 to +24.0). Backing every side returned −2.3%. Interpret all three numbers. Why isn't the honest model's +10.1% evidence of an edge?
Answer
The hindsight model used each team's full-season record, which includes the match being bet on, so its +37% is leakage. The honest model's interval includes zero, and it was tested against an illustrative book built from a walk-forward Elo that was itself worse than a coin in 2023–26. Beating a weak benchmark proves nothing about beating a real market. Backing every side lost 2.3%, less than the 4.8% the margin would imply under the book's own probabilities, because the book's favourites underperformed in this period, which is consistent with its Brier score.
B5. Use bets_needed: at odds of 2.0, a 5% edge needs 1,533 flat bets and a 2% edge 9,601 to be 1.96 standard errors from zero. (a) At about 72 IPL matches per season, how many seasons is each? (b) Why do the numbers rise so quickly as the edge shrinks?
Answer
(a) 1,533/72 ≈ 21 seasons; 9,601/72 ≈ 133 seasons. (b) The bets needed scale with 1/edge². Halving the edge quadruples the sample, because the per-bet noise (about one unit at evens) doesn't shrink while the signal does.
B6. In the Kelly simulation with a real 5% edge, full Kelly's median final bankroll after 1,000 bets was 3.49 and its mean 11.62. Double Kelly's median was 0.99 and its mean 208.03. Explain why the means are misleading here.
Answer
Multiplicative bankroll paths are highly skewed: a few lucky paths grow enormously and pull the mean up, while the typical (median) bettor does much worse. Double Kelly's mean of 208 comes from a handful of extreme paths. Its median of 0.99 is what a typical bettor experiences, and 45.6% of its paths fell below 10% of the starting bankroll at some point. Kelly maximises the growth of the typical (log) bankroll, not the mean.
B7. A pre-2023 chase table priced IPL states in the 0.20–0.40 band at an average of 0.290 in 2023–26, and those chasers won 53.1%. Compute the fair price under the model and the price implied by the results. If an illustrative book quoted the chasing side at 3.00 in those states, what would the EV be using the observed 0.531?
Answer
Model fair price 1/0.290 = 3.44; result-implied price 1/0.531 = 1.88. EV at 3.00 = 0.531 × 3.00 − 1 = +59.3%. That's enormous, and only available to someone who knew in 2023 that the stale table was wrong. Looking back it's obvious. At the time it was a bet on a regime change.
B8. Outside the IPL, after a 15-plus-run over, chasers won 61.3% against a pre-2023 forecast of 54.6% (gap +6.8 points, 95% CI +5.0 to +8.4, 1,838 chases). After two or more wickets in twelve balls, they won 24.2% against 24.6% (gap −0.3, CI −1.5 to +0.8). Write a two-sentence summary suitable for a broadcast graphics producer.
Answer
"After a collapse, the scoreboard already tells the story. A chasing side that has just lost two quick wickets wins about as often as its runs, balls and wickets suggest. After a big over it's different: chasers have gone on to win about seven points more often than the scoreboard alone suggests, probably because a big over is a sign of easy batting conditions that the score doesn't capture."
B9. At Newlands, a table fitted on pre-2017 chases gave Sri Lanka 0.628 after 15 overs (116/2) and 0.217 after 16 (118/4). (a) Convert both to fair odds for each side. (b) With a 5% multiplicative margin, what illustrative quotes follow? (c) Sri Lanka won. Does that show 0.217 was too low?
Answer
(a) After 15: SL 1/0.628 = 1.59, SA 1/0.372 = 2.69. After 16: SL 1/0.217 = 4.61, SA 1/0.783 = 1.28. (b) Divide each fair price by 1.05: after 15, SL 1.52, SA 2.56; after 16, SL 4.39, SA 1.22. (c) No. A 0.217 event happens about one time in five. Grading a probability needs many forecasts at that level (a calibration table), not one result.
B10. In Case Study 2, backing every women's T20I favourite rated 0.80 or higher (127 bets, won 86.6%) returned −1.3% at fair prices, −6.0% with a 5% multiplicative margin and −2.8% with a 5% power margin. (a) What break-even win rate does a 1.09 price require? (b) Why does a calibrated model earn about zero at its own fair prices? (c) Why does the power margin hurt favourite-backers less?
Answer
(a) 1/1.09 = 91.7%. (b) Fair odds are defined so that p × (1/p) − 1 = 0. If the model's p equals the true frequency, expected profit is zero and the realised ROI scatters around zero by luck (here −1.3%). (c) The power method raises each probability to a power below 1 to create the overround, which inflates small probabilities proportionally more. Most of the margin therefore lands on the long shot, and the favourite's price stays closer to fair.
B11. The growth-rate function gives expected log-growth per bet of 0.00125 at full Kelly with a real 5% edge at evens, and 0.00020 at the best stake with a 2% edge. (a) Roughly how many bets does each take to double a bankroll in expectation (log-growth of ln 2 ≈ 0.693)? (b) What does that say about the realistic pace of "professional" betting on a few hundred cricket matches a year?
Answer
(a) 0.693/0.00125 ≈ 554 bets; 0.693/0.00020 ≈ 3,466 bets. (b) Even a genuine, well-sized 2% edge takes thousands of bets to double a bankroll in expectation, and the path there includes deep drawdowns. A bettor managing a few hundred cricket bets a year would need a decade or more, and would spend most of it unsure whether the edge was real (§35.5). That's why professional betting operations are built on volume across many sports and markets, not on a handful of matches.
Part C — Code It ⭐⭐–⭐⭐⭐
C1. Build this metric ⭐⭐. Extend code/01_odds_and_margins.py with a function devig_table(odds) that returns a DataFrame with one row per selection and columns for raw implied probability and the four de-vigged estimates, plus a final column spread_pp giving the largest minus the smallest estimate in percentage points. Run it on the illustrative top-batter market and the illustrative Test market. Expected output: two tables. The Test market's largest spread should be well under one percentage point. The top-batter market's long shots should show the largest spreads.
C2. Predict this match ⭐⭐⭐. Modify code/02_prematch_elo.py to add a margin-of-victory Elo: multiply K by ln(1 + margin), where the margin is win-by-runs divided by 10 or win-by-wickets (capped at 10). Tune K on pre-2023 data for men's full-member T20Is and compare the 2023–26 Brier score and log loss with the plain Elo. Expected output: a two-row table (plain and MOV Elo), and one sentence on whether the margin of victory adds information.
C3. Analyze this match ⭐⭐. Using code/05_inplay.py, produce the over-by-over fair-price table for the Mumbai Indians v Delhi Capitals chase of 11 April 2023 (id 1359490). MI were chasing 173 and were 123/1 after 15 overs and 139/3 after 16. Use two tables: one fitted on men's T20 chases before 2023, and one fitted on IPL 2023–26 chases with that match left out. Expected output: a 20-row table with WP and fair odds from both tables, and the largest disagreement and when it occurred.
C4. Settle this debate ⭐⭐⭐. Your friend claims "teams that won the toss and chose to field are value in IPL night games." Using code/03_backtests_that_lie.py's framework and Chapter 22's ipl_slot to separate evening from afternoon matches, define the rule before looking at any results, test it on IPL 2023–24 at the illustrative Elo + 5% prices, then on 2025–26. Report n, ROI and a bootstrap 95% interval for each period. Expected output: a two-row table plus a null-world comparison (results re-drawn from the book's own probabilities, 200 reps) for the 2023–24 ROI.
C5. Optimize this strategy ⭐⭐⭐. Using simulate_bankroll, find the fractional Kelly multiplier c ∈ {0.1, 0.2, …, 1.0} that maximises the 10th percentile of the final bankroll after 500 bets, when the bettor believes the edge is 5% at odds of 2.50 but the true edge is drawn once per bettor from a uniform distribution between −2% and +6%. Expected output: a table of c against median, 10th percentile and P(final < 1), and a recommended c.
C6. Build this metric ⭐⭐⭐. Write top_batter_prices(code, since, team) that returns a fair-odds table (shrunk, as in code/07_top_batter.py) for every batter in one team's likely top six, normalised so the probabilities sum to 1 across the six plus a "field" outcome for positions 7–11. Run it for Royal Challengers Bengaluru in IPL 2026. Expected output: seven rows whose probabilities sum to 1.000, with fair odds.
C7. Evaluate this player ⭐⭐. Using code/08_integrity_noballs.py, compute the distribution of no-balls per innings for every bowler with at least 20 Test innings in 2015–2026. Report the 95th percentile of a bowler's no-balls per 100 overs. Expected output: a histogram and one paragraph explaining why an individual bowler's high no-ball rate is not evidence of anything except a front-foot problem. (Read §35.8's warning before writing it.)
C8. Settle this debate ⭐⭐⭐. "Recent form matters more in internationals than in the IPL." Using code/06_where_edges_live.py, add a season-to-date form variable (the team's win share in the current calendar year before the match, shrunk towards 0.5 with five pseudo-matches) to the logistic regression for both competitions. Report the coefficient, standard error and p-value, and compare the out-of-sample (2023–26) log loss of Elo-only against Elo-plus-form. Expected output: a four-row table (two competitions × two models) and a two-sentence verdict.
C9. Analyze this match ⭐⭐. Write a function price_track(match_id, table) that returns, for each over of a chase, the chasing side's fair price and an illustrative quote with a 5% power margin (use price_from_prob(..., method="power")). Run it on the IPL 2026 final (1535465) with the era table from Case Study 1. Expected output: an 18-row table, plus one sentence on how the power margin's quotes differ from the multiplicative quotes once RCB became heavy favourites.
Part D — Judgment & Format Transfer ⭐⭐⭐
D1. Would a walk-forward Elo be a better or worse pre-match model for men's Tests than for T20Is? Consider draws, home advantage, series structure (several matches against the same opponent in a row) and the 2024–26 fall in the draw rate to 6.2%. What would you have to change in elo_walk_forward?
D2. Eye test vs data. Wendell says: "After a big over the batters are on top. Every captain knows it and every punter knows it." §35.7 found chasers beat a state-only model by about seven points after a 15-plus-run over outside the IPL. Does the data support Wendell? Does it follow that markets misprice the situation? Argue both sides, then give your verdict.
D3. The Lord's 2010 Test had 16 no-balls, more than the median Test (10) but fewer than 29% of Tests. A journalist proposes "flagging every Test with more than 20 no-balls for investigation". Evaluate the proposal using §35.5's multiple-comparisons logic and §35.8's ethics.
D4. Case Study 1 showed two reasonable chase tables disagreeing by 26.4 points at the start of the IPL 2026 final chase. In ODIs, a chase has 300 balls rather than 120. Would you expect stale-versus-era disagreements to be larger or smaller in ODIs? Consider the number of chases available to fit an "era" table, and how fast ODI scoring has changed.
D5. Your model is well calibrated in women's full-member T20Is (Brier 0.1875). A friend says, "Then women's cricket is where the edges are." Using Case Study 2, explain why accuracy and edge are different things, and what would have to be true for your friend to be right.
D6. Tom's rule of thumb is "assume your edge is half what your model says, then bet a quarter Kelly on that." Using §35.6's growth curves, explain what this rule protects against and what it costs when the model is actually right. Would you change the rule for a bettor whose model has a long, verified closing-line-value record?
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (Chapter 6 + Chapter 35) ⭐⭐. Chapter 6 found that ~31% of a hot start's excess survives. Design a test of whether the IPL's last-three-matches form (coefficient −0.041, p = 0.824 in §35.4) behaves like a hot start, using beta-binomial shrinkage of each team's running win share. What would you expect, and why?
M2. (Chapter 9 + Chapter 35) ⭐⭐⭐. Chapter 9's WPA credited Imran Tahir's bowling with +0.525 at Newlands. Convert his over 16 into prices: Sri Lanka's fair price before and after his over (1.59 and 4.61). If a bettor had laid Sri Lanka at 1.59 before the over and backed them at 4.61 after it, what would the combined position pay if Sri Lanka won, and if they lost? (Ignore commission and margins.) What does this show about "trading" a price swing?
M3. (Chapter 22 + Chapter 35) ⭐⭐. Chapter 22 measured venue run factors. Combine a shrunk venue factor with the IPL 2023–26 first-innings standard deviation of 36.0 runs to price an over/under 189.5 at two venues of your choice, assuming a normal total. Report P(over) and fair odds, and say which assumption is weakest.
M4. (Chapter 4 + Chapter 35) ⭐⭐. Anchor C: Rohit Sharma averaged 58.46 in ODIs India won and 36.01 in those they lost. Write a short explanation of why a model using "Rohit's average in wins" as a feature would leak the result, and suggest the walk-forward feature you'd use instead.
M5. (Chapter 24 + Chapter 35) ⭐⭐⭐. When Chapter 24's pre-match model (crease.match_model) is available, plug its probabilities into backtest as p_col against the illustrative Elo book for men's full-member T20Is, 2023–26. Does a better-calibrated model beat the illustrative book by more? Report ROI with intervals, and explain why even a large improvement would not demonstrate an edge against a real market.
M6. (Chapter 19 + Chapter 35) ⭐⭐⭐. Chapter 19 described the innings as a Markov chain over states. Use a Markov simulation of the remainder of a first innings (from any IPL 2026 match at 10 overs) to produce a distribution of final totals, and price an illustrative over/under line from it. Compare the result with the normal approximation (SD 36.0) of M3. Where in the distribution do the two methods disagree most, and which matters more for an over/under price?
Part E — Research & Extension ⭐⭐⭐⭐
E1. Women's franchise cricket. Repeat §35.3's Elo analysis for the WPL and WBBL. Tune on early seasons and test on recent ones. Is either league closer to the IPL (near coin-flip) or to women's internationals (strongly predictable)? Relate your answer to the luck-share method of Chapter 6 and write a 600-word report with one figure.
E2. A walk-forward totals model. Build a model for IPL first-innings totals that updates its mean during a season from matches already played (for example, a normal–normal update of the season mean, plus a shrunk venue effect), and test it walk-forward from 2010 to 2026 against a line set at the previous season's median. Report how often your model's line was closer to the actual total, and whether 2023 still looks like a one-way season to a model that updates every match.
E3. Integrity without accusation. Write a 1,000-word essay, using only public sources, on how cricket's anti-corruption systems changed after 2000, 2010 and 2013, and why statistical anomaly detection on scorecards plays only a small part. Don't name or imply anything about any individual beyond the public record described in §35.8.