BP Comment Quick Links
World Series time! Enjoy Premiumlevel access to most features through the end of the Series!



August 28, 2013 Reworking WARPThe Overlooked Uncertainty of OffensePrevious Installments of Reworking WARP
So, we’ll math. But before we math, let’s talk a bit about how sabermetricians measure offense, as opposed to what I like to call “RBI logic.” Traditional accounting of baseball offense works on two basic principles:
Ignoring some pretty silly edge cases, this reconciles with team runs scored. The problem is that it’s such a binary model—either a runner scores or he doesn’t. With baseball, though, there are outcomes that can increase the probability of a runner scoring without driving him in immediately: · You can advance the runner, which makes him more likely to be driven in in a subsequent atbat, and · You can avoid making an out, which—even if you do not advance the runner in doing so—gives additional batters behind you chances to drive him in. So RBI logic does a very good job of reconciling to team runs, by sheer force of will, but it’s a poor reflection of the underlying runscoring process. You end up crediting players for coming up in spots where runners are in scoring position, and ignoring the contributions of players who advance runners over. You also ignore the value of not making outs. The foundation of most modern sabermetric analysis of run scoring is the run expectancy table. Here’s a sample table, derived from 2012 data:
Top to bottom, it goes by the runner on base—a zero indicates no runner on base, one through three indicates a runner on that base. Left to right is the number of outs in an inning. (It’s not explicitly listed on most run expectancy tables, but the threeout state is a special state in which runs expected goes to zero.) The table lists the average number of runs expected to score in the rest of the inning from that state—the lowest is with the bases empty with nobody on and two outs, at 0.101 runs expected, all the way up to the bases loaded with no outs, where 2.262 runs score on average. What’s interesting isn’t so much the run expectancy itself, but the change in run expectancy between events. So let’s run through an example. Say you have runners on first and third, no outs. That’s a run expectancy of 1.677. Now, suppose the next hitter walks. That moves you to a bases loaded, no outs situation. That walk would be worth 0.585 runs—a pretty important walk. What if the hitter strikes out instead? That moves you into a first and third with one out situation, for a value of 0.531. We come up with the value of each event by looking at the average run expectancy change for each event—that’s known as the event’s linear weights value. Here’s a set of linear weights values for official events in 2012:
We’ve separated the intentional walk from other walks. You’ll note that a hitbypitch is worth more runs than a walk—pitchers tend to issue fewer walks with first base occupied, compared to hit batters. Shockingly, a home run is worth more than a triple, a triple is worth more than a double, and so on. Now let’s look at the same table, but with one new piece of information—the standard deviation around that average change in run expectancy:
There is a substantial correlation between the average run value of an event and its standard error, which shouldn’t be surprising. It also tells us that the actual value of a player’s offense is more uncertain the more he relies upon power—the value of a home run is more uncertain that that of a single, after all. We need to get into a bit of gritty math stuff here before getting to the fun stuff. What you have to remember is that the standard deviation is simply the square root of the variance around the average. In order to combine standard deviations, you have to first square them, then combine them, then take the square root again. (In other words, variances add, not standard deviations.) Now, here’s a list of the top 20 players in batting runs above average (derived from linear weights) in 2012, along with the estimated error for each:
So the difference between Mike Trout and Miguel Cabrera in 2012 was 12.5 runs. The combined standard error for the two of them (remember, variances add) is 9.7. How confident are we that Trout was a better hitter (relative to average) than Cabrera in 2012? Divide the difference by the standard error and you get 1.3—that’s what’s known as a zscore. Look up a zscore of 1.3 in a zchart, and you get .9032—in other words, roughly 90 percent. So there’s a 90 percent chance, given our estimates of runs and our estimates of error, that Trout was the better hitter. Now, we should emphasize that a 90 percent chance that he was means there’s a 10 percent chance that he wasn’t. What if we compare Posey to Beltre? That’s a difference of seven runs, which works out to a confidence level of 77 percent that Posey was the better hitter. What about comparing Braun to Votto? That’s a difference of just half a run between them—our confidence is only about 52 percent, essentially a coin flip between them. So what we have is a way to measure our measurement of run production, and then to apply a confidence interval to our estimates. For a fulltime player (one qualified for the batting title, that is) the average standard error is roughly six runs. If you want to compare bad hitters to good hitters, sure, most of the time the difference between them far outstrips the measurement error. But if you want to compare good hitters to good hitters (which is frankly a lot more interesting, and probably a lot more common), then you’ll often find yourself running into cases where the difference between them is close to, if not lower than, the uncertainty of your measurements. So if we can quantify our measurement uncertainty, the next question we can ask is, is there a way to measure offense that’s subject to less measurement uncertainty? I have a handful of ideas on the subject, which we’ll take a look at next week.
Colin Wyers is an author of Baseball Prospectus. Follow @cwyers
35 comments have been left for this article.

I'm really enjoying this series and think it's a real step in the right direction.
I assume you'll get there in the end, but the thing that jumps out to me is that a 6 run uncertainty level on the supposedly easy hitting side of the player value equation has pretty big ramifications for player valuations.
At ~6M/win a 6 run approximation for hitting contributions would suggest a 3.6M level of uncertainty, right?
Seems like if this approach takes hold we may lose a lot of the knee jerk declarations that team X or Y is dumb for every signing (which would be a good thing).
Yeah, 6 runs is roughly 2/3rds of a win, depending on the exact run environment you're in. And that's just for one WARP component. Once we get into stuff like replacement level and positional adjustment, we'll see that margin of error creep up. So yeah, if you start looking at WARP as an estimate rather than a point value, you get into a lot of... well, MAYBE this guy was better, rather than this guy WAS better.