On 19 November 2023, at the Narendra Modi Stadium in Ahmedabad, Australia won the toss in the men's ODI World Cup final and chose to bowl. India had won every match of the tournament to that point, in front of a home crowd, and the old instinct says...
In This Chapter
- 22.1 The Toss Is a Coin Flip, and That Is a Gift
- 22.2 What the Toss Is Worth, Format by Format
- 22.3 The Toss Is Random; the Decision Is Not
- 22.4 Day, Night and Dew: What the Data Cannot See
- 22.5 The Toss in Test Cricket: Batting on Day One, Bowling on Day Five
- 22.6 Venues: Separating the Ground From the Noise
- 22.7 Altitude: Does Thin Air Add Runs?
- 22.8 Home Advantage, Format by Format
- 22.9 Adjusting Players for Where They Played
- 22.10 So How Much Do Non-Player Factors Matter?
- Spaced Review
- Project Checkpoint: venue_toss.py
- Chapter Summary
- What's Next
Chapter 22 — Toss, Venue, and Conditions: How Much Do Non-Player Factors Actually Affect Match Outcomes?
On 19 November 2023, at the Narendra Modi Stadium in Ahmedabad, Australia won the toss in the men's ODI World Cup final and chose to bowl. India had won every match of the tournament to that point, in front of a home crowd, and the old instinct says you bat first in a final and make the other side chase under pressure. Australia's captain, Pat Cummins, did the opposite.
Here is what the ball-by-ball record shows. India made 240 all out in 50 overs. KL Rahul scored 66 off 107 balls, and Virat Kohli 54 off 63. Australia chased it down at 241/4 in 43 overs, with Travis Head making 137 off 120 balls, and won by six wickets. Head was player of the match.
By the end of the night the toss had become part of the story. Afterwards the decision to bowl was widely discussed as a shrewd reading of the pitch, or a bet that evening dew would make batting easier in the second innings. Maybe it was both. But look at the rest of the same tournament in the same data. Of the 39 matches from the 2023 World Cup in the snapshot (Afghanistan's nine matches are missing, because Cricsheet withholds Afghanistan's men's internationals), the toss winner chose to field 22 times. The toss winner won 17 of 39. Teams chasing won 18 of 39. Across the whole event, then, winning the toss was slightly worse than losing it, and batting first was slightly better than chasing. That isn't evidence that the final's decision was wrong. It is evidence that one match can't tell you whether it was right.
That gap, between how loudly cricket talks about the toss, the venue and the conditions and how much they actually move results, is the subject of this chapter. These are the non-player factors: things that affect a match but that no player controls once the match starts. We'll measure five of them:
- the toss: what it is worth, measured with the cleanest experiment in sport;
- the decision after the toss: bat or field, and why you can't read its value off the results;
- time of day and dew: what the data can and cannot see;
- the venue: scoring effects, altitude, and how much of a "high-scoring ground" is real;
- home advantage: by format, with the awkward case of Pakistan's "home" years in the UAE.
The answer will turn out to depend on the format, as it so often does in this book. In white-ball cricket, the non-player factors are mostly small and mostly noise. In Test cricket, where the pitch wears for five days and the home side picks the pitch, they are large enough to predict results by themselves.
📊 Analyst Track: Read everything. §22.1–22.3 build the causal argument (the toss is randomised; the decision is not), §22.6 is a shrinkage model for venues, and §22.10 tests all the non-player factors out of sample. The
venue_toss.pymodule you build here feeds the pre-match model in Chapter 24 and the Test simulator in Chapter 29.🎰 Betting Track: §22.1 (what the toss is worth before you see it), §22.4 (why "dew" talk deserves scepticism), §22.6 (venue totals, the basis of over/under lines), §22.8 (home advantage by format) and §22.10. Markets often react to the toss. This chapter tells you how much they should.
🧑💼 Franchise Track: §22.3 (the decision your captain makes), §22.6 and §22.9 (adjusting a player's numbers for his home ground before you pay for them), and Case Study 1 (a league where the decision really does carry information).
22.1 The Toss Is a Coin Flip, and That Is a Gift
The cricket question. Does winning the toss help you win the match?
Most questions in this book are hard to answer cleanly because cricket isn't an experiment. Good teams bat first more often, or chase more often. Strong batters play more matches at flat grounds. Everything is tangled up with everything else. Every claim about cause has to fight confounding, where a third factor drives both the thing you're studying and the outcome.
The toss is the exception. Before every professional match a coin is spun, and which captain calls correctly is pure chance. The coin doesn't know which team is stronger, which side is at home, or what the pitch looks like. So the teams that win the toss are, on average, exactly like the teams that lose it in every way except one: they won the toss.
That makes the toss a natural experiment: a situation in which nature (or a coin) assigns a "treatment" at random, so we can measure its effect without running a trial ourselves. In medicine you'd randomise patients to a drug or a placebo. In cricket the coin randomises teams to "gets to choose" or "doesn't get to choose". If toss winners win more than 50% of matches, the excess is caused by winning the toss, because nothing else differs between the two groups.
📐 Definition — toss value. For a set of decided matches (ties, no-results and Test draws removed), toss value = (toss winner's win %) − 50%. Because the toss is randomised, this is an unbiased estimate of the causal effect of winning the toss and then choosing as captains actually choose. It is not the effect of batting first or of fielding first: those are choices, and choices are not randomised.
That last sentence matters, and §22.3 is built on it. For now, we just measure the effect.
The code. The chapter's module, crease/venue_toss.py, starts with a function that adds the facts every later function needs: who batted first, who chased, whether the toss winner won.
def match_context(matches: pd.DataFrame, decided_only: bool = True) -> pd.DataFrame:
"""Add who batted first, who chased, and the toss facts to a matches table."""
m = matches.copy()
other = np.where(m["toss_winner"] == m["team1"], m["team2"], m["team1"])
m["bat_first"] = np.where(m["toss_decision"] == "bat", m["toss_winner"], other)
m["chasing"] = np.where(m["bat_first"] == m["team1"], m["team2"], m["team1"])
m["chose_field"] = m["toss_decision"] == "field"
...
if decided_only:
m = m[m["result"] == "win"].copy()
m["toss_won"] = m["winner"] == m["toss_winner"]
m["chase_won"] = m["winner"] == m["chasing"]
m["chaser_won_toss"] = m["toss_winner"] == m["chasing"]
return m
On top of that, toss_table() reports the toss winner's win percentage with a Wilson interval (a confidence interval for a proportion that behaves well even when the sample is small or the rate is near 0 or 100%) and a binomial test against 50%. Script 01_toss_experiment.py runs it for every limited-overs competition in the snapshot. Internationals are restricted to matches between the 12 full members, so that mismatches against associate teams don't muddy the picture.
for code, label in LABELS.items():
m = load_matches(code)
if code in INTERNATIONAL:
m = m[m["team1"].isin(FULL_MEMBERS) & m["team2"].isin(FULL_MEMBERS)]
t = vt.toss_table(m).iloc[0]
rows.append({"competition": label, **t.to_dict()})
The output.
=== Toss winner's win % (decided matches; internationals between full members) ===
matches toss_win_pct lo95 hi95 p_value chose_field_pct
competition
IPL 1218 51.6 48.8 54.4 0.289 66.5
Big Bash 647 53.0 49.2 56.8 0.135 61.7
PSL 350 58.6 53.3 63.6 0.002 75.4
CPL 436 54.6 49.9 59.2 0.062 76.6
SA20 122 51.6 42.9 60.3 0.786 53.3
The Hundred 375 50.4 45.4 55.4 0.918 73.3
ILT20 132 59.1 50.6 67.1 0.045 91.7
MLC 108 54.6 45.2 63.7 0.387 79.6
BPL 466 48.5 44.0 53.0 0.547 69.1
LPL 137 48.9 40.7 57.2 0.864 58.4
T20 Blast 1506 49.5 46.9 52.0 0.699 62.2
Syed Mushtaq Ali 686 50.7 47.0 54.5 0.731 62.2
WPL (women) 87 55.2 44.7 65.2 0.391 77.0
WBBL (women) 500 48.8 44.4 53.2 0.623 65.0
Men's T20Is (FM) 1090 50.6 47.6 53.5 0.739 61.8
Women's T20Is (FM) 687 55.0 51.3 58.7 0.009 50.8
Men's ODIs (FM) 1965 49.7 47.5 51.9 0.787 49.8
Women's ODIs (FM) 538 48.9 44.7 53.1 0.635 50.2
All limited-overs above: 11,050 matches, toss winner won 51.1% [50.2, 52.1]
All T20/100-ball above: 8,547 matches, toss winner won 51.6% [50.5, 52.7]

📊 Figure (described): A forest plot with one row per competition. Each row shows the toss winner's win percentage as a dot (bigger dots for more matches; women's competitions as orange diamonds) and its 95% interval as a horizontal line, against a dashed line at 50%. Most intervals cross 50%; the IPL, the T20 Blast, men's T20Is and men's ODIs sit within about two points of it. Only the PSL, ILT20 and women's T20Is have intervals entirely to the right of 50%, and the ILT20's barely.
What it means. Pool every limited-overs match in the snapshot, all 11,050 of them, and the toss winner won 51.1%. That is a real effect, because the interval (50.2 to 52.1) excludes 50%. But it is small. A toss is worth about one percentage point of win probability in white-ball cricket, in round terms. In T20 and 100-ball cricket it is about one and a half (51.6%). In men's ODIs between full members it is nothing at all (49.7%, from 1,965 matches).
The IPL, the competition where commentators talk most about the toss, comes in at 51.6% from 1,218 decided matches, with an interval of 48.8 to 54.4. You can't rule out a toss value of zero in the IPL, and you can rule out anything above about four or five points.
⚠️ Common pitfall: shopping for significance. The table has 18 competitions. Three have p-values below 0.05: the PSL (0.002), women's T20Is (0.009) and the ILT20 (0.045). Is that three discoveries? If the toss were worth exactly nothing everywhere, you'd expect 18 × 0.05 = 0.9 competitions to cross the 0.05 line by luck alone. So three is a little more than chance, but not much. The simplest correction, Bonferroni, divides the threshold by the number of tests (0.05 ÷ 18 = 0.0028), and only the PSL survives it. The ILT20's 59.1% comes from 132 matches; its interval runs from 50.6 to 67.1. Say "the PSL's toss effect is worth investigating", not "the toss decides ILT20 matches". Chapter 6 warned about exactly this: if you look at enough small samples, some of them will look extraordinary. Case Study 1 takes the PSL apart properly.
The women's T20I figure deserves a second look, because it's large (55.0% from 687 matches). The script splits it by period:
Women's T20Is (full members) by period:
2009-16: 153 matches, toss winner won 58.2% [50.2, 65.7]
2017-21: 185 matches, toss winner won 50.8% [43.7, 57.9]
2022-26: 349 matches, toss winner won 55.9% [50.6, 61.0]
The effect isn't steady. It was large early on, vanished in the middle period and came back. A real mechanism such as dew or a pitch that quickens under lights would show up in every period. A pattern that comes and goes is more consistent with noise around a small true effect, though the recent 55.9% is worth tracking as more matches arrive. Notice also that women's T20I captains chose to field only 50.8% of the time, far less than the 60–75% in men's T20 leagues. Women's captains, as a group, haven't treated fielding first as the default.
🔍 Why this works: checking the coin. The whole argument rests on the toss being random. Can we check? Yes. If the toss is fair, toss winners should be no stronger than toss losers before the match. The script measures each IPL team's win percentage in the previous season and compares the two groups:
text IPL randomisation check (previous-season win % of each side): pairs 972, toss winners 49.7%, toss losers 49.8%, paired t-test p = 0.9649.7% against 49.8%, from 972 matches. The groups are the same, as they should be. This is called a balance check, and every randomised trial runs one. It's what makes the toss's 1.6-point edge in the IPL a causal number and not just a correlation. Compare Anchor C from Chapter 4: Rohit Sharma averages 58.46 in ODIs India won and 36.01 in ones they lost. Matches aren't sorted into wins and losses at random, so that gap mixes cause with selection. The toss has no such problem.
22.2 What the Toss Is Worth, Format by Format
The cricket question. Is the toss worth more in some formats than others, and why would it be?
Think about what the toss winner actually gets: the right to choose whether to bat first or second. That choice can only help if the two halves of the match are played in different conditions. Three things can make them different:
- The pitch changes during the match. It might wear and turn, crack, slow down, or flatten out as the sun bakes it.
- The weather or light changes. Cloud might clear in the afternoon, dew might settle in the evening, or floodlights might help the seamers.
- The scoreboard changes the game. The side batting second knows its target, so it can pace a chase. The side batting first has to guess what a par score is.
In a T20 match, the two innings are about an hour and a half apart, so the pitch barely changes, and the main differences are (2) and (3). In an ODI they're about four hours apart, which can mean a day-to-night transition. In a Test the four innings are spread over up to five days, and (1) dominates. So we should expect the toss to matter least where the match is shortest, unless evening conditions are strong. Then it should matter most in Tests.
The white-ball results fit that only partly. The toss is worth about 1.6 points in T20 (51.6% across 8,547 T20 and 100-ball matches) and nothing in men's ODIs (49.7%). The longer format shows the smaller effect. One explanation is that ODI pitches in the snapshot are mostly prepared to last 100 overs, and that day/night ODIs, where the light and dew change, are mixed with day games in the data, which has no way to tell them apart (§22.4). Another is simply that the true effects in both formats are close to zero and the difference between 1.6 and −0.3 points is mostly noise. With these sample sizes we can't separate the two explanations. What we can say firmly is that in white-ball cricket the toss is worth less than two percentage points on average.
Tests are different, and they get their own section (§22.5). There, the toss winner won 54.2% of decided Tests, about four points above a coin flip, and that's a lower bound on what the decision is worth, for reasons we'll see.
🔄 Check your understanding
- Why is the toss winner's win percentage a causal estimate, when a batter's average in wins vs losses is not?
- In the IPL the 95% interval for the toss winner's win % is 48.8 to 54.4. Can you say that winning the toss helps IPL teams? Can you say it helps them by less than five points?
- Three of 18 competitions have p < 0.05. Why is that weak evidence that the toss matters in those three?
Answer
- The toss is assigned by a coin, so toss winners and losers are alike in everything except the toss (the balance check confirms it: 49.7% vs 49.8% previous-season win rates). A team's results are not randomly assigned to "wins" and "losses"; a batter scores more in wins partly because scoring more causes wins.
- No to the first: the interval includes 50%, so a toss value of zero is consistent with the data. Yes to the second, with 95% confidence: the upper end is 54.4%, a toss value of 4.4 points.
- With 18 tests, about 0.9 would fall below 0.05 by chance even if the toss were worthless everywhere. Three is a little more than that, but only the PSL survives a Bonferroni correction (p below 0.0028).
22.3 The Toss Is Random; the Decision Is Not
The cricket question. IPL captains now choose to field first about four times in five. Is that the right call?
You might think the data answers this directly: compare the toss winners who chose to bat with the ones who chose to field. Script 02_toss_decision.py does that comparison first, by era:
=== IPL: the toss decision by era (decided matches) ===
matches chose_field_% chase_win_% toss_win_% toss_win_%_if_bat toss_win_%_if_field n_bat n_field
era
2008-15 508.0 51.2 53.5 50.0 46.4 53.5 248.0 260.0
2016-22 424.0 77.4 57.3 54.0 42.7 57.3 96.0 328.0
2023-26 286.0 77.6 52.8 50.7 45.3 52.3 64.0 222.0
All IPL:
matches 1218.0
chose_field_% 66.5
chase_win_% 54.7
toss_win_% 51.6
toss_win_%_if_bat 45.3
toss_win_%_if_field 54.7
n_bat 408.0
n_field 810.0
Toss winners who chose to field won 54.7%; toss winners who chose to bat won 45.3%. That looks like a nine-point verdict for fielding first. It isn't one, and the reason is the most important idea in this section.
🧩 Productive struggle. Before reading on, think about who chooses to bat first after winning the toss in an era when nearly everyone fields. Write down two reasons a captain might go against the crowd. Then ask: would those reasons make the "chose to bat" group's results better or worse than a random team's? And can you think of a comparison that would tell you whether choosing to chase helps, as opposed to chasing itself?
Captains don't choose at random. A captain bats first when he sees something: a dry pitch likely to slow down, a strong spin attack to defend with, a forecast, a team built to set totals. Or the decision may follow a habit, or a hunch, or a franchise's analytics. The "chose to bat" group is a self-selected group, and its results reflect the conditions that led to the choice as much as the choice itself. That's confounding again, the very thing the toss was supposed to rescue us from. The coin randomises who chooses. It doesn't randomise what they choose.
Here's a comparison that does help. In every match, one side chases. Sometimes the chasing side chose to chase (it won the toss and fielded). Sometimes it was sent in to chase (it lost the toss and the other captain chose to bat). If the decision carries real information (if captains can see, at the toss, which matches favour the chaser), then chasers who chose to chase should do better than chasers who were sent in.
IPL: chasers who CHOSE to chase won 54.7% [51.2-58.1] (n=810); chasers SENT IN to chase won 54.7% [49.8-59.4] (n=408)
Men's T20Is FM: chasers who CHOSE to chase won 50.0% [46.2-53.8] (n=674); chasers SENT IN to chase won 48.6% [43.8-53.4] (n=416)
In the IPL, the two numbers are identical to one decimal place: 54.7% and 54.7%. Chasing sides win about 55% of IPL matches whether they chose to chase or were made to. So the IPL's "nine-point verdict" above is really the chase advantage seen from two sides. A toss winner who fields becomes the chaser and wins 54.7%; a toss winner who bats makes the other side the chaser, who also wins 54.7%, leaving the toss winner 45.3%. The decision hasn't added information. Captains as a group have been no better than a coin at picking which IPL matches suit the chaser.
That suggests a simple rule for the IPL in this data: field first. Chasing has been worth about five points (54.7% from 1,218 decided matches; the interval excludes 50%), and since captains can't tell which matches favour chasing, they should take it every time. Most of them now do: 77.6% fielded in 2023–2026.
Men's T20Is are different. Chasers won 49.4% of decided T20Is between full members, so there is no chase advantage at all. International captains still chose to field 61.8% of the time.
The model. The same idea in a regression. chase_logit() fits a logistic regression, a model for a yes/no outcome in which each feature shifts the log-odds of "yes" by its coefficient. Here the outcome is "the chasing side won", and the features are whether the chaser won the toss, whether the chaser was at home (§22.8 explains how home is inferred for franchises), and era dummies:
ipl["chaser_home"] = np.select([ipl["home_team"] == ipl["chasing"],
ipl["home_team"] == ipl["bat_first"]], [1, -1], 0)
fit = vt.chase_logit(ipl, ["chaser_won_toss", "chaser_home", "era_2016-22", "era_2023-26"])
=== IPL logistic regression: P(chasing side wins) ===
coef se p odds_ratio
const 0.164 0.111 0.138 1.178
chaser_won_toss -0.011 0.127 0.928 0.989
chaser_home 0.174 0.072 0.015 1.190
era_2016-22 0.142 0.137 0.300 1.153
era_2023-26 -0.031 0.152 0.836 0.969
Implied P(chaser wins), 2008-15, neutral venue: lost toss 54.1% | won toss 53.8%
n = 1218, log-likelihood -835.0, null -838.9, McFadden pseudo-R2 0.0046
The toss coefficient is −0.011 with a standard error of 0.127: indistinguishable from zero. Home matters (odds ratio 1.19, p = 0.015; more in §22.8). The eras don't differ significantly. And the whole model, with toss, home and era, has a McFadden pseudo-R² of 0.0046. Pseudo-R² compares the model's log-likelihood with a model that knows nothing; 0 means no improvement and 1 means perfect prediction. A value of 0.0046 says that these non-player factors explain about half of one percent of what there is to explain about IPL results.

📊 Figure (described): Two lines across IPL seasons 2008–2026. The blue solid line (toss winners choosing to field) swings between 34% and 70% in 2008–2015, jumps above 80% in 2016–2019, dips to 53.6% in the 2020 UAE season, and sits at 71–83% since. The orange dashed line (chasing side's win %) bounces between 42.9% (2015) and 68.3% (2016) with no trend, mostly inside a grey band showing the range a fair coin would produce in a 60–74-match season. Captains changed their behaviour; the results stayed in the coin-flip band.
IPL by season (field %, chase win %):
year 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
field 55.2 37.5 33.9 66.7 50.0 40.5 69.5 55.4 81.7 82.8 83.3 84.2 53.6 74.6 79.7 71.2 73.2 82.9 83.3
chase 62.1 53.6 47.5 55.6 54.1 50.0 62.7 42.9 68.3 55.2 53.3 61.4 51.8 62.7 50.0 45.2 50.7 52.9 62.5
Correlation across seasons, field % vs chase win %: 0.41
(These season figures are calendar years and include matches decided by the DLS method, so they differ slightly from IPL tables that exclude rain-affected games.)
Look at 2016: 81.7% of toss winners fielded and chasers won 68.3%. A captain looking at that season would conclude that chasing is a huge advantage. The next three seasons were 55.2%, 53.3% and 61.4%; 2023 was 45.2%. A single season of 60 matches has a coin-flip standard error of about six or seven points, so 68.3% is barely two standard errors from 55%. The correlation of 0.41 across seasons, between how often captains fielded and how often chasers won, tempts a story ("captains follow the evidence"), but with 19 points and enormous season-to-season noise it's weak evidence of anything.
⚠️ Common pitfall: reading a decision's value off its results. "Teams that chose to field won 54.7%, teams that chose to bat won 45.3%, so fielding is worth nine points." The arithmetic is right; the inference is wrong twice over. First, those two numbers aren't independent. They're the same chase advantage counted once from each side. Second, the decision is chosen with information the analyst can't see. The fair comparison holds the situation fixed and varies only the choice: chasers who chose to chase vs chasers sent in to chase. The same trap appears whenever a choice is made by someone who knows something you don't, such as captains declaring in Tests (Chapter 33) or coaches picking the XI (Chapter 21).
22.4 Day, Night and Dew: What the Data Cannot See
The cricket question. Everybody "knows" that in evening matches in India, dew settles on the outfield, the ball gets wet, spinners can't grip it, and the chasing side has it easier. Can we test that?
Start with what Cricsheet records, and what it doesn't. The match files have a date, a venue and a city. They don't have a start time, a day/night flag, temperature, humidity, dew point, cloud cover or wind. Ball-by-ball records don't say whether the ball was wet or whether the bowler was using a towel. Any direct test of the dew hypothesis would need those things, and we don't have them.
What we can do is infer something about time of day from the schedule. On IPL double-header days (one match in the afternoon, one in the evening), the afternoon game is played first and gets the lower match number. So on any date with two IPL matches, the lower-numbered one was the afternoon game. That's an inference from scheduling convention, not a recorded fact, and the chapter's function says so in its docstring:
def ipl_slot(matches: pd.DataFrame) -> pd.Series:
"""Inferred IPL time slot: 'afternoon', 'evening' or 'single' (one match that day).
Cricsheet stores no start time. On IPL double-header days the earlier (afternoon) game
carries the lower match number ... This is an inference from the schedule, not a recorded fact.
"""
n = matches.groupby("start_date")["match_id"].transform("size")
rank = matches.groupby("start_date")["match_number"].rank(method="first")
out = np.where(n == 1, "single", np.where(rank == 1, "afternoon", "evening"))
Single-match days were usually evening games in the IPL, but the data doesn't say so, and a few single-match days could be anything. So we leave them in their own group and do the clean comparison: afternoon vs evening on the same double-header days, which also holds the date roughly constant.
The data gives us one way to check that the inference means something. If captains believe in evening dew, they should field first more often in the evening game than in the afternoon game. Script 03_dew_slots.py restricts to IPL matches played in India (dew talk is about Indian evenings) and splits by slot:
Inferred slots (all IPL matches): {'single': 651, 'afternoon': 296, 'evening': 296}
=== IPL in India, decided matches, by inferred slot ===
matches chose_field_% chase_win_% chase_lo chase_hi toss_win_%
slot
afternoon 252 55.2 55.6 49.4 61.6 49.6
evening 246 69.5 51.2 45.0 57.4 54.9
single 558 74.6 55.4 51.2 59.5 50.7
Evening minus afternoon chase win %: -4.3 points (95% CI -13.1 to +4.4)
Evening minus afternoon 'chose to field' %: +14.4 points (chi-square p = 0.0013)
The validation works. In the evening half of a double-header, toss winners chose to field 69.5% of the time; in the afternoon half, 55.2%. That 14.4-point difference is very unlikely to be chance (p = 0.0013), and it is exactly what you'd expect if captains believe evening conditions favour chasing. So the slot inference is picking up something real about the time of day.
Now the test. If evening dew helps chasers, evening chasers should win more often than afternoon chasers. They won less often: 51.2% in the evening, 55.6% in the afternoon. The difference, −4.3 points, has a 95% interval from −13.1 to +4.4, so the data can't rule out a small evening advantage of up to about four points. But it gives no support at all to a large one, and the point estimate goes the "wrong" way.

📊 Figure (described): Left panel: bars for the share of toss winners who chose to field, rising from 55.2% (afternoon game of a double-header) to 69.5% (evening game) and 74.6% (single-match days). Right panel: the chasing side's win percentage with 95% intervals: 55.6% afternoon, 51.2% evening, 55.4% single-match days, all intervals overlapping and the evening one sitting lowest. Captains act as though evening chases are easier; the results don't show it.
A second test looks inside the match. If dew makes the ball harder to grip as the evening goes on, the second innings should score faster, relative to the first innings of the same match, at night than in the afternoon. To avoid the end of a chase distorting things (a side cruising to a small target slows down; one chasing a big one speeds up), the comparison uses overs 1–15 of each innings only:
Second-innings minus first-innings run rate, overs 1-15 (full-length games in India):
mean sem size
slot
afternoon 0.014 0.098 243
evening 0.090 0.108 242
single 0.254 0.077 541
Evening vs afternoon difference: +0.08 rpo, Welch p = 0.60
In afternoon games the second innings scored at the same rate as the first through 15 overs (+0.01 runs per over). In evening games it scored +0.09 faster. The difference, +0.08 runs per over, is in the direction the dew hypothesis predicts, but it's tiny (about a run and a quarter over 15 overs) and well within noise (p = 0.60). Single-match days show a larger gap (+0.25), but they also differ from double-header days in other ways (weekdays, and a different mix of seasons and venues), so we can't put that down to dew.
So what do we conclude? Not that dew doesn't exist. Dew is a physical fact, and on some nights at some grounds it must change how the ball behaves. What the data says is narrower: averaged over hundreds of IPL games, evening matches don't favour the chasing side by enough to show up in results. That could be because dew is strong only on particular nights at particular grounds, and those nights are diluted by dry ones. It could be because captains and groundstaff already counter it (practising with a wet ball, anti-dew sprays on the outfield, picking the decision on the night). Or the effect may be smaller than its reputation. A franchise with dew-point readings, which can be bought from weather services and recorded at the ground, could test the first explanation directly. Public ball-by-ball data can't.
🏏 Eye test: Wendell Baptiste bowled seam in Trinidad for fifteen years, and he wasn't having it. "You've averaged the dew away. Some nights in Port of Spain the ball was a bar of soap by the fifteenth over. Other nights nothing. You put both in one number and tell me it's nothing." He's describing a real problem: an average effect can be small because the effect is large on a few nights and absent on most. The data supports a sharper version of his point. Captains field 14 points more often in evening games, so they're clearly acting on something. If they could tell the soap nights from the dry nights at the toss, chasers who chose to chase in the evening would beat chasers sent in to chase. §22.3 found no such gap across the IPL as a whole. So either the soap nights are rare, or nobody can see them coming at 7 p.m. The coach who walks out at the toss, feels the grass and looks at the sky has information the ball-by-ball file lacks. Theme 5 of this book says that's exactly where the eye test earns its place. The data's job is to keep the eye honest about how often it's right.
⚠️ Common pitfall: treating an absence of data as an absence of effect. "Cricsheet has no dew, so dew doesn't matter" is wrong. "Our proxy for evening found no effect, so dew doesn't matter" is also too strong, because the proxy (afternoon vs evening game) is a blunt instrument for a night-by-night phenomenon. The honest statement is: "the average evening effect on IPL chase results is at most a few points, and the data cannot say on which nights it is large." Write findings at the resolution your data actually has.
The same inference works for other leagues that play double-headers. The Project Checkpoint applies it to the BPL. But it can't help with international cricket: day/night ODIs and Tests (the pink-ball Tests) are listed in Cricsheet with the same fields as day matches, and there's no reliable way to separate them from the data alone. Any claim in this book about day/night internationals would need a hand-built list of which matches were played under lights. Exercise E2 asks you to build one for a single series and test it.
🔄 Check your understanding
- Why does the 14.4-point difference in "chose to field" between evening and afternoon games make us more confident in the slot inference?
- The evening–afternoon difference in chase win % is −4.3 points with interval −13.1 to +4.4. What is the largest evening chase advantage the data is consistent with?
- Name one reason dew could matter a lot on specific nights yet barely move the average.
Answer
- If the inferred slots were random labels, captains' behaviour wouldn't differ between them. A large, significant difference in what captains choose shows that the labels line up with something captains perceive about the time of day.
- About +4.4 points, the upper end of the 95% interval.
- Any of: heavy dew occurs on only a minority of nights or grounds, so averages dilute it; teams counter it (wet-ball practice, outfield sprays); captains can't identify dew nights at the toss, so choice doesn't capture it; the second-innings team's tactics change for other reasons.
22.5 The Toss in Test Cricket: Batting on Day One, Bowling on Day Five
The cricket question. In Tests, the side that bats first also bats third, and the side that bats second bats last, on a pitch that has had four days of wear. How much is that worth, and does the old rule "win the toss, bat first" still hold?
An old piece of cricket advice, usually attributed to W. G. Grace, says that if you win the toss you should bat, and if you're in doubt you should think about it and then bat. The logic is the pitch. A Test pitch is at its best for batting early, before footmarks, cracks and wear give the spinners something to work with and the bounce becomes uneven. The side batting first gets the best of it. The side batting fourth gets the worst.
Script 04_test_toss.py first checks that the wear is real. It computes runs per wicket (all runs, including extras, divided by wickets that fell) for each innings number across men's Tests between full members in the snapshot:
=== Runs per wicket by innings number, by conditions (full-member Tests, whole snapshot) ===
innings 1 2 3 4
conditions
Other 37.01 33.67 26.70 23.10
SENA 36.02 32.35 30.71 28.49
Subcontinent 37.76 35.91 29.42 27.54
UAE 38.32 34.37 33.84 27.66
West Indies 34.16 30.45 28.88 26.08
All conditions: {1: 36.53, 2: 33.43, 3: 30.07, 4: 27.72}
Runs per wicket fall from 36.53 in the first innings to 27.72 in the fourth, a drop of about a quarter. ("SENA" is the book's shorthand for South Africa, England, New Zealand and Australia; "Subcontinent" is India, Pakistan, Sri Lanka and Bangladesh; Pakistan's matches in the UAE have their own bucket. See Appendix F.) The steepest fall between the second and third innings is in the subcontinent (35.91 to 29.42), which fits the conventional picture of pitches that break up and turn. SENA pitches lose less across the match (36.02 to 28.49).

📊 Figure (described): Runs per wicket (y-axis) against innings number 1–4 (x-axis), one line each for SENA (blue, solid), subcontinent (orange, dashed) and West Indies (green, dotted), plus a thin grey line for all conditions. Every line slopes down. The subcontinent line starts highest (37.76) and falls most steeply after the second innings; the West Indies line starts lowest (34.16). By the fourth innings all three are between 26 and 29.
Be careful with this table. The fall isn't only the pitch. Fourth innings include desperate slogs at the end of lost causes and defensive blocks to save draws, and third innings include quick runs before a declaration. Both change the runs-per-wicket figure without any change in the surface. So the 25% fall is the combined effect of wear and of the different jobs each innings does. Chapter 10 found the same shape for individual top-order batters (average 41.97 in the first innings, 30.20 in the fourth) and the same caution applies.
Now the results. The toss, again, is randomised, so the toss winner's record is causal:
Tests between full members: 898 (169 draws)
=== Toss winner, all Tests ===
outcome won drawn lost matches won_of_decided
count 44.0 18.8 37.2 898 54.2
Toss winner won 395 of 729 decided Tests = 54.2%, binomial p = 0.026
=== Toss winner by decision ===
outcome won drawn lost matches won_of_decided
toss_decision
bat 46.1 19.1 34.8 612 57.0
field 39.5 18.2 42.3 286 48.3
In Tests, the toss winner won 44.0%, drew 18.8% and lost 37.2%. Among decided Tests that is 54.2%, and the excess over 50% is unlikely to be chance (p = 0.026). That's at least twice the toss value of any white-ball format in the snapshot.
The decision split is interesting even though it isn't causal. Toss winners who batted won 57.0% of their decided Tests; toss winners who fielded won 48.3%, less than half. Captains who chose to bowl first, as a group, would have done better to lose the toss. Recall the §22.3 warning: captains bowl first when they see something (a green pitch, cloud, a strong seam attack), and those conditions might also make the match harder in ways that have nothing to do with the decision. But the direction is notable. In the IPL the "chose to field" group did well because chasing was genuinely good. In Tests the "chose to field" group did badly even though captains chose it for reasons. That's hard to explain unless captains overrate how long first-day conditions last.
Split by where the Test was played:
=== Toss winner by conditions x decision (SENA and Subcontinent) ===
outcome won drawn lost matches won_of_decided
conditions toss_decision
SENA bat 49.6 15.0 35.4 260 58.4
field 40.0 15.9 44.1 195 47.6
Subcontinent bat 42.6 21.1 36.3 251 54.0
field 43.9 24.4 31.7 41 58.1
In SENA Tests, toss winners chose to field 195 times out of 455 (42.9%), and those who did lost more often than they won (40.0% won, 44.1% lost). Toss winners who batted won 49.6% and lost 35.4%. In the subcontinent, toss winners fielded only 41 times in 292 (14.0%). When they did, it worked fine (43.9% won, 31.7% lost), though 41 Tests is a small sample. The subcontinent captains' strong preference for batting first is consistent with pitches that deteriorate. The SENA captains' frequent choice to bowl first is the puzzle.

📊 Figure (described): Four stacked bars (won in blue at the bottom, drawn in grey dotted, lost in orange hatched at the top) for toss winners in SENA who batted (n=260: 50% won, 35% lost), SENA who fielded (n=195: 40% won, 44% lost), subcontinent who batted (n=251: 43% won, 36% lost) and subcontinent who fielded (n=41: 44% won, 32% lost). The SENA "chose to field" bar is the only one where the lost segment is larger than the won segment.
Imran Qureshi, who runs analytics for Headingley Road CC in Leeds, read that table on the club balcony.
Imran: Half my members would bowl first at our ground in May without looking at the pitch. Cloud, a new Dukes ball, a bit of grass. It feels criminal to bat.
Narrator: And in Tests between full members in SENA conditions, the toss winners who did that won 40% and lost 44%.
Imran: Because the conditions are hard for both sides. If you bowl them out for 200 and then get bowled out for 180, you've wasted the toss.
Narrator: That's one explanation. Another is that the first session's movement doesn't last, and the side that bowled first ends up batting last on the worst of the pitch. The data can't separate those. Cricsheet has no cloud cover and no grass. What it can say is that across 195 SENA Tests the choice didn't pay on average.
Imran: So you'd tell my captain to bat.
Narrator: I'd tell him the default should be to bat, and that the burden of proof sits with the green pitch, not with the old rule.
Batting first, by era. The toss winner's record is causal, but "side batting first" is the quantity cricket argues about. It's not randomised, but it's still worth seeing how it has moved:
=== Side batting first, by era ===
outcome won drawn lost matches won_of_decided chose_field_%
era
2001-10 38.6 25.5 35.9 259 51.8 28.6
2011-18 50.0 19.7 30.3 350 62.3 31.1
2019-26 44.3 11.8 43.9 289 50.2 35.6
In 2011–2018 the side batting first won 62.3% of decided Tests. In 2019–2026 that fell to 50.2%, exactly a coin flip, while toss winners chose to field more often than ever (35.6%). Draws also collapsed, from 25.5% of Tests in 2001–10 to 11.8% in 2019–26. Faster scoring (the Test run rate rose to 3.66 in 2024, the highest in the snapshot's annual table) means more matches finish, and more of them finish in the fourth innings, when chasing sides have to make whatever target they're set. The advantage of batting first seems to have shrunk in the modern game. With about 290 Tests per era, the 12-point drop in decided-match win % for the side batting first is large enough to take seriously, but not so large that you'd bet the next decade on it.
How hard is the fourth innings? The same script reconstructs every fourth-innings target (Cricsheet stores no target for Tests, so it's derived from the innings totals) and tabulates results:
=== Fourth-innings chases (full-member Tests): result by target ===
out won drawn lost n
band
1-150 94.4 2.1 3.5 142
151-200 75.5 5.7 18.9 53
201-250 39.2 23.5 37.3 51
251-300 24.7 28.4 46.9 81
301+ 5.1 17.8 77.1 332
Below 150, the chasing side wins 94.4% of the time. Between 151 and 200, three in four. Above 300, 5.1%. The steepness of that ladder is the deteriorating pitch made visible: a target of 250 is about two-thirds of the first-innings runs per wicket times ten, and it's won less than a third of the time.
📋 Try it — Settle this debate. A friend says: "In Tests you should always bat first if you win the toss." Using only the numbers in this section, write four sentences that (a) state the causal evidence that winning the toss matters in Tests, (b) state what the data says about choosing to bowl in SENA conditions, (c) explain why that second number isn't causal, and (d) say how the modern era complicates the rule.
Worked answer
(a) Toss winners won 54.2% of 729 decided Tests between full members (p = 0.026), and because the toss is random, that four-point edge is caused by winning it. (b) In SENA Tests, toss winners who chose to field won 40.0% and lost 44.1% (195 Tests), while those who batted won 49.6% and lost 35.4% (260 Tests). (c) Captains choose to bowl when they see helpful conditions, so the "chose to field" group isn't a random sample and its results mix the decision with the conditions that prompted it. Even so, a choice made with that information still failing to pay on average is a warning against bowling first by reflex. (d) In 2019–2026 the side batting first won only 50.2% of decided Tests (down from 62.3% in 2011–18), so "always bat" is a weaker rule than it used to be, though not one the data says to abandon.
🔄 Check your understanding
- Runs per wicket fall from 36.53 (first innings) to 27.72 (fourth). Give one reason that fall overstates pitch wear and one reason it might understate it.
- Why is the toss winner's 54.2% causal but the batting-first side's 62.3% (2011–18) not?
- What happened to the Test draw rate between 2001–10 and 2019–26, and why does that matter for the toss?
Answer
- Overstates: fourth innings include slogs in lost causes and blocks to save draws; third innings include quick declaration runs. Understates: the fourth-innings side often bats with the most to play for and the best players fully engaged in a chase, and the strongest teams (who win more) may bowl last more often.
- Who wins the toss is random. Who bats first depends on the toss winner's choice, which depends on conditions and team make-up.
- It fell from 25.5% to 11.8%. More Tests now reach a fourth-innings result, so whichever side has to bat last on a worn pitch more often faces a decisive chase instead of batting out time.
22.6 Venues: Separating the Ground From the Noise
The cricket question. Everybody knows Bengaluru's M Chinnaswamy Stadium is a run-fest and Chennai's MA Chidambaram (Chepauk) is a spinners' ground. How big are those effects really, and how much of a ground's reputation is a handful of memorable matches?
Start with the raw picture for the impact-player era, IPL 2023–2026. Script 05_venue_model.py uses only full-length games (no DLS revision and no reduced overs, so every first innings had 20 overs available). That leaves 1,203 of the IPL's 1,243 matches across all seasons.
=== IPL 2023-26, venues with 8+ full-length games ===
matches avg_1st chase_win_%
venue_short
Himachal Pradesh Cricket Association Stadium 9 214.4 33.3
Eden Gardens 26 197.4 48.0
Rajiv Gandhi International Stadium 25 197.1 48.0
Wankhede Stadium 27 196.7 55.6
Sawai Mansingh Stadium 21 194.5 57.1
M Chinnaswamy Stadium 23 194.5 52.2
Arun Jaitley Stadium 26 193.4 52.0
Narendra Modi Stadium 33 191.6 45.5
Maharaja Yadavindra Singh International Cricket Stadium 17 186.6 52.9
Bharat Ratna Shri Atal Bihari Vajpayee Ekana Cricket Stadium 27 175.4 61.5
MA Chidambaram Stadium 31 172.7 61.3
Dharamsala (the HPCA Stadium) tops the list at 214.4 from nine matches. Chepauk and Lucknow's Ekana are at the bottom, around 173–175, and chasers won 61% at both. Those are the kinds of numbers that turn into broadcast graphics and betting lines. The first question is how many of them would survive another four seasons.
The model. Treat each first-innings total as the season's average plus a venue effect plus noise. Express each total relative to its season's mean, so that a 180 in 2010 and a 180 in 2026 aren't treated the same: the IPL's average first-innings score rose from the 150s and 160s to 195.7 in 2026. A venue's raw effect is the mean of its matches' residuals. Then shrink it.
📐 Definition — venue effect (first innings). For full-length limited-overs games, residual = first-innings total − that season's mean first-innings total. A venue's raw effect is the mean residual over its n games. Its shrunk effect is raw × n / (n + k), where k = σ² / τ²: σ is the game-to-game standard deviation of residuals and τ is the true spread of venue effects, estimated by method of moments (observed variance of venue means minus the variance noise alone would produce). k is the number of games a venue needs before its own record carries half the weight.
This is the same normal–normal shrinkage Chapter 6 used for strike rates, with games in place of balls. The function:
def venue_effects(totals, value="inn1", season_col="season", k=None, min_matches=5):
t = totals.copy()
t["resid"] = t[value] - t.groupby(season_col)[value].transform("mean")
sigma2 = float(t["resid"].var())
g = t.groupby("venue_short").agg(matches=("resid", "size"), raw=("resid", "mean"), ...)
g = g[g["matches"] >= min_matches]
if k is None:
k = _shrink_k(g["raw"], g["matches"], sigma2) # sigma^2 / tau^2
g["shrunk"] = g["raw"] * g["matches"] / (g["matches"] + k)
g["reliability"] = g["matches"] / (g["matches"] + k)
...
venue_name() merges grounds that changed name: Feroz Shah Kotla became the Arun Jaitley Stadium, the Punjab Cricket Association Stadium in Mohali became the PCA IS Bindra Stadium, and so on. Without that, one ground would be split into two noisy halves.
Season-adjusted first-innings venue effects, 2008-26 (venues with 5+ games): 30 venues
Per-game SD of residual sigma = 30.6 runs; true venue SD tau = 3.5 runs; k = 75.0 games
matches first last mean_value raw shrunk reliability
venue_short
M Chinnaswamy Stadium 95 2008 2026 178.7 8.7 4.9 0.56
Himachal Pradesh Cricket Association Stadium 18 2010 2026 195.1 20.2 3.9 0.19
Brabourne Stadium 27 2010 2022 178.5 9.6 2.6 0.26
Wankhede Stadium 131 2008 2026 173.3 3.3 2.1 0.64
Punjab Cricket Association IS Bindra Stadium 59 2008 2023 168.9 4.2 1.9 0.44
Arun Jaitley Stadium 100 2008 2026 173.5 3.2 1.8 0.57
Eden Gardens 99 2008 2026 172.5 1.5 0.9 0.57
St George's Park 7 2009 2009 159.0 8.7 0.7 0.09
...
matches first last mean_value raw shrunk reliability
venue_short
Barsapara Cricket Stadium 7 2023 2026 171.6 -18.8 -1.6 0.09
Shaheed Veer Narayan Singh International Stadium 8 2013 2026 154.5 -16.7 -1.6 0.10
Dr DY Patil Sports Academy 37 2008 2022 159.6 -6.7 -2.2 0.33
Zayed Cricket Stadium 37 2014 2021 158.9 -7.3 -2.4 0.33
MA Chidambaram Stadium 98 2008 2026 165.6 -4.9 -2.8 0.57
Bharat Ratna Shri Atal Bihari Vajpayee Ekana Cricket Stadium 27 2023 2026 175.4 -15.1 -4.0 0.26
The key numbers are on the first line. A single IPL first innings varies around its season average with a standard deviation of 30.6 runs. The true spread of venue effects is only 3.5 runs. So one match tells you very little about a ground, and k = 75 games: a venue needs 75 full-length IPL games before its own average deserves as much weight as the league's. Only the biggest grounds (Wankhede with 131, Arun Jaitley with 100, Eden Gardens with 99, Chepauk with 98, Chinnaswamy with 95) have got there.
After shrinkage, the Chinnaswamy is the IPL's highest-scoring ground at about +5 runs per first innings (raw +8.7 from 95 games). Dharamsala's spectacular raw +20.2 from 18 games shrinks to +3.9. Lucknow's Ekana is the lowest at about −4 (raw −15.1 from 27 games). Chepauk's −4.9 from 98 games shrinks only to −2.8, because 98 games is a lot of evidence.

📊 Figure (described): For 18 IPL venues (the nine highest and nine lowest shrunk effects), an orange square marks the raw season-adjusted first-innings effect and a blue dot the shrunk estimate, with a grey arrow from one to the other. Grounds with few games (Barsapara 7, Raipur 8, St George's Park 7, Dharamsala 18) have long arrows that pull them from ±15–20 runs to within ±4. Grounds with about 100 games (Wankhede, Arun Jaitley, Eden Gardens, Chepauk, Chinnaswamy) have short arrows. The whole shrunk range is from about −4 to +5 runs.
That range, about nine runs from the lowest-scoring IPL ground to the highest once noise is removed, is the honest size of the venue effect in the IPL. It's worth knowing, because nine runs in a T20 first innings is a real shift in par score. But it's a third of what the raw table (a spread of 40 runs from Chepauk to Dharamsala) suggests.
The split-half test. Shrinkage is a model, so check it with a test that doesn't depend on the model. If venue effects are real and stable, a venue's effect in odd-numbered years should predict its effect in even-numbered years. The same test works for any venue statistic, including the one fans quote most: the chase win rate.
Split-half (odd vs even years, venues with 8+ games in each half):
first-innings scoring effect: r = 0.35 over 15 venues
chase win rate: r = -0.21 over 15 venues

📊 Figure (described): Left: each dot is a venue, its first-innings effect in odd years on the x-axis and even years on the y-axis; the dots lean along the diagonal (r = 0.35). Right: the same for chase win percentage; the dots form a shapeless cloud between about 40% and 62% on the y-axis, regardless of the x value (r = −0.21). A ground's scoring level repeats a little; its chase record doesn't repeat at all.
Venue scoring repeats modestly (r = 0.35). Venue chase rates don't repeat at all (r = −0.21, which is noise around zero across 15 venues). A direct check confirms it:
Venue chase-rate Beta prior: observed spread is no bigger than binomial noise; no talent signal
Venue chase rates: observed SD 6.8 pts, SD expected from coin flips alone 8.2 pts (21 venues, pooled chase rate 54.2%)
Across 21 IPL venues with 10+ decided games, the chase win rates vary with a standard deviation of 6.8 points. If every ground had the same true chase rate of 54.2%, coin-flip noise alone would produce a spread of 8.2 points. The observed spread is smaller than pure noise would give. There is no detectable venue-specific chase advantage in the IPL at all. Jaipur's 64.7% from 68 games and Chepauk's 46.9% from 96 are both what you'd expect from 21 grounds that all favour chasers by the same few points.
⚠️ Common pitfall: "chasing is easier here" from a venue's record. "Chasers have won 61.3% at Chepauk since 2023" is a true sentence about 31 matches. It's also, on the evidence of this section, no guide to the next match at Chepauk. A ground's scoring level carries a little information; its chase record carries almost none. If a broadcast graphic or a betting tip leans on a venue's chase record, ask how many matches it rests on and whether the same venue's record in the previous four years agreed.
22.7 Altitude: Does Thin Air Add Runs?
The cricket question. The Wanderers in Johannesburg and SuperSport Park in Centurion stand on the Highveld, roughly 1,400 to 1,750 metres above sea level. Thinner air means less drag on a struck ball, and cricket folklore says the ball "flies" there. Can we see it?
South Africa is a near-perfect natural experiment. The same country has two major grounds at altitude and several at sea level: Newlands (Cape Town), Kingsmead (Durban), St George's Park (Gqeberha, formerly Port Elizabeth), Buffalo Park (East London) and Boland Park (Paarl). The same teams tour both and the same domestic leagues use both. Script 06_altitude.py compares them across every competition in the snapshot that has enough matches in South Africa. That includes the 2009 IPL, which was moved to South Africa that year.
=== Highveld (Johannesburg, Centurion) vs coastal South African grounds ===
competition zone matches run_rate sixes_per_100 runs_per_wkt
IPL 2009 (in SA) Coastal 32 7.38 3.85 21.93
IPL 2009 (in SA) Highveld 20 7.70 3.97 26.42
SA20 2023-26 Coastal 83 8.10 5.30 23.58
SA20 2023-26 Highveld 47 8.70 6.61 25.58
Men's T20Is in SA Coastal 51 8.16 4.95 23.92
Men's T20Is in SA Highveld 51 9.12 6.65 26.77
Men's ODIs in SA Coastal 102 5.02 1.23 29.81
Men's ODIs in SA Highveld 81 5.58 1.81 33.75
Women's ODIs in SA Coastal 18 4.59 0.44 26.90
Women's ODIs in SA Highveld 7 5.03 0.79 28.78
Men's Tests in SA Coastal 56 3.26 0.38 30.25
Men's Tests in SA Highveld 39 3.43 0.37 28.29
Match-level comparison of run rates (Welch t-test, each match one observation):
competition hv_minus_coastal_rpo p_match_level
IPL 2009 (in SA) 0.279 0.360
SA20 2023-26 0.531 0.044
Men's T20Is in SA 1.023 0.001
Men's ODIs in SA 0.559 0.000
Women's ODIs in SA 0.382 0.428
Men's Tests in SA 0.165 0.022
In every competition, the Highveld grounds score faster. In men's T20Is the gap is about one run per over (9.12 vs 8.16, p = 0.001). In men's ODIs it's 0.56 runs per over (5.58 vs 5.02), which over 50 overs is about 28 runs. In the SA20 it's 0.53 (8.70 vs 8.10). The six-hitting rate shows the "flying ball" story most clearly:
Highveld / coastal ratio: run rate and sixes per 100 balls
run_rate_ratio six_rate_ratio
competition
IPL 2009 (in SA) 1.043 1.032
Men's ODIs in SA 1.110 1.472
Men's T20Is in SA 1.117 1.343
Men's Tests in SA 1.053 0.984
SA20 2023-26 1.075 1.247
Women's ODIs in SA 1.097 1.815
In men's ODIs, sixes come 47% more often on the Highveld; in men's T20Is, 34% more often; in the SA20, 25%. In women's ODIs the ratio is 1.8, though from only seven Highveld matches. The run-rate ratio is about 1.04–1.12. That fits physics: altitude should affect the long ball most, because that's the shot where reduced drag adds the most distance.

📊 Figure (described): Two panels of paired bars, Highveld (orange, hatched) and coastal (blue), for six competitions played in South Africa. Left: runs per over, with match counts above the bars; Highveld is higher in all six, most clearly in men's T20Is (9.12 vs 8.16). Right: sixes per 100 legal balls; Highveld is much higher in white-ball cricket (e.g. 6.65 vs 4.95 in men's T20Is, 1.81 vs 1.23 in men's ODIs) and level in Tests.
Two results complicate the folklore, and they're the most useful part of the analysis.
First, Tests. On the Highveld, Tests score slightly faster (3.43 vs 3.26 runs per over, p = 0.022) but runs per wicket are lower (28.29 vs 30.25), and the six rate is the same. Something on the Highveld helps bowlers as much as the air helps batters. The obvious candidate is the pitches: the Wanderers and Centurion are known for pace and bounce, and Test cricket, where bowlers attack for five days, exposes that more than white-ball cricket. Altitude is not the only thing different about these grounds.
Second, the grounds aren't the same as each other. The by-city table shows it:
T20 scoring by South African city (SA20, men's T20Is, women's T20Is):
matches run_rate sixes_per_100
code city
sat Cape Town 23 8.44 6.60
Centurion 22 9.06 7.51
Durban 20 8.42 6.17
Gqeberha 20 7.82 4.39
Johannesburg 25 8.37 5.77
Paarl 20 7.72 4.06
...
t20s_male Cape Town 21 7.99 4.35
Centurion 17 9.76 8.28
Durban 20 8.42 6.03
Johannesburg 34 8.80 5.84
Centurion is the outlier in both competitions: 9.06 runs per over in the SA20 and 9.76 in men's T20Is, with 7.51 and 8.28 sixes per 100 balls. Johannesburg, which is higher than Centurion, scored less than Cape Town and Durban in the SA20 (8.37 vs 8.44 and 8.42). If altitude were the whole story, the Wanderers would top every list. It doesn't. Boundary sizes, pitch preparation, and the particular matches each ground happened to host all matter, and Cricsheet has none of the first two.
🏏 Eye test: Altitude is a case where physics, folklore and data mostly agree, and the eye test adds the important detail. Players who have batted at both grounds talk about the ball carrying, but they also talk about the boundaries, the bounce, and the outfield's pace. The data can confirm that Highveld white-ball cricket scores faster, by about 4–12%, with many more sixes. It can't split that into "thin air" versus "short square boundaries" versus "true bounce that lets batters hit through the line". A proper attribution would need ball-tracking data (carry distances, launch angles) and the ground dimensions, which teams can measure and Cricsheet can't.
So what goes into a model? For a white-ball model in South Africa, a Highveld flag is a defensible feature: it's physically grounded, it shows up in every white-ball competition in the data, and it isn't a small sample (more than 200 Highveld matches across the competitions above). But a ground-specific effect, shrunk as in §22.6, captures the same thing and also Centurion's extra. The altitude flag earns its place mainly where you have few matches at a ground and need a reason to expect it to be high-scoring before the data arrives, such as a new venue at altitude.
🔄 Check your understanding
- In the IPL, venue effects on first-innings totals have k = 75 games. What does that mean for a ground that has hosted 25 games?
- Venue chase rates have an observed SD of 6.8 points and a coin-flip SD of 8.2. What does that imply?
- Why might Highveld Tests show lower runs per wicket even though Highveld white-ball cricket scores much faster?
Answer
- Its own record gets weight 25 / (25 + 75) = 0.25; its shrunk effect is a quarter of its raw effect. A raw +12 becomes +3.
- There's no detectable true variation in chase rates between venues. All the spread is noise, so a venue's chase record shouldn't be used to predict its next match.
- Because the grounds differ in more than air. Pace and bounce help bowlers, and Test cricket gives bowlers time to exploit them. The air mostly affects the long ball, which matters far more in white-ball cricket.
22.8 Home Advantage, Format by Format
The cricket question. Every team plays better at home. How much better, in which format, and what counts as "home" anyway?
Home advantage bundles together everything in this chapter: familiar pitches, the home board's choice of surface, conditions the home side grew up in, no travel, and a crowd. It's the biggest non-player factor in cricket, and it's also the easiest to measure, as long as you can say which team is at home.
Defining "home". For internationals, the toolkit's venues.add_host() maps each match's city to a host country and calls a team "home" if it is that country; otherwise the match is neutral. That works for almost every match, and it produces one awkward case on purpose. Pakistan played its home Tests in the UAE from 2010 to 2018, after international teams stopped touring Pakistan following the 2009 attack on the Sri Lanka team bus in Lahore. In the toolkit those matches have host country "UAE", so home_team is None: they count as neutral. Neither Pakistan nor its opponents is "home".
That default is defensible, since Pakistan wasn't playing in Pakistan, and it's also exactly what produced Chapter 6's Simpson's paradox: Younis Khan out-averages Kane Williamson both at home and away but trails him on home and away combined, because 23 of Younis's Tests in the data were in the UAE (neutral) and only 10 in Pakistan. Changing the definition changes the answer. So the module makes the choice explicit:
def add_home(matches, league=False, adopted_home=None):
"""Internationals: home_team is the team whose country hosts the match, None if neutral.
Pakistan in the UAE is therefore neutral by default; pass adopted_home={"Pakistan": "UAE"}
to treat it as home. Franchise leagues (league=True): infer_home_team()."""
m = add_host(matches)
if league:
m["home_team"] = infer_home_team(matches).values
elif adopted_home:
for team, country in adopted_home.items():
hit = m["home_team"].isna() & (m["host_country"] == country) & \
((m["team1"] == team) | (m["team2"] == team))
m.loc[hit, "home_team"] = team
return m
For franchise leagues, team names aren't countries, so "home" has to come from the schedule. infer_home_team() calls a team "at home" in a city in a given season if it played at least two matches there and took part in at least 80% of that city's matches that season. In a normal IPL season, Mumbai Indians play in every Wankhede league match, so they're at home there. In the 2020 season, held entirely in the UAE, every team played in Dubai, Abu Dhabi and Sharjah and none took part in 80% of any city's matches, so the rule finds no home team. That's the honest answer. Hub seasons such as IPL 2021–22 in a handful of Indian cities, and WBBL seasons played in hubs, come out mostly neutral for the same reason.
=== Home side's record (decided matches; draws shown for Tests) ===
type matches decided home_win_pct lo95 hi95 draw_pct neutral_matches
competition
Men's Tests International (FM) 862 701 63.5 59.9 67.0 18.7 36
Men's ODIs International (FM) 1688 1596 59.0 56.5 61.3 0.0 386
Women's ODIs International (FM) 433 411 58.6 53.8 63.3 0.0 131
Men's T20Is International (FM) 865 822 53.0 49.6 56.4 0.0 278
Women's T20Is International (FM) 481 463 54.6 50.1 59.1 0.0 229
IPL Franchise league 808 791 54.0 50.5 57.4 0.0 435
Big Bash Franchise league 419 411 54.5 49.7 59.3 0.0 243
CPL Franchise league 228 223 53.8 47.3 60.2 0.0 217
SA20 Franchise league 103 96 57.3 47.3 66.7 0.0 27
T20 Blast Franchise league 1279 1225 52.5 49.7 55.3 0.0 291
WBBL (women) Franchise league 121 117 59.8 50.8 68.3 0.0 406
The Hundred (men) Franchise league 142 137 55.5 47.1 63.5 0.0 59
The Hundred (women) Franchise league 133 131 49.6 41.2 58.1 0.0 55

📊 Figure (described): Home side's win percentage in decided matches with 95% intervals, one row per competition. Internationals between full members (green diamonds) are at the top: men's Tests 63.5%, men's ODIs 59.0%, women's ODIs 58.6%, women's T20Is 54.6%, men's T20Is 53.0%. Franchise leagues (blue circles) cluster between 52% and 60% with wide intervals; the IPL is at 54.0%, the T20 Blast 52.5%, The Hundred (women) 49.6%. The longer the format, the further right the dot.
Read it format by format:
- Tests: 63.5% of decided matches (701 Tests, interval 59.9–67.0), with 18.7% drawn. The home side wins nearly two decided Tests in three.
- ODIs: 59.0% for men (1,596 decided), 58.6% for women (411).
- T20Is: 53.0% for men, 54.6% for women. The men's interval (49.6–56.4) just includes 50%.
- Franchise T20: 52–57% in the big leagues with enough inferred home games. The IPL's 54.0% (791 games) is almost exactly the men's T20I figure.
The ordering is the book's Theme 2 in one table. The longer the match, the more the home side's knowledge of its own conditions compounds: over five days, a pitch prepared for the home spinners or seamers has more time to tell. In a 20-over match there's less time for conditions to matter and more room for a few big hits to decide things.
Home advantage in Tests also depends strongly on where home is:
Men's Tests, home side by host country (decided-match win %):
matches decided home_won home_win_pct lo95 hi95 draw_pct
host_country
India 99.0 76.0 63.0 82.9 72.9 89.7 23.2
Australia 120.0 103.0 84.0 81.6 73.0 87.9 14.2
England 149.0 122.0 87.0 71.3 62.7 78.6 18.1
South Africa 98.0 90.0 64.0 71.1 61.0 79.5 8.2
New Zealand 83.0 65.0 44.0 67.7 55.6 77.8 21.7
Sri Lanka 89.0 73.0 44.0 60.3 48.8 70.7 18.0
Pakistan 36.0 24.0 13.0 54.2 35.1 72.1 33.3
West Indies 86.0 61.0 25.0 41.0 29.5 53.5 29.1
Bangladesh 68.0 56.0 16.0 28.6 18.4 41.5 17.6
Zimbabwe 31.0 28.0 4.0 14.3 5.7 31.5 9.7
India (82.9% of decided home Tests) and Australia (81.6%) are the fortresses. At the other end, Bangladesh won 28.6% at home and Zimbabwe 14.3%. These aren't pure home-advantage numbers. They mix home advantage with team strength: Zimbabwe at home is still Zimbabwe. A clean home-advantage estimate compares a team's home record with its away record against the same opponents, or uses a rating model with a home term, which is how Chapter 24's Elo ratings handle it.
By era, Test home advantage has held steady (63.9% of decided Tests in 2001–10, 66.3% in 2011–18, 60.3% in 2019–26), while draws fell from 25.1% to 11.9%.
Pakistan's UAE years. What happens if we count the UAE as Pakistan's home?
=== Pakistan's matches by venue type (decided matches; Tests also show draws) ===
Men's Tests: elsewhere: 97 (33.7% of 86 decided won, 11.3% drawn) | in Pakistan: 36 (54.2% of 24 decided won, 33.3% drawn) | in UAE: 31 (65.2% of 23 decided won, 25.8% drawn) | UAE years 2010-2018
Men's ODIs: elsewhere: 242 (47.0% of 232 decided won) | in Pakistan: 93 (67.0% of 91 decided won) | in UAE: 74 (43.8% of 73 decided won) | UAE years 2003-2025
Men's T20Is: elsewhere: 164 (53.2% of 158 decided won) | in Pakistan: 56 (70.4% of 54 decided won) | in UAE: 47 (55.6% of 45 decided won) | UAE years 2009-2025
=== Home advantage with and without Pakistan's UAE matches counted as home ===
Men's Tests: default 63.5% of 701 | UAE-as-home for Pakistan 63.5% of 724
Men's ODIs: default 59.0% of 1596 | UAE-as-home for Pakistan 58.3% of 1669
Men's T20Is: default 53.0% of 822 | UAE-as-home for Pakistan 53.2% of 867
In Tests, the UAE behaved like home, and then some: Pakistan won 65.2% of 23 decided Tests there, against 54.2% in Pakistan and 33.7% everywhere else. In ODIs it didn't: 43.8% in the UAE against 67.0% in Pakistan. (The ODI and T20I "UAE" rows also include neutral tournaments such as Asia Cups played there, so they aren't all Pakistan home series. The Test rows are.) For the overall home-advantage figures, the choice barely matters: Test home advantage is 63.5% either way. For anything about Pakistan and its players (Younis Khan's home/away split, Pakistan's home record, a Pakistan batter's conditions adjustment) the choice matters a great deal. Case Study 2 takes the UAE years apart.
⚠️ Common pitfall: letting a default definition make a claim for you.
home_teamisNonefor Pakistan in the UAE because of how the toolkit maps cities to countries, not because anyone decided the UAE wasn't Pakistan's home. Whenever a result depends on a classification (home/away, SENA/subcontinent, powerplay/middle), test whether a reasonable alternative classification flips it. If it does, report both and say which you prefer and why. That's what turned Younis-versus-Williamson from a paradox into an explanation.📋 Try it — Build this metric. Build a "home edge" for each Test nation that isn't contaminated by team strength: for each team with 15+ decided home Tests and 15+ decided away Tests (full-member opponents, non-neutral), compute home win % − away win %. Which team gains most from home? Use
vt.add_home()andvt.home_table()on a long table with one row per (match, team).
Worked answer
Stack the matches table twice (once from each team's point of view), keep non-neutral decided Tests, mark
at_home = team == home_team, and group by team andat_home. With the chapter's numbers you can already see part of the answer for one team: Pakistan won 54.2% of decided Tests in Pakistan and 33.7% away from Pakistan and the UAE, a gap of about 20 points. Expect the strongest home records in the host table (India 82.9%, Australia 81.6%) to be candidates for the largest gaps, but don't assume it: a team that is also strong away will have a smaller gap. Exercise C4 asks you to finish the table and shrink each gap toward the all-team mean, because a team with 20 decided home Tests has a wide interval on its home win %.
22.9 Adjusting Players for Where They Played
The cricket question. Virat Kohli has faced about a third of his IPL balls at the Chinnaswamy, the league's highest-scoring ground. How much of his IPL record is the ground?
This is the question a franchise should ask before paying for a batter whose numbers were built at a flat home ground, or a bowler whose economy was built at a slow one. Baseball has asked it for decades with park factors; cricket analysts use the same idea.
📐 Definition — venue run factor. For a ground, the ratio of runs off the bat per ball faced there (both innings, all teams, wides excluded) to what the same balls would have produced at that season's league rate. 1.03 means 3% more runs per ball than par. The factor is shrunk match by match toward 1.00: factor = 1 + (raw − 1) × n / (n + k), with k estimated by method of moments over match-level ratios. A player's venue-neutral strike rate = strike rate ÷ the ball-weighted average factor of the grounds where they faced their balls.
Using both innings means the factor describes the ground, not one team. Script 08_venue_adjustment.py computes it for IPL grounds with 1,500+ balls:
Venue run factors (IPL 2008-26, venues with 1,500+ balls): 29 venues, k = 37.5 games, per-match SD of the ratio = 0.151
matches raw factor
venue_short
M Chinnaswamy Stadium 104 1.045 1.033
Brabourne Stadium 27 1.062 1.026
Punjab Cricket Association IS Bindra Stadium 61 1.036 1.022
Himachal Pradesh Cricket Association Stadium 19 1.065 1.022
Arun Jaitley Stadium 104 1.023 1.017
...
Wankhede Stadium 132 1.020 1.016
Eden Gardens 107 1.006 1.004
Sawai Mansingh Stadium 68 0.996 0.998
Narendra Modi Stadium 53 0.995 0.997
Rajiv Gandhi International Stadium 90 0.990 0.993
...
Maharashtra Cricket Association Stadium 51 0.964 0.979
MA Chidambaram Stadium 98 0.958 0.969
Bharat Ratna Shri Atal Bihari Vajpayee Ekana Cricket Stadium 29 0.927 0.968

📊 Figure (described): One bar per IPL ground (29 venues, sorted), showing the shrunk run factor as a percentage above or below season par: orange bars to the right for high-scoring grounds (Chinnaswamy +3.3%, Brabourne +2.6%, Mohali's PCA Stadium and Dharamsala +2.2%), blue bars to the left for low-scoring ones (Chepauk −3.1%, Ekana −3.2%). Black tick marks show the raw, unshrunk factors, which sit further from zero for grounds with few matches.
The whole range runs from about −3% (Chepauk, Ekana) to +3% (Chinnaswamy), consistent with §22.6's finding of a nine-run range in first-innings totals.
Now apply it to batters. For the 58 IPL batters with 1,500+ balls:
Biggest DOWNWARD adjustments (played at high-scoring grounds):
batter balls sr venue_factor sr_venue_neutral change
SE Marsh 1866 132.74 1.01 130.80 -1.94
CH Gayle 3333 148.96 1.01 147.17 -1.80
AB de Villiers 3403 151.69 1.01 150.18 -1.51
V Kohli 6926 134.80 1.01 133.44 -1.35
...
Biggest UPWARD adjustments (played at low-scoring grounds):
batter balls sr venue_factor sr_venue_neutral change
MS Dhoni 3957 137.45 0.99 138.35 0.89
MEK Hussey 1612 122.64 0.99 123.56 0.92
N Pooran 1540 164.09 0.99 165.46 1.37
RD Gaikwad 2093 135.64 0.99 137.43 1.79
Spearman rank correlation, raw SR vs venue-neutral SR: 0.998
Median absolute change: 0.39 SR points; max 1.94
The adjustments go the direction you'd predict. Royal Challengers batters (Gayle, de Villiers, Kohli) come down by 1.3–1.8 strike-rate points; Chennai's batters (Dhoni, Hussey, Gaikwad) go up by about 1–2. But look at the size: the largest change is 1.94 points, the median is 0.39, and the rank order barely moves (Spearman correlation 0.998). Kohli's IPL strike rate goes from 134.80 to 133.44; de Villiers stays sixth in the 58-batter list.

📊 Figure (described): Each dot is an IPL batter with 1,500+ balls (dot size ~ balls faced), raw strike rate on the x-axis and venue-neutral strike rate on the y-axis. The dots lie almost exactly on the diagonal; labelled outliers (Marsh, Gayle, de Villiers and Kohli just below it; Gaikwad, Pooran, Dhoni and Hussey just above) are within two points of it. Over a career, adjusting for grounds changes strike rates by a point or two, not a tier.
So Kohli's record isn't a Chinnaswamy creation. But here's a surprise:
Kohli, IPL, Chinnaswamy vs elsewhere:
home runs balls outs average strike_rate
elsewhere 5888 4549 146 40.33 129.44
Chinnaswamy 3448 2377 83 41.54 145.06
At the Chinnaswamy, Kohli has struck at 145.06; everywhere else, 129.44: a gap of 15.6 points. The ground's run factor (1.033) explains only about 4.5 of those points (3.3% of 135). The rest has other sources. Some is home comfort, the general home advantage from §22.8 showing up in one batter. Some is era: more of his Chinnaswamy balls may have come in high-scoring seasons, which the season-par part of the factor handles for the ground but not for his personal split. And some of it is luck: 2,377 balls is a big sample for a strike rate (Chapter 6 found it takes about 98 balls for half the signal), but a career split is one draw from a noisy process.
⚠️ Common pitfall: using a player's own home/away split as his venue adjustment. Kohli's 15.6-point gap is not "the Chinnaswamy effect". It mixes the ground, home advantage, era, and luck. The ground effect should come from all players at that ground (the run factor), shrunk; the player's personal split should be shrunk toward the ground effect before anyone believes it. A franchise that docked Kohli 15 strike-rate points "for his home ground" would be docking him for things the ground didn't do.
🔷 R corner (not run in this book's build). The §22.3 logistic regression in R, assuming a data frame
iplexported with 0/1 columnschase_won,chaser_won_tossand a −1/0/+1 columnchaser_home:
r fit <- glm(chase_won ~ chaser_won_toss + chaser_home, data = ipl, family = binomial) summary(fit) # coefficients on the log-odds scale exp(coef(fit)) # odds ratios🔄 Check your understanding
- Why does the venue run factor use both innings and all teams, not just the home side's batting?
- Gaikwad's venue-neutral strike rate is 1.79 points higher than his raw one. What does that tell you about where he faced his balls?
- Pakistan won 65.2% of decided Tests in the UAE but 43.8% of decided ODIs there. Give one reason the "home" label could fit one format better than the other in this data.
Answer
- So the factor measures the ground. Using only the home side's batting would mix the ground with the home team's batting strength (and its home advantage).
- A large share of his balls came at grounds with factors below 1.00 (low-scoring grounds such as Chepauk, at 0.969), so his raw strike rate understates what he'd score at an average ground.
- The Test rows are Pakistan's home series of 2010–2018, while the ODI "UAE" rows also include neutral tournaments such as Asia Cups, where the opponents were often as used to the conditions as Pakistan. The comparison mixes two different kinds of match.
22.10 So How Much Do Non-Player Factors Matter?
The cricket question. Put it all together: toss, home, time of day, venue history. If you knew nothing about the players, how well could you predict a match?
This is the honest test of everything in the chapter, and it has to be done out of sample: fit on earlier seasons, predict later ones, and score the predictions on matches the model never saw. (The in-sample pseudo-R² of 0.0046 in §22.3 was already a warning, but in-sample fits always flatter.) Script 09_how_much.py does two versions.
IPL. Predict whether the chasing side wins, using only the toss (did the chaser win it?), home (is the chaser at home, away, or neither?), the inferred evening slot, and the venue's chase record before that match (shrunk toward the league rate). Train on 2008–2019 and test on 2020–2026. Score with log-loss (the average of −log of the probability given to what actually happened; 0.693 is what a 50/50 coin scores, and lower is better) and the Brier score (mean squared error of the probability; a coin scores 0.25).
=== IPL: predict 'chasing side wins'. Train 2008-19 (743), test 2020-26 (475) ===
Training chase win rate 55.5%; test chase win rate 53.5%
Coefficients: {'chaser_won_toss': 0.1, 'chaser_home': 0.277, 'evening': -0.193, 'venue_chase_prior': -0.091} intercept 0.233
model log_loss brier accuracy
Coin flip (50%) 0.6931 0.2500 0.5000
Always 'chaser' at training base rate 0.6915 0.2492 0.5347
Toss + home + evening + venue history 0.6981 0.2523 0.5263
The model with every non-player factor scores worse than a coin flip on later seasons (log-loss 0.6981 against 0.6931). The best thing you can do with non-player factors in the IPL is to say "the chaser, at about 55%" every time, which scores 0.6915, barely better than the coin. The toss, the evening slot and the venue's chase history add nothing but noise. Home helps a little in-sample, but not enough to survive the extra parameters out of sample.
Tests. Predict whether the home side wins a decided Test, using nothing but "the home side wins about 65% of the time". Train on 2001–2017, test on 2018–2026.
=== Men's Tests (decided, full members, non-neutral). Train 2001-17 (411), test 2018-26 (290) ===
Training home win rate 65.2%; test 61.0%
model log_loss brier accuracy
Coin flip (50%) 0.6931 0.2500 0.5000
Home side at training rate 0.6724 0.2396 0.6103
Three-way (home / draw / away), test 2018-26 n=328: log-loss uniform 1.0986, home-draw-away base rates 0.9960; training rates {'home': 0.502, 'away': 0.268, 'draw': 0.23}
Test-period outcome shares: {'home': 0.54, 'away': 0.345, 'draw': 0.116}
One fact, "pick the home side", is right in 61.0% of decided Tests from 2018 to 2026 and improves log-loss from 0.693 to 0.672. Including draws, the three-way base rates (home 50%, away 27%, draw 23% in training) cut log-loss from 1.099 to 0.996, even though draws became much rarer in the test period (11.6% against 23% in training).

📊 Figure (described): Two panels of bars showing out-of-sample log-loss (lower is better) against a dashed line at 0.693, the coin-flip score. Left (IPL 2020–26, will the chaser win?): coin flip 0.693, base rate 0.692, full non-player model 0.698, which is worse than the coin. Right (men's Tests 2018–26, will the home side win?): coin flip 0.693, home-side base rate 0.672 with 61.0% accuracy, a clear improvement.
That 61% is worth putting next to Theme 6 of this book: good pre-match models in cricket are right about 60–65% of the time. In Tests, a model that knows nothing about the players, only where the match is, gets to the bottom of that range. In the IPL, the same knowledge gets you nowhere.
That difference is the chapter's answer to its title question.
- In T20 cricket, non-player factors are small. The toss is worth about 1–2 points; home about 3–5; venue scoring effects about ±5 runs; evening slots and venue chase records are undetectable. Combined, they don't predict IPL results better than "the chaser, 55%".
- In ODIs, the toss is worth nothing in the snapshot and home is worth about 9 points (59.0%).
- In Tests, non-player factors are large. Home wins 63.5% of decided matches; the toss is worth about 4 points; the pitch wears enough that a 300+ fourth-innings target is won 5.1% of the time.
What this means in practice depends on who you are. For a pre-match model (Chapter 24), include home in every format and venue scoring in totals models, add the toss only as a small term after it's known, and don't bother with venue chase records. For a bettor (Chapter 35), a market that moves sharply on an IPL toss result is probably over-reacting. For a captain, in the IPL field first because the chase advantage is real and nobody can see which nights are exceptions; in Tests, bat first unless you have a better reason than the cloud.
🔄 Check your understanding
- Why must the "how much do non-player factors matter" test be out of sample?
- The full IPL non-player model scored worse than a coin out of sample. How can a model with real (if small) effects in it do worse than a coin?
- "Pick the home side" was right in 61.0% of decided Tests from 2018. Why isn't that impressive for a Test prediction model, and why is it impressive for a model that ignores the players?
Answer
- In-sample fits always look at least as good as the truth, because the model is tuned to the same matches it's scored on. Only predictions on unseen matches tell you whether the pattern generalises.
- Each estimated coefficient carries noise. When the true effects are tiny, the noise in four coefficients can outweigh the signal, and the model's probabilities become slightly worse than a constant. That's overfitting in its mildest form.
- A good model should beat a one-fact rule, so 61% is a floor, not a ceiling. But 61% is in the range good pre-match T20 models achieve with player data; reaching it with only a venue fact shows how much conditions decide Tests.
Spaced Review
Before reading the answers, try each question from memory.
- From Chapter 6: What does the shrinkage constant k mean in plain words, and why does a venue need k = 75 games while a batter's within-season strike rate needs only about 100–190 balls? Answer: k is how many units of a player's (or ground's) own data it takes to carry the same weight as the prior. A ball is a tiny observation and batters genuinely differ a lot, so a few hundred balls tell you plenty. A match total is a large, noisy observation (SD 30.6 runs) of a small true difference between grounds (SD 3.5 runs), so it takes dozens of matches to learn anything.
- From Chapter 6: Younis Khan beats Williamson home and away but trails overall. Which classification decision in this chapter creates the paradox, and what would you report? Answer: Treating Pakistan's UAE Tests as neutral. Report the split by host, the overall figure, and a version with the UAE counted as Pakistan's home, and say that the conclusion depends on that choice.
- From Chapter 10: Chapter 10 found that the median top-order Test batter averages 5.69 more at home than away. How does that square with home sides winning 63.5% of decided Tests? Answer: Team results add up small edges across eleven players, both innings, the bowling, and the home board's choice of pitch. A few runs per batter per innings, plus a bowling attack suited to its own pitches, compounds into a large team effect.
- From Chapter 5: Why should a factor that works through pitch wear matter most in Tests? Answer: Tests last up to five days and have four innings, so the surface changes a great deal between the first ball and the last; in T20 the two innings are an hour or two apart.
Project Checkpoint: venue_toss.py
Nusrat's Crease dashboard has had a "Form Guide" panel since Chapter 6 and a "Match" panel since Chapter 7. This chapter adds a Conditions panel, and she builds it around the ground she knows best: the Shere Bangla National Stadium in Mirpur.
The module project/crease/venue_toss.py provides:
venue_name(),match_context(),wilson(): the basic plumbing (standard venue names, batting-first and toss facts, intervals);toss_table(),toss_balance(),chase_logit(): the toss as an experiment, its balance check, and the decision model;ipl_slot(): afternoon/evening inference from double-header match numbers, labelled as an inference;test_results(),runs_per_wicket_by_innings(): Test W/D/L by toss or batting order, and pitch wear;first_innings_totals(),venue_effects(),split_half_venue(): the shrunk venue model and its reliability test;infer_home_team(),add_home(),home_table(): home advantage for internationals (withadopted_homefor the UAE question) and franchise leagues;venue_run_factor(),venue_adjusted_batting(): park factors and venue-neutral strike rates.
Her demo, code/project_checkpoint.py, starts by checking the module against this chapter's IPL toss figure, then turns to Bangladesh:
t = vt.toss_table(bm).iloc[0]
bm["slot"] = vt.ipl_slot(bm)
tot = vt.first_innings_totals(bb, bm)
eff, info = vt.venue_effects(tot, value="inn1", season_col="season", min_matches=10)
fac, finfo = vt.venue_run_factor(bb, bm, min_balls=3000)
IPL check: 1218 decided matches, toss winner won 51.6% OK
BPL: 466 decided, toss winner won 48.5% [44.0-53.0], chose field 69.1%, chasers won 53.2%
BPL chase win % by inferred slot:
n chase_win_pct chose_field_pct
slot
afternoon 199 54.3 67.3
evening 198 51.0 71.2
single 49 53.1 63.3
unknown 20 65.0 80.0
BPL first-innings venue effects (466 full-length games; k = 28.8, sigma 31.7, tau 5.9):
matches first last mean_value raw shrunk
venue_short
Zahur Ahmed Chowdhury Stadium 98 2012 2025 169.6 11.9 9.2
Sylhet International Cricket Stadium 84 2017 2026 158.4 0.5 0.4
Shere Bangla National Stadium 270 2012 2026 151.8 -4.3 -3.8
BPL venue run factors (k = 26.8):
matches raw factor
venue_short
Zahur Ahmed Chowdhury Stadium 100 1.056 1.044
Sylhet International Cricket Stadium 84 1.016 1.012
Shere Bangla National Stadium 271 0.976 0.978
Bangladesh home Tests (full-member opponents):
matches decided home_won home_win_pct lo95 hi95 draw_pct
era
2001-14 30.0 24.0 3.0 12.5 4.3 31.0 20.0
2015-26 38.0 32.0 13.0 40.6 25.5 57.7 15.8
Nusrat's first reaction was the one every Mirpur regular would have: "Of course Mirpur is slow." The BPL data agrees: the Shere Bangla's first innings run about 4 runs below the season average after shrinkage, with a run factor of 0.978, while Chattogram's Zahur Ahmed Chowdhury Stadium is the BPL's high-scoring ground (+9.2 runs shrunk, factor 1.044). With only three BPL grounds hosting 10+ games, the shrinkage constant (k = 28.8) is estimated from very little and should be treated as rough. The BPL toss is worth nothing (48.5%), and the evening game of a double-header shows no chase advantage over the afternoon game (51.0% vs 54.3%), the same pattern as the IPL.
The last table is the one she screenshotted for her friends. Bangladesh won 3 of 24 decided home Tests against full members in 2001–14 and 13 of 32 in 2015–26. The interval is wide (25.5–57.7%), but the change is the clearest thing on the page: Bangladesh became much harder to beat at home.
How it plugs in. Chapter 23 uses first_innings_totals() to separate full-length games from DLS-affected ones. Chapter 24's pre-match model takes add_home() for its home term and venue_effects() for venue priors. Chapter 27's score projections use the venue run factors as a starting par, and Chapter 29 builds its pitch-deterioration model on runs_per_wicket_by_innings().
Chapter Summary
| Factor | Format | Best estimate in the snapshot | Strength of evidence |
|---|---|---|---|
| Toss (causal) | All limited-overs | Toss winner won 51.1% of 11,050 decided matches | Real but small |
| Toss (causal) | IPL / men's T20Is / men's ODIs | 51.6% / 50.6% / 49.7% | Not distinguishable from 50% |
| Toss (causal) | Men's Tests | 54.2% of 729 decided Tests (p = 0.026) | Moderate |
| Chasing | IPL / men's T20Is | Chaser won 54.7% / 49.4% | Real in IPL; absent in T20Is |
| Choosing to chase vs sent in | IPL / PSL | 54.7% vs 54.7% / 59.8% vs 45.3% | Decision adds nothing in IPL; adds in PSL |
| Evening slot (inferred) | IPL in India | Chasers 51.2% evening vs 55.6% afternoon | No evening advantage detected |
| Venue scoring | IPL first innings | True SD 3.5 runs; shrunk range about −4 to +5; k = 75 games | Real, small; repeats (r = 0.35) |
| Venue chase rate | IPL | Spread smaller than coin-flip noise; split-half r = −0.21 | None |
| Altitude | SA white-ball | Highveld run rate +4% to +12%; sixes +25% to +47% | Real; ground-specific too |
| Home advantage | Tests / ODIs / T20Is (men) | 63.5% / 59.0% / 53.0% of decided | Strong / strong / weak |
| Venue adjustment | IPL batters | Median change 0.39 SR points; max 1.94 | Real, tiny over careers |
Decision framework: using non-player factors
- Is the factor randomised? If yes (the toss), the raw comparison is causal. If no (the decision, batting first), compare like with like (chasers who chose vs chasers sent in) before saying anything about value.
- What does Cricsheet actually record? No times, weather, dew, pitch reports or boundary sizes. State inferences as inferences (
ipl_slot), and write findings at the resolution of your data. - How many matches? Shrink venue effects (k ≈ 75 games for IPL totals). Test reliability with a split-half before using any venue statistic.
- Which format? In T20, non-player factors are small; in Tests they're large. Never carry a T20 finding into Tests or back.
- Does the classification decide the answer? Check alternatives (Pakistan in the UAE; hub seasons as neutral) and report both when they differ.
- Does it predict out of sample? If it doesn't beat the base rate on later seasons, it doesn't belong in the model.
What's Next
Rain is the one non-player factor that can rewrite a match's rules halfway through. Chapter 23 opens the Duckworth–Lewis–Stern method: how resources are measured from overs and wickets, how revised targets are set, why the 1992 World Cup semi-final's "22 off 1 ball" pushed cricket to a better system, and how to build a resource table of your own from ball-by-ball data.