Part VII — Betting, Fantasy, and Applications

Narendra Modi Stadium, Ahmedabad, 31 May 2026: the IPL final. Royal Challengers Bengaluru won the toss and bowled. Gujarat Titans made 155 for 8, Washington Sundar top-scoring with 50 off 37, and RCB knocked the runs off in eighteen overs, finishing on 161 for 5. Virat Kohli made 75 not out from 42 balls.

Four different people could have been watching that match with a laptop open, and each would have been asking a different question of the same ball-by-ball data.

A bettor wanted a probability. The book's walk-forward Elo model gave Gujarat 0.562 before the toss, but only because it treated Ahmedabad as Gujarat's home ground. Take the home bonus away, a defensible choice for a final, and Gujarat drop to 0.486: the favourite changes sides on one modelling decision. At the innings break, a chase table fitted on men's T20 cricket before 2023 gave RCB 0.576 to get 156. A table fitted on the IPL's own 2023–26 chases gave them 0.840. Same scoreboard, a 26-point argument.

A fantasy player wanted a captain. A simulator built only on data from before the match ranked Kohli first, with an average of 87.2 points across 10,000 simulated finals. He scored 151. But the model's second and third picks, Gill and Sai Sudharsan, scored 22 and 24, and Rasikh Salam, ranked 16th of the 24 listed players, took 3 for 27 and scored 116. Across all 24, the rank correlation between the model's averages and the real scores was 0.034.

A data journalist wanted a story, and needed it before the highlights went up. And somewhere a statistics student wanted to know whether any of this could become a job.

This part follows all four. The bettor who backed RCB at the break won a bet, which is not the same as having made a good one, and the fantasy model that "got the captain right" was mostly lucky about everything else. Telling those things apart, honestly and in public, is the work that pays.


What this part argues

Parts I to VI built the instruments: metrics, projections, win probability, match and tournament models, strategy tools. Part VII puts them in front of the four audiences who use cricket analytics outside a dressing room, and asks what each audience needs from them. The answer is the same every time, in a different costume: a calibrated probability, an honest test, and a clear statement of what the data can't see.

The part makes five claims:

  1. A price is a probability with a margin attached, and beating one is far harder than it looks. Most apparent edges are artefacts of the test that found them. Real edges are small, and confirming one takes thousands of bets.
  2. The stake matters as much as the edge. Even a genuine edge, staked too aggressively, almost always produces a crushing drawdown. Sizing is a risk decision, not a confidence score.
  3. A single T20 match is mostly noise. Fantasy cricket rewards honest distributions over confident point forecasts. Judge a method on a season, never on a match.
  4. A number is not a story until it has a comparison. Broadcast and media analytics run on the same rules as forecasting: as-of data, named models, sample sizes on every "rare" claim, and simulated layers labelled as simulated.
  5. The field rewards demonstrated honesty about uncertainty. A portfolio that shows intervals, limits and a decision beats one that shows confidence.

It comes here because every chapter in it spends what earlier parts saved. Chapter 35 prices matches with Chapter 9's win-probability table and the kind of Elo model Chapter 24 tested. Chapter 36 turns Chapter 25's projections into match-by-match points distributions. Chapter 37 puts Chapter 7's charts, Chapter 11's matchups and Chapter 22's venue effects on screen. Chapter 38 asks what all of it is worth to an employer. And it comes before Part VIII because the capstone platform in Chapter 39 needs these modules, and the portfolio that goes with it, to be finished.

The questions it answers

  • Why did the IPL favourite lose more often than it won from 2023 to 2026?
  • How do backtests lie, and how many bets does it take to show an edge is real?
  • How much should anyone stake on an edge they believe in, and what happens if they get it wrong?
  • How much of a fantasy score is the player, and how much is the match? Who should be captain?
  • What do cricket analysts actually do, who pays them, and how much can honestly be said about pay?

How the chapters build

Chapter 35 — Cricket Betting Analytics. The hook is the book's anchor match, Newlands 2017, priced over by over. At 116 for 2 after fifteen overs Sri Lanka's fair price is 1.59; Imran Tahir's two-run, two-wicket sixteenth over pushes it to 4.61, and Sri Lanka still win. Tom Ashworth, a former sportsbook quant who now teaches risk, explains why backing them at 4.61 won a bet without proving anything. The chapter strips the margin from prices, builds a walk-forward pre-match Elo, and tests the folklore: last-match form adds nothing once Elo is known, and wicket clusters change nothing the scoreboard doesn't already show, but chasers after a 15-run over do beat a state-only model by 6.8 points. It shows how a season-peeking backtest turns an honest +10.1% into +37.0%, and how the best of 115 "systems" collapses out of sample. It covers Kelly staking, the history of corruption in cricket, and the law. The book's data contain no bookmaker odds, so every price is a fair price from a model or a labelled illustrative quote.

Chapter 36 — Fantasy Cricket Analytics. The Ahmedabad final again, this time from the fantasy side. The chapter scores every IPL player-match with a documented T20 points table modelled on Dream11's published one, measures how little of a single-match score belongs to the player, and turns projections into a ball-level Monte Carlo simulator. Backtested on all 74 matches of IPL 2026, in time order with no peeking, the simulator's error is 35.4 points a player-match against 38.3 for last-five form, and its 10–90 bands catch 77% of real scores. Captain rules are tested on 293 matches, team-mate correlations put the "stacking" folklore to the test, and an ownership-leverage optimiser is run against a 🧪 simulated contest field, because no real ownership data exist. A second test on the WPL finds the same advantage over recent form.

Chapter 37 — Broadcasting and Media Analytics. Delhi, 8 April 2026: Gujarat 210 for 4 beat Delhi 209 for 8 by one run. Kavya Subramanian has fifteen minutes to make a graphic and five lines of notes. Rashid Khan's 4–0–17–3 came in a match where the other 216 legal balls went for 11.17 an over, and about one IPL spell in 94 had been that far below its match. The chapter builds annotated win-probability worms, and shows that the choice of model is itself a story: at the innings break Gujarat were 60% on an IPL 2023–26 table and 86% on an all-men's-T20 table. It adds par bars, matchup cards, a notability score for automatic match notes, and leak-free stat packs: computed with the whole season, KL Rahul's 2026 line would have read 593 runs in 14 innings, but as of that morning it was 1 run in 2.

Chapter 38 — Building a Cricket Analytics Career. A mock interview: Ajinkya Rahane's IPL strike rate fell from 147.7 to 135.1, and the coach thinks he's finished. Nusrat's first answer agrees. Her second adjusts for a faster league (SR+ 100.0 → 87.1), notes that 75.9% of batters who fall fifteen points or more rise the next season, and finds the whole decline in the powerplay, where nearly two-thirds of his 2026 balls came. The chapter maps the work across teams, media, licensed operators, technology and governing bodies, builds two portfolio pieces (scouting reports on Vaibhav Suryavanshi and Richa Ghosh, and the interview case done properly), and treats pay honestly: county adverts put analyst roles at £28,000–£30,000, and no franchise salary has been published.


What you build: Crease's application modules

Chapter Module What it gives you
35 betting.py Odds conversion, overround and four de-margining methods, expected value, Kelly fractions and growth rates, bankroll simulation and drawdowns, bets needed to show an edge, walk-forward Elo, a backtest harness with bootstrap ROI intervals, calibration tables
36 fantasy.py The points table, player stat lines and roles, season inputs, the ball-level points simulator and its calibration, correlation tools, captain rules, a 🧪 modelled crowd and contest field, expected-points and contest optimisers, leverage
37 storytelling.py Broadcast canvases and type scales, annotated win-probability worms, par bars, matchup cards, teaching fields (🧪), notability-scored match facts and notes, career milestones, as-of filtering, a Test lead tracker, A/B sample sizes
38 project/PORTFOLIO.md A nine-section portfolio template, plus a checkpoint script that inventories every Crease module, checks each one imports and counts its documented functions

Chapter 20's Elo feature already uses betting.py's elo_walk_forward. fantasy.py imports Chapter 25's projections and Chapter 17's fielding tables. storytelling.py accepts any win-probability model, so Chapter 20's drops straight in. And PORTFOLIO.md is the document Chapter 39 is built to link to.


What overturns conventional wisdom

  • The IPL favourite loses more often than it wins. Out of time, from 2023 to 2026, the walk-forward Elo favourite won only 47.6% of 286 IPL matches, with a Brier score of 0.2576 against a coin's 0.2500. The same method's favourites won 64.1% of men's full-member T20Is and 71.9% of women's. Parity and the post-2023 scoring surge make the IPL extraordinarily hard to call.
  • A backtest that peeks is a fiction. Using each team's full-season record to bet on matches inside that season gives an ROI of +37.0%. The honest, walk-forward version gives +10.1%, with a 95% interval of −3.2% to +24.0% that includes losing money. Of 115 betting "systems" tested on the IPL, the top ten returned +57.0% in sample and −16.1% out of sample. A real 5% edge at even money needs about 1,533 bets to show itself, roughly 21 IPL seasons.
  • Full Kelly punishes people who are right. In simulation, a bettor with a genuine 5% edge at even money who stakes full Kelly suffers a 50% drawdown within 1,000 bets in 98.45% of cases. Bet double Kelly and the growth rate falls to about zero. This is why the chapter recommends a quarter of Kelly, and why most people shouldn't bet at all.
  • Only 7.8% of a single-match fantasy score is the player. Across 196 regular IPL players in 2024–26, the player accounts for 0.078 of the variation in one match's points; it takes about twelve matches before half the spread between players is real.
  • The leverage lineup lost. The fantasy folklore says that in a big contest you should pick players the crowd ignores. Against the 🧪 simulated field, the expected-points lineup averaged the 67th percentile over IPL 2026 and the leverage-optimal lineup the 56th. Leverage beat it in only 23 of 74 matches. "Stacking" a batter with the bowler he faces is a hedge, not a boost: their points correlate at −0.145.
  • Nobody has published what a franchise analyst earns. Salary figures circulate, but none we could trace to a published source. The verified numbers are county adverts at £28,000–£30,000. Treat any salary you can't source as a rumour.

The law, the harm, and money in the classroom

Two chapters in this part are about gambling and money games, and both deal with the law in their first section, before any model. As of November 2026, wagering on cricket is illegal in most of India, where betting is a state subject. India's Promotion and Regulation of Online Gaming Act, 2025 bans online money games whether they involve skill or chance; its commencement and Rules took effect on 1 May 2026, and a challenge to it was still pending before the Supreme Court at the last update we could verify. Dream11 stopped its paid contests in August 2025. Betting is legal and licensed in Great Britain, and in Australia, where online in-play betting on sport is prohibited. The law that applies is the law where you are, and it is moving quickly, so check it again before relying on any of this.

Nothing in this part requires you to stake a rupee, a pound or a dollar. Every price is a fair or illustrative one, and every contest field is simulated. Instructors should keep it that way: paper bankrolls only, and no entry fees, prizes or wagers in class, even where lawful. Gambling harm is the most common outcome of betting, not a footnote to it. If betting or paid fantasy stops being fun for you or someone close to you, free and confidential help exists. In Great Britain, the National Gambling Helpline (run by GamCare) is on 0808 8020 133, 24 hours a day, and GAMSTOP offers national online self-exclusion. In Australia, Gambling Help Online is on 1800 858 858, around the clock, and BetStop is the national self-exclusion register. In India we could verify no national gambling helpline; Tele-MANAS, the government's free 24-hour mental-health line, is on 14416.


Learning paths through Part VII

🏏 Fan Track: Read the hooks and summaries of all four chapters. In Chapter 35, read §35.1, §35.3, §35.4 and §35.8: why favourites lose, why "momentum" mostly isn't, and how cricket's corruption scandals actually happened. In Chapter 37, read §37.1, §37.2, §37.5 and §37.7; after them you'll never read a broadcast graphic the same way. Chapter 38's hook, §38.1 and §38.8 are worth your time even if you never apply for anything.

📊 Analyst Track: Read and run everything. Chapter 35 §35.2–35.5 is a course in evaluating forecasts against a benchmark; Chapter 36 §36.3, §36.4 and §36.6 add simulation, interval checks and a copula. Chapter 37's notability score and as-of filtering keep automated content honest. Fill in project/PORTFOLIO.md before you move on.

🎰 Betting Track: Chapter 35 is yours: read it in order, and treat §35.5 (backtests) and §35.6 (staking) as the core. Read §35.1 first, and stop at the forecasting if betting is illegal where you live. In Chapter 36, read §36.4 and §36.8: the same backtest discipline applied to a different market. Chapter 38 §38.9 covers the betting jobs and §38.10 the conduct rules that come with them.

🏆 Fantasy Track: Chapter 36 is yours: §36.1 on the law first, then §36.5 (captaincy), §36.7 (ownership and leverage) and §36.8 (a season of disciplined selection). Read Chapter 35's sections on variance and Kelly staking. A fantasy bankroll obeys the same arithmetic.

🧑‍💼 Franchise Track: Read Chapter 37 §37.3, §37.8 and §37.9 (model disclosure, leak-free stat packs, testing content properly), and Chapter 38 §38.1 and §38.4–38.6, which show what a good analyst hire produces and how to test for it. Chapter 35 §35.4–35.5 is worth reading before anyone sells your club a "proven" model.


Before you begin

  • [ ] Check the law where you live, for both betting and paid fantasy contests. If either is illegal there, read those chapters as forecasting and nothing else.
  • [ ] Your earlier Crease modules run, especially impact.py (Chapter 9), winprob.py (Chapter 20), venue_toss.py (Chapter 22), projection.py (Chapter 25), matchups.py (Chapter 11), fielding.py (Chapter 17) and charts.py (Chapter 7). This part draws on all of them.
  • [ ] Re-read Chapter 20's section on calibration and Chapter 24's Elo model. Brier score, log loss and "out of time" are the vocabulary of Chapters 35 and 36.
  • [ ] Remember that the book's data contain no bookmaker odds and no fantasy ownership, credit or contest data. Prices are fair or illustrative; crowds and fields are 🧪 modelled. Never quote either as a real market figure.
  • [ ] Budget time for Chapter 36. Its scripts share a cache and must run in order, and the captaincy and contest backtests take several minutes each. On Windows, set PYTHONIOENCODING=utf-8 before running the scripts in Chapters 36–38.
  • [ ] Keep Appendix C and Appendix D to hand. Part VII introduces overround, Kelly staking, the intraclass correlation, ownership leverage and notability scores.

Chapters in This Part