Skip to content

Stats & Modeling

Backtesting

Updated n = 33,471 2024 NFL scrimmage plays

Backtesting evaluates a model or rule across past games using ONLY statistics and sportsbook lines that existed before each historical kickoff—grading net ROI, drawdown, and Brier Score after vig.

Example: Testing an NBA rest-disadvantage filter on 2021-2025 closing spreads (-110 vig included) across 640 games going 334-306 (52.19%) reveals a -0.37% ROI—saving real bankroll dollars by rejecting an idea that failed to clear 52.38% breakeven.

Definition and Formula

Backtesting is the chronological replay of a strictly frozen quantitative model and staking rule across historical NFL seasons, evaluating every wager exclusively using point-in-time data and actual timestamped market prices that existed before each bet would have been placed. A valid walk-forward backtest advances week by week (Train through Week t - 1 -> Predict Week t -> Grade against historical Week t odds), forbidding any peek at future statistics, end-of-season player grades, or unavailable lines:

PointInTimeConstraint: ModelInputs(Game i) subset InformationSet(Timestamp <= BetTime(i))

Evaluating a backtest requires grading both realized historical yield (NetReturn / TotalStaked at realistic historical juice, not imaginary +100 zero-vig spreads) and historical closing line value (CLV) against archived closing lines. If a historical backtest allegedly earns +8% yield against -110 openers while losing -2.5% CLV against closing lines, the apparent historical return is almost certainly small-sample variance or data leakage.

Worked NFL Example

Contrast four stages of cleaning an NFL totals backtest (800 qualifying historical bets across five past seasons) to see how eliminating data-leakage bugs transforms an unrealistic paper goldmine into an honest baseline check, verifiable alongside single-bet math in the Expected Value Calculator:

Backtest Hygiene Audit Stage (800 Bets) Apparent Win Rate Apparent -110 Yield Mean Historical CLV Root Cause Uncovered
Buggy Draft 1 (Season-End EPA Inputs) 61.50% +17.41% +0.10% Look-ahead leakage (used Weeks 1–18 stats in Week 3)
Draft 2 (Fixed Point-in-Time, Best Ever Line) 56.25% +7.39% +3.40% Execution bias (assumed catching fleeting 4-sec rogue lines)
Draft 3 (Consensus Tuesday Market Line) 53.75% +2.61% +1.45% Realistic timestamped price + point-in-time stats
Unseen Forward Validation (Next 2 Seasons, 310 Bets) 53.23% +1.62% +1.20% Honest out-of-sample survival after transaction costs

Every aspiring football modeler makes Draft 1's mistake at least once: downloading a season summary CSV in January (Team season EPA/play or Season injury-adjusted DVOA) and feeding it into a Week 4 historical regression silently leaks Weeks 5–18 scores into Week 4 predictions. Enforcing strict timestamped snapshots (Stats strictly prior to Tuesday Week t) immediately strips out phantom 61.5% hit rates.

Sample-Size Caveats

Even a leak-free 310-bet unseen forward validation (165 wins, 53.23%) carries a Wilson 95% confidence interval spanning 47.67% to 58.71% (11.04 percentage points wide), overlapping 52.38% break-even on binary win-loss alone—which is why confirming positive historical CLV (+1.20% across 310 games) alongside Brier score improvement against the closing market is essential before risking live capital. Also remember that NFL rule and market changes (kickoff rule overhauls, two-high safety defensive shifts, sharper prop feeds) erode older patterns over time. Study walk-forward validation in Sharkai Academy and audit live forward-tracked records on the verified results ledger.

2024 NFL Regular-Season Play-by-Play Efficiency Baselines

Verified 2024 NFL Weeks 1–18 scrimmage benchmarks across 272 regular-season games.

2024 NFL Play SplitSample (n)Mean EPA / PlaySuccess Rate
All Dropback Pass Plays19,153 plays+0.02444.8%
All Designed & Scramble Runs14,318 plays-0.01142.6%
Baltimore Offense (2024 Rank 1)1,039 plays+0.21850.0%
Denver Defense Allowed (Rank 1)1,084 plays-0.11839.5%

Sample caveat (2024 NFL play-by-play dataset, Weeks 1–18, n = 33,471 scrimmage snaps): Small rolling windows under four games (n < 240 team snaps) swing sharply on turnovers and garbage-time prevent defenses.

Verify on Live & Graded NFL Surfaces

Backtesting questions

What is look-ahead bias in a sports betting backtest?

Using full-season 2024 team EPA to "predict" Week 3 of 2024 cheats with Weeks 4–18 results; valid backtests compute rolling metrics strictly through Week 2 before predicting Week 3.

Why must backtests grade against historical closing lines (with vig)?

Testing against hypothetical 50/50 +100 payouts or cherry-picked stale openers inflates historical ROI by 3% to 6% over executable market prices.

Why split historical seasons into training and out-of-sample test years?

Fitting weights on 2018-2022 and locking every parameter before testing untouched 2023-2025 seasons exposes whether the model learned real football physics or memorized past accidents.

Research Pro ($3.99/week) for research workflows
Includes Lab modules, Full Remix runs, DFS multi-entry, Alerts, CSV export, and Personal picks API keys with an active subscription.