Third Base Math

Method & validation

What the engine does, how we checked it, and what it assumes. If a number on a card surprises you, start here.

1. From season totals to a run expectancy table

A GameChanger export has season totals, not play-by-play. So instead of averaging what happened after every play, we model the inning. From your totals we estimate, per plate appearance, how often each outcome happens: walk or hit-by-pitch, strikeout, single, double, triple, home run, reached on error, fielder’s choice, or out in play. Between pitches, runners can steal, be caught, be picked off, or move up on a wild pitch or passed ball.

Those rates drive a Markov chain over the 24 base-out situations plus “three outs.” We solve it exactly (no random simulation) for two things in every situation: expected runs for the rest of the inning, and the chance of scoring at least one run. This is the same idea as Chapter 9 of Analyzing Baseball Data with R, built from totals instead of play-by-play.

Season totals tell us steals per plate appearance, not per chance to steal. The engine solves for the per-chance rate that reproduces your actual per-plate-appearance totals (and does the same for double plays when the export has them).

2. Small samples

Your rates are blended with a starting profile for your level, worth 300 plate appearances by default (adjustable). Uncertainty ranges come from re-running the model 150 times on plausible versions of your season (a Dirichlet draw for plate-appearance outcomes and gamma draws for running rates), and reporting the middle 80%.

3. Validation

We fed the engine nothing but 2016 MLB season totals and compared its run expectancy table with the one computed from every play of that season. Root-mean-square error: 0.052 runs; largest single miss: 0.20 runs (bases loaded, nobody out). Runs per inning: 0.502 predicted vs 0.501 actual. The same check runs in our automated tests on every build.

Bases0 outs1 out2 outs
ActualModelDiffActualModelDiffActualModelDiff
Bases empty0.4980.502+0.0040.2680.275+0.0070.1060.107+0.001
Runner on 1st0.8580.865+0.0070.5120.518+0.0060.2200.227+0.007
Runner on 2nd1.1331.109-0.0240.6730.682+0.0090.3120.315+0.003
1st & 2nd1.4451.458+0.0130.9210.927+0.0060.4140.451+0.037
Runner on 3rd1.3471.340-0.0070.9370.935-0.0020.3720.386+0.014
1st & 3rd1.7231.702-0.0211.1961.110-0.0860.4780.510+0.032
2nd & 3rd1.9291.931+0.0021.3581.343-0.0150.5480.601+0.053
Bases loaded2.1062.304+0.1981.5371.562+0.0250.6950.794+0.099

“Actual” = average runs scored in the rest of the inning from every 2016 MLB play, computed with the ABDWR Chapter 5 method from Retrosheet play-by-play (abdwr3edata retro2016, CC0). “Model” = Third Base Math’s engine fed only 2016 season totals.

The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at www.retrosheet.org.

4. Level profiles

Only the MLB 2016 column is measured. The 10U through college columns are rough starting assumptions, not measured data. There is no public play-by-play for amateur baseball that we can use, so they reflect the general shape of amateur games (more walks, errors, wild pitches and steals) and only serve to steady small samples. As your season grows your own numbers take over. When real exports are available, these defaults should be replaced with pooled, anonymous data.

Per plate appearance10U12U14UHSCollegeMLB 2016
Walk14.0%12.0%11.0%10.0%10.0%8.2%
Hit by pitch2.5%2.5%3.0%3.0%3.5%0.9%
Strikeout22.0%20.0%20.0%19.0%20.0%21.2%
Single15.0%16.0%16.0%16.0%15.0%15.0%
Double3.0%4.0%4.2%4.5%4.5%4.5%
Triple1.5%1.2%0.9%0.7%0.5%0.5%
Home run0.4%0.8%0.8%1.2%2.2%3.1%
Reached on error9.0%6.5%5.0%4.0%1.8%0.8%
Fielder's choice2.0%2.0%2.0%2.0%1.0%0.2%
Out in play30.6%35.0%37.1%39.6%41.5%45.5%
Running (per plate appearance)
Stolen bases16.0%11.0%7.0%4.5%2.8%1.2%
Caught stealing2.0%1.8%1.6%1.3%0.9%0.4%
Wild pitch / passed ball12.0%8.0%5.5%3.5%2.0%1.1%
Pickoffs0.6%0.6%0.6%0.5%0.4%0.3%
Advancement
Runner on 2nd scores on a single78.0%74.0%70.0%66.0%62.0%59.7%
Runner on 1st to 3rd on a single45.0%40.0%36.0%32.0%30.0%28.6%
Runner on 1st scores on a double65.0%60.0%52.0%47.0%43.0%40.5%
Runner on 3rd scores on an out in play (<2 outs)50.0%52.0%53.0%54.0%54.0%54.4%
Double play on an out in play, runner on 1st (<2 outs)5.0%8.0%12.0%16.0%22.0%25.3%
BasisAssumedAssumedAssumedAssumedAssumedMeasured

5. Decision formulas

6. Run Leak Report

Plate-appearance events are priced with run values (average change in RE across the situations they happen in, weighted by how often your innings visit each situation). Running events are priced by switching that event off in the model and measuring the drop in runs per inning, times your innings per game. Strikeouts looking are compared with a ball in play at your team’s rates, an upper bound.

7. Known limits