Red Zone Math

Research › Methods

How the win-probability model works, and how well

Every game chart, 4th-down grade and “win probability added” number on this site comes from one model. Here is what goes into it, how it is fitted, how it did on seasons it had not seen, and where it is still wrong.

Held-out test Checked on seasons that played no part in fitting the model, though the model’s design was chosen with them in view.

1.0points: the largest miss in any five-point band of win probability1,034,337 snaps in 6,980 games, each season predicted from earlier ones
−1.7thousandths of log loss between my model and nflfastR’s on 2021–2025, when neither had seen the games95% interval −3.9 to +0.4: a tie, leaning my way
8situations where the model is still measurably off, listed belowmost are in the last two minutes of close games

What it predicts

Before every snap, the model gives the chance that the team with the ball goes on to win the game. It is fitted to 1,073,044 snaps from 7,238 games: every regular-season and playoff game from 1999 to 2025 that passes my data checks, apart from ties.

What goes in

  • The situation: the score, the time left, the down, the yards to go, the yard line and both teams’ timeouts.
  • The matchup: the closing point spread, so a favourite and an underdog in the same spot get different chances.
  • Who gets the ball after halftime, during the first half.
  • The score in football terms: how many scores a team leads or trails by, that lead set against the possessions likely to be left, and whether a field goal right now would tie or win, weighted by the chance of making it from there.
  • Overtime, as its own case.

The model is fitted under monotonic constraints. For most of its inputs I fix the direction in which the prediction is allowed to move: with everything else held equal, a bigger lead, a shorter field, an easier down and distance, more timeouts of your own, fewer for the defense and a friendlier point spread can never lower a team’s win probability. Time left is the one input I leave free, because more time helps the team that is behind and hurts the team that is ahead.

Why bother, with a million snaps to learn from? Because the million are not spread evenly. Boosted trees fit whatever the sample says, and in the thin corners of a game the sample says odd things. A few dozen snaps in which teams down ten happened to do better than teams down nine are enough for an unconstrained model to decide that, in that corner, trailing by more is better. Nobody believes that. A 4th-down calculator is especially exposed, because it works by comparing the win probability of neighbouring situations (a first down at the 30 against a punt to the 12), and a kink between two neighbours comes out the other end as a wrong recommendation. The constraints cost nothing where data are plentiful and keep the model from contradicting football where they are thin. The idea is borrowed: nflfastR’s models are built the same way.

Team statistics beyond the point spread, weather, in-game statistics and terms for the changing era were all tried and left out, because none of them helped on seasons the model had not seen. Weather and player ratings do matter for field goals, punts and 4th-down tries, and my models for those use them.

How it is fitted

The model itself is a standard one: gradient-boosted decision trees (XGBoost, 1,800 of them). What is less standard is what it learns from, what it does where the rules of football settle the matter, and how it gets its error bars.

Learning from the next play, not only the final score. The usual way to fit a win-probability model labels every snap with who won. Early in a game that label is mostly noise, since the final result says little about any one snap in the first quarter. My model first estimates what each snap’s next situation is worth, using versions of the model that never saw that game, and then fits to a blend that leans on those estimates and, through them, on everything that followed. This is temporal-difference learning, an old idea from reinforcement learning. Measured on the version before the latest inputs were added, it gave 39% less sampling variance for a win probability and 58% less for the stakes of a 4th-down decision than fitting the same inputs to final results.

Rules where the rules of the game decide. Two situations are too rare to learn and simple to reason out: a team that can win with a field goal in the last seconds, and a leader that can kneel out the clock. There, the model’s number cannot be lower than what the rule implies. The last five seconds tells that story.

101 bootstrap refits. A single fitted model gives one number for each situation and no hint of how much that number owes to which games happened to be played. So I bootstrap. I draw a new set of games at random from the real ones, with replacement and as many as there were to begin with, which means some games show up two or three times and a bit over a third are left out. Then I run the whole procedure again on that set: the next-play estimates, the trees and, for 4th downs, the conversion, field-goal and punt models, all on the same draw. I do this 101 times.

I resample whole games, never single plays, because the plays in a game share one result. Treat them as independent and the model looks far surer than it is; How sure is a 4th-down call? measures by how much. The spread across the 101 versions is my estimate of sampling error, and in the calculator the share of versions that back a call is what makes it Confident, Lean or Toss-up. The approach follows Ryan Brill, Ronald Yurko and Abraham Wyner, who made the case that 4th-down advice should carry its uncertainty with it.

The bootstrap measures one kind of error. Every refit shares the model’s design, so wherever the design is wrong, all 101 are wrong together and the spread will not show it. That is what the list of weak spots further down is for.

How well it does

A fair grade uses games the model has not seen. For every season from 2000 to 2025 I refitted the model on earlier seasons only and had it predict that season: 1,034,337 snaps in 6,980 games, 298 of them in the playoffs. Two cautions. The earliest seasons are predicted from very little history. And the model’s design was chosen with all of these seasons in view, which flatters it somewhat. The clean test is the 2026 season, and I will report it here once it has been played.

Does 70% mean 70%?

If the model is well calibrated, teams it gives a 70% chance should win about 70% of the time.

Predicted against what happened

Every snap from 2000 to 2025, grouped by the win probability the model gave the team with the ball, in bands of five points. A perfectly honest model sits on the dashed line.

0%25%50%75%100%0%25%50%75%100%How often that team wonWin probability the model gave0%25%50%75%100%0%25%50%75%100%How often that team wonWin probability the model gave
The numbers
PredictedSnapsGamesAverage predictionWon
0% to 5%109,0975,1131.5%1.7%
5% to 10%45,3255,1807.4%8.3%
10% to 15%38,2425,26212.5%13.1%
15% to 20%40,1995,67317.6%18.5%
20% to 25%46,1145,98022.5%23.4%
25% to 30%45,6925,83527.5%27.2%
30% to 35%45,7625,62932.5%32.2%
35% to 40%47,1875,37337.5%37.2%
40% to 45%45,8245,03142.5%42.9%
45% to 50%44,0264,66547.5%47.6%
50% to 55%42,8824,49552.5%53.1%
55% to 60%43,8604,88057.5%58.0%
60% to 65%47,8575,38562.5%62.8%
65% to 70%49,8975,79367.5%67.8%
70% to 75%48,3556,04672.5%72.4%
75% to 80%47,9596,13777.5%77.5%
80% to 85%46,0596,10082.5%81.5%
85% to 90%41,9965,79487.5%87.2%
90% to 95%46,6135,48492.6%92.3%
95% to 100%111,3916,14798.5%98.4%

They do. When the model said 70% to 75%, the team won 72.4% of the time. Across all twenty bands the largest miss is 1.0 points, in the 15% to 20% band, and none of the twenty ranges excludes zero.

The same thing, magnified

How often the team won minus what the model said, band by band, in points. My model has its 95% intervals; nflfastR’s spread-aware model is drawn just to the right of mine in each band. On the first chart every one of these gaps is too small to see.

My model, with 95% interval (each season predicted from earlier ones)nflfastR, with the point spread
−3−2−10+1+2+30%25%50%75%100%Won minus predicted (points)Win probability the model gaveexactly right−3−2−10+1+2+30%25%50%75%100%Won minus predicted (points)Win probability the model gaveexactly right
The numbers
PredictedMy gap (points)95% intervalnflfastR gap95% interval
0% to 5%+0.17−0.19 to +0.54−0.04−0.36 to +0.29
5% to 10%+0.89−0.08 to +1.92−0.15−1.04 to +0.79
10% to 15%+0.63−0.49 to +1.83−0.05−1.04 to +1.04
15% to 20%+0.96−0.26 to +2.21+1.33+0.18 to +2.60
20% to 25%+0.86−0.35 to +2.14+1.23+0.03 to +2.44
25% to 30%−0.32−1.49 to +0.95−0.02−1.16 to +1.16
30% to 35%−0.32−1.43 to +0.80+0.03−1.10 to +1.19
35% to 40%−0.28−1.33 to +0.81−0.44−1.47 to +0.64
40% to 45%+0.39−0.60 to +1.35−0.15−1.08 to +0.80
45% to 50%+0.10−0.74 to +0.89−0.15−0.96 to +0.72
50% to 55%+0.62−0.01 to +1.26−0.18−0.83 to +0.47
55% to 60%+0.48−0.47 to +1.39+0.49−0.40 to +1.37
60% to 65%+0.29−0.77 to +1.40+0.79−0.27 to +1.81
65% to 70%+0.29−0.82 to +1.41+0.19−0.89 to +1.32
70% to 75%−0.07−1.25 to +1.07−0.27−1.39 to +0.84
75% to 80%0.00−1.18 to +1.15−0.31−1.44 to +0.79
80% to 85%−0.93−2.14 to +0.18−1.34−2.50 to −0.22
85% to 90%−0.26−1.35 to +0.81−0.09−1.18 to +0.93
90% to 95%−0.29−1.22 to +0.59+0.43−0.41 to +1.22
95% to 100%−0.17−0.51 to +0.15+0.02−0.30 to +0.33

Against other forecasts

Log loss scores a set of probabilities: lower is better, and it punishes confident misses hardest. Three reference points give it scale. Saying 50% before every snap scores 0.693. Using the pregame point spread and never updating it scores 0.615. nflfastR’s win probability, the public standard and the model I borrowed most from, scores 0.479 without the point spread and 0.445 with it. My model scores 0.448.

Log loss on unseen seasons (lower is better)

The mean over snaps. nflfastR’s model was fitted to seasons in the first column, so only the second compares like with like. Differences between my model and nflfastR’s, in thousandths: +5.0 (+3.7 to +6.6) in 2000–2020, −1.7 (−3.9 to +0.4) in 2021–2025.

Forecast2000–20202021–2025All seasons
Always 50%0.6930.6930.693
The pregame point spread, never updated0.6150.6120.615
nflfastR, without the spread0.4760.4920.479
nflfastR, with the spread0.4410.4590.445
My model0.4460.4580.448

Over all 26 seasons nflfastR’s spread-aware model is ahead by 3.7 thousandths (+2.6 to +5.0). That comparison is not a fair one, and it is unfair in nflfastR’s favour: its model was fitted to many of these seasons, while my model is graded only on seasons it had not seen. nflfastR’s release notes record the last tuning of its spread-aware model in version 4.0.0, released in February 2021, so from the 2021 season on neither model had seen the games. On those five seasons the difference is −1.7 thousandths (−3.9 to +0.4): a tie, leaning my way.

Season by season against nflfastR

My log loss minus nflfastR’s (with the spread), in thousandths, with 95% intervals. Below zero, my model was better. nflfastR’s model was fitted to seasons left of the dashed line.

−100+10+20200020052010201520202025Log loss, my model minus nflfastR (thousandths)Seasonunseen by both−100+10+20200020052010201520202025Log loss, my model minus nflfastR (thousandths)Seasonunseen by both
The numbers
SeasonGamesMy model minus nflfastR (thousandths)95% interval
2000254+3.78−3.73 to +11.55
2001251+8.58+3.07 to +14.24
2002258+3.52−2.33 to +9.32
2003267+1.51−3.96 to +7.19
2004267+7.32+2.32 to +12.43
2005267+10.95+6.32 to +15.64
2006267+9.87+4.21 to +15.27
2007267+4.10−0.57 to +8.51
2008266+2.98−0.91 to +7.18
2009267+2.38−1.38 to +6.07
2010267+5.00+1.10 to +8.85
2011266+5.42+1.26 to +9.72
2012266+0.47−5.88 to +6.08
2013266−1.00−8.52 to +6.18
2014266+2.81−1.56 to +6.97
2015267+3.60−0.72 to +8.18
2016265+4.99−0.05 to +9.91
2017267+3.92−0.51 to +8.19
2018265+5.83−1.53 to +16.11
2019266+10.74+0.05 to +29.00
2020268+9.60+2.73 to +18.09
2021284−4.05−8.57 to +0.27
2022282−4.21−9.83 to +0.80
2023285+0.40−4.96 to +5.56
2024285+2.51−1.76 to +6.73
2025284−3.04−7.82 to +1.93
Whiskers longer than the chart are cut at its edge; the table has the full intervals.

Late in games it depends on the phase. In the final two minutes of regulation the two models are level over all seasons (+0.1 thousandths, −1.5 to +1.8). In overtime my model is clearly better (−27.1, −47.1 to −7.5), where nflfastR’s spread-aware number is the same as its plain one on every snap I looked at.

What the end-of-game rules add

The two rules change 4,595 snaps in 2,656 games, under half a percent of all snaps. Where a field goal in the last half-minute would win or tie, teams won 69.6% of the time; the model alone said 67.0% and with the rule says 69.9%. Leaders who could kneel out the clock won every one of 6,061 such snaps; the model alone gave them 99.1%. Over the last ten minutes and overtime, the rules improve log loss by 0.37 thousandths (−0.44 to −0.29).

Where it is still wrong

These are the situations where the model, with its rules, still misses by more than chance allows, or where I cannot yet tell. A positive number means teams won more often than the model said.

The situations where the model is still off

How often the team won minus what the model said, in points, with 95% intervals. Right of the line the model is too low; left of it, too high.

−12−8−40+4+8Won minus predicted (points)exactly rightDown 3 inside own 20, 2:00–0:31 left246 snaps in 139 games−6.9 (−11.1 to −1.8)Up 1–2 with the ball, no timeouts, last 2:00198 snaps in 99 games+4.5 (+2.6 to +6.1)Up 1–3 inside the opponent’s 20, 2:00–0:31352 snaps in 161 games−4.3 (−10.0 to +0.3)Up 9, 5:00–2:00 left1,363 snaps in 214 games+3.7 (+1.1 to +5.7)Down 4–8 at own 21–50, 5:00–2:01 left3,786 snaps in 1,300 games+3.0 (+0.6 to +5.4)Up 9, last 2:00885 snaps in 162 games+1.7 (+0.9 to +2.2)First half, offense at the opponent’s 1–518,544 snaps in 5,492 games−1.3 (−2.2 to −0.4)First snap of any drive159,956 snaps in 6,980 games+0.3 (+0.3 to +0.4)−12−8−40+4+8Won minus predicted (points)exactly rightDown 3, own 1–20, ~1:00 left−6.9Up 1–2, ball, no timeouts+4.5Up 1–3 in the red zone, late−4.3Up 9, 5:00–2:00 left+3.7Down 4–8, own 21–50, late+3.0Up 9, last 2:00+1.7Goal line, first half−1.3First snap of a drive+0.3
The numbers
SituationSnapsGamesWonMy gap (points)nflfastR gap
Down 3 inside own 20, 2:00–0:31 left2461399.8%−6.85 (−11.11 to −1.76)−8.98 (−13.20 to −3.86)
Up 1–2 with the ball, no timeouts, last 2:001989999.5%+4.48 (+2.58 to +6.08)+10.61 (+8.76 to +12.24)
Up 1–3 inside the opponent’s 20, 2:00–0:3135216192.3%−4.31 (−9.98 to +0.30)−3.28 (−8.86 to +1.36)
Up 9, 5:00–2:00 left1,36321497.4%+3.65 (+1.10 to +5.67)+4.46 (+1.92 to +6.45)
Down 4–8 at own 21–50, 5:00–2:01 left3,7861,30020.8%+3.04 (+0.64 to +5.44)+3.02 (+0.62 to +5.42)
Up 9, last 2:0088516299.7%+1.65 (+0.85 to +2.24)+2.05 (+1.31 to +2.62)
First half, offense at the opponent’s 1–518,5445,49261.7%−1.34 (−2.21 to −0.40)−1.09 (−1.97 to −0.16)
First snap of any drive159,9566,98050.1%+0.35 (+0.30 to +0.40)+0.07 (+0.02 to +0.12)
  • One score or two. A team leading by nine with five to two minutes left won 97.4% of the time, 3.7 points more than the model said (+1.1 to +5.7); leads of eight and ten are fine. The model handles the gap between a one-score and a two-score lead too smoothly, and the same weakness shows when I ask it about 2-point tries, which is why the site has no 2-point calculator yet.
  • Trailing by three, pinned deep, about a minute left. The model is too generous by 6.9 points (−11.1 to −1.8), on only 139 games.
  • The goal line in the first half. An offense at the opponent’s 1 to 5 before halftime wins 1.3 points less often than predicted (−2.2 to −0.4). The same spot in the second half, and the 6 to 10 in the first, are fine.
  • New possessions. On the first snap of a drive the team with the ball wins 0.35 points more often than predicted (+0.30 to +0.40). Compared with other snaps the excess is 0.27 (+0.17 to +0.37): small, but it is there on every drive, and nflfastR shows no such gap (+0.01).
  • Heavy underdogs. At the first snap the model gives a 14-to-14.5-point underdog 14.9% and a 15-to-15.5-point underdog 3.4%. Results do not contradict the lower number, since underdogs of 15 or more won 3 of 95 games, but half a point of spread should not matter that much. nflfastR’s curve is smoother here.

Six of the other seven misses in the chart show up in nflfastR’s spread-aware model too, with a range that excludes zero on the same side; the numbers table has its gap beside mine.