Situational Wins

© Tangotiger

In The Book, I introduced a measure called wOBA, which is excerpted on my site. The metric is very basic:

wOBA = (0.72 x NIBB + 0.75 x HBP + 0.90 x 1B + 0.92 x RBOE + 1.24 x 2B + 1.56 x 3B + 1.95 x HR) / PA 
PA is plate appearances. NIBB is non-intentional walks. RBOE is reaching base on error. So that it looks a bit more manageable, I'm going to limit the number of terms and change the coefficients slightly as follows:
wOBA = (0.7 x BB + 0.9 x 1B + 1.3 x XBH + 2.0 x HR) / PA 
XBH is doubles plus triples. Compare that to a simple version of OBP:
 OBP = (1.0 x BB + 1.0 x 1B + 1.0 x XBH + 1.0 x HR) / PA 
OBP is simply times on base, equally weighted, divided by PA. The 1.0 coefficient is superfluous in OBP. But, I put it in to align to the wOBA equation. What do we see here? wOBA undervalues BB compared to OBP, overvalues HR compared to OBP, and the singles and extra base hits follow a similar, if less extreme pattern. wOBA stands for Weighted On Base Average, to draw the analogy to OBP (On Base Percentage).

We of course accept that the trend line progression in wOBA is correct, but how do we know that the actual weights are correct? Why not .5 or .8 for the walk? Why not 1.5 or 3.0 for the HR? What these weights represent is the impact of those events relative to the out. So, a walk has an impact of +0.7 relative to the out, and the single is +0.9 relative to the out. The HR is +2.0 relative to the out. Are these relationships correct?

Linear Weights tells us that the run value of the walk is roughly +.30 runs, and the single is roughly .47 runs, the HR is 1.40 runs, and the out is roughly -.29 runs. So, the run value of the walk is +.59 relative to the out, the single is +.76, and the HR is +1.69. If we multiply by 1.18 (I'll get to that later), you get .7, .9, and 2.0. So, we see that the relative weights we have in wOBA correspond to Linear Weights run values for each event.

Let's start by using a standard batting line, which I'll simply define as similar to the 2008 MLB average. It doesn't matter too much what you use, but keeping things closer to average is better. Here's what I'm using:

AB	H	2B	3B	HR	BB	K	HBP	SF	BA	OBP	SLG
540	145	30	3	16	50	100	5	5	 0.269 	 0.333 	 0.424 
That's a fairly standard hitting line for a player with 600 PA. If we take the .7 and multiply by the number of walks (and hit batters), we get .7 times 55 equals 38.5. Multiplying .9 by the number of singles (96) gives us 86.4. Doing the same for the 33 extra base hits and the 1.3 weight (42.9) and 16 HR and weight of 2.0 (32), and adding them all up we get: 38.5+86.4+42.9+32 equals 199.8, which we'll round to 200. If we simply add up the total number of times on base (145 plus 50 plus 5) we also get 200. So, all that we've done is recast the numerator in OBP to exactly match the 200, but by reweighting each component. This is what wOBA is all about.

You will notice that I multiplied each of the "runs above out" weights by 1.18. This was only done to align the numerator in wOBA to the numerator in OBP. My only interest here is to create a metric that mirrors OBP, but weights each component appropriately. And that's what was done here.

Now the fun part

The Linear Weights run values I quoted are based on the overall situation. The reality is that each event will impact each base/out state differently. A walk with 1B open and two outs is not the same compared to a walk with the bases loaded. We can follow the same process we just illustrated above, but for each base out state this time. Using Table 50 in The Book, which is similar to one you can find on my site, we end up with the following coefficients for each event:

1B	2B	3B	Outs	1B	XBH	HR	BB	K
--	--	--	0	 0.88 	 1.22 	 1.65 	 0.88 	 -   
--	--	--	1	 0.84 	 1.15 	 2.15 	 0.86 	 -   
--	--	--	2	 0.76 	 1.03 	 3.25 	 0.76 	 -   
1B	--	--	0	 0.89 	 1.19 	 1.52 	 0.83 	 0.06 
1B	--	--	1	 0.83 	 1.32 	 1.99 	 0.75 	 0.04 
1B	--	--	2	 0.72 	 1.40 	 2.94 	 0.68 	 -   
--	2B	--	0	 1.03 	 1.31 	 1.64 	 0.74 	 (0.09)
--	2B	--	1	 0.99 	 1.31 	 1.84 	 0.61 	 (0.01)
--	2B	--	2	 1.03 	 1.30 	 2.04 	 0.46 	 -   
--	--	3B	0	 1.00 	 1.31 	 1.72 	 0.98 	 (0.20)
--	--	3B	1	 1.22 	 1.48 	 2.25 	 0.79 	 (0.45)
--	--	3B	2	 1.09 	 1.17 	 1.83 	 0.49 	 0.01 
1B	2B	--	0	 0.92 	 1.19 	 1.44 	 0.88 	 0.01 
1B	2B	--	1	 0.89 	 1.28 	 1.69 	 0.76 	 0.03 
1B	2B	--	2	 0.93 	 1.39 	 2.11 	 0.57 	 -   
1B	--	3B	0	 0.97 	 1.28 	 1.62 	 0.87 	 (0.09)
1B	--	3B	1	 1.01 	 1.47 	 2.02 	 0.75 	 (0.19)
1B	--	3B	2	 0.98 	 1.31 	 2.01 	 0.55 	 -   
--	2B	3B	0	 1.08 	 1.34 	 1.63 	 0.76 	 (0.16)
--	2B	3B	1	 1.22 	 1.58 	 2.09 	 0.61 	 (0.36)
--	2B	3B	2	 1.12 	 1.25 	 1.67 	 0.45 	 -   
1B	2B	3B	0	 0.95 	 1.23 	 1.47 	 0.93 	 (0.06)
1B	2B	3B	1	 0.95 	 1.29 	 1.64 	 0.85 	 (0.07)
1B	2B	3B	2	 0.95 	 1.22 	 1.68 	 0.75 	 0.00 
If you focus on the walk column, you will see that value of the walk with 1B open and 2 outs plummets. The relative impact of the HR reaches its peak with bases empty and 2 outs. That is, in that base/out state, the importance of the HR, relative to all the other events, shoots up. The reason is that the HR in that situation guarantees a run, while any other event will require at least one other positive event following it. And that becomes much more difficult if you already have two outs.

This chart includes one extra event: the strikeout. The most damaging strikeout, compared to a regular out, is the one that happens with a runner on 3B and exactly one out. It's a killer for the hitting team. And the above chart reflects it. So, this is what we have: wOBA by base/out state. It is the single best way to evaluate the performance of a hitter, given the base/out state. I don't mean to sound all snooty about it, but it simply is. If you believe it is not, then I have not done a good enough job in explaining it. The fault is mine, but neither should you try to dismiss this presentation.

Everything that a batter and pitcher needs to know about how to approach an at bat is captured in the above chart. Focus on the runners on 2B, 3B, with 1 out. What do we see? The weights of the single and extrabase hits jump substantially, while the weight of the HR jumps a bit. The weight of the walk drops down the other way, while the strikeout has a severe negative impact. A pitcher knowing this will now go all-out in trying to strike out the batter, knowing that the walk is not that damaging. He does not want the hitter to get a basehit, because letting him contact the ball will cause more damage than those events would normally cause. Now, all knew this. It's fairly obvious. But, now we have a quantification of our knowledge.

Game State

You may be asking about the inning and score. And you are absolutely correct. Not only do we need to know about the base/out state (of which we only have 24 states, and therefore is a manageable presentation), but we also need to know about the other game states (inning, and score, in addition to the base/out). We can exactly repeat this process. But when it comes to the game state, we don't care about runs, but wins. Wins is the true currency, of which runs is a stand-in when we are not concerned about the inning or score. But, now we do care. And instead of using this delta approach with run values, we use win values.

Let's take the most basic game state that we can imagine: the bases are loaded, there are two outs, it's the bottom of the last inning, and the score is tied. In this situation, any positive event means the game is over. Any out means extra innings. The chances of winning in this situation is 0.6667. Any safe event adds .3333 wins. And negative event removes .1667 wins. So, compared to the out, a walk will add +.500 wins. A single will add +.500 wins. A double, triple, homerun, all will add +.500 wins. For this particular game state, the relative value of the walk is identical to the relative value of the homerun. This is the equation for wOBA for this particular game state:

wOBA = (1.0 x BB + 1.0 x 1B + 1.0 x XBH + 1.0 x HR) / PA 
Obviously, OBP equals wOBA in this case for every single player.

Leverage Index

In the above game state, we see that the impact of the out is -.1667 wins and the safe event has an impact of +.3333 wins. The average out event over all game states has an impact of -.027 wins, while the average safe event over all game states has an impact of +.054 wins. So, in an average game state, the relative value of the safe event compared to the out event is +.081 wins. In the bases loaded game state we are talking about, the relative value is +.500 wins. The Leverage Index is .500/.081 = 6.2. That is, the bases loaded, tie game, bottom of the ninth, two outs game state has 6.2 times more win impact than an average situation. In order to align this state to the typical state, we simply divide the win impact by 6.2. That is, what we are trying to do is to create a set of coefficients such that the weighted average of these coefficients equals .081. And once we have that, we divide each of the coefficients by .081 to align them such that the weighted average is exactly 1.00.

All we need to do therefore is take the win impact of each event and divide it by the leverage index. This is identical to going through the process we used to figure out the wOBA by base/out state. As hard as it is to initially believe, taking the win impact of each event (which is win probability added, or WPA) and dividing it by Leverage Index has nothing to do with WPA any more than Linear Weights Runs has anything to do with WPA.