Thursday, August 26, 2010

Win Probability

One of my favorite baseball pages on the web is the win probability graphs at fangraphs. Simply put, these graphs show the probability of either team winning the chosen game after each play, based on historical results of identical situations. For example the home team is losing by two runs at the end of the 6th inning will win approximately 20% of the time. However if they are down two at the end of the 7th, they only win 15% of the time.

Here is the graph for today’s big comeback against the Braves. As you can see things were not looking good for the Rockies. It was a near lock until the Rockies scored three in the 5th to make it more manageable. Of course the real swing happened in the 8th inning, when Carlos Gonzalez hit the game tying single. Click on the photo to link to more details about the game.

Braves @ Rockies - Wednesday, August 25, 2010

The accompanying play log provides more detailed insight. I have copied an abbreviated version here with the details of the 8th inning.

PitcherPlayerInnOutsBaseScorePlayLIWEWPA
J VentersS Smith80___8-10K
1.8514.20%-0.05
J VentersC Iannetta81___8-10BB
1.319.80%0.057
J VentersM Mora811__8-101B
2.4927.80%0.08
J VentersE Young Jr.8112_8-10FC, 4-6
4.1318.80%-0.089
J VentersD Fowler821_38-10BB
3.4524.90%0.06
J VentersC Gonzalez82

123

10-101B
6.0461.20%0.363
K FarnsworthT Tulowitzki821_311-101B
3.8184.90%0.237
K FarnsworthT Helton8212_12-101B
1.1493.10%0.082
K FarnsworthM Belisle821_312-10K
0.6191.30%-0.018

Notice that as each runner got on base, the win expectancy (WE) slowly creeped up. Naturally it went down as each out was made. Of course the big blow was Cargo’s single which increased the probability of of Rockies win from 24.9% to 61.2%. This is also indicated by the win probability added (WPA) column which is .363. It should be noted, that while the three base runners who reached ahead of Cargo did not increase the win expectancy very much, they did each push up the leverage index (LI) so that Cargo’s at-bat had the significance that it did. In other words, Cargo’s hit was the critical play. However, Iannetta, Mora (replace by Young on the fielder’s choice), and Fowler reaching base set up his big chance. Clearly while those plays did not have the impact of Cargo’s single, it could not have happened without those other three guys getting on base.

In case you’re curious here are win probability graphs for some other famous games in Rockies history.

Wednesday, August 4, 2010

Performance Pie

When comparing performance of different players, it can be easy to get overwhelmed by different numbers. So I’ve decided to take a more visual approach to evaluation. By using pie charts showing the six possible outcomes (walk, 1b, 2b, 3b, hr) for a batter and the percentage of plate appearances that each occurs, you can get a good idea of what a player has really done at the plate. Outs are represented by red, while the positive events are in various shades of yellow or green. Raw totals are shown along with the percentages that each event occurred. I’ve done this for this season’s performance (through Aug. 1) for all Rockies players with at least 100 PA’s this year. It should be noted that these charts do not necessarily predict future performance, only what has happened. (Click on the pics to enlarge.)

cg is
cb mo
tt th
df ss
bh rs
mm jh
jg ci

Some interesting things appear when the data is viewed in this way. Jason Giambi has the biggest slice of good events. This directly corresponds to having the highest on base percentage on the team. (The higher the OBP, the more good pie.) What is somewhat surprising as that the higher value events (2b, hr) occur less frequently then you might expect. However, there is still enough green and yellow pie there to not be considered punchless. Carlos Gonzalez’ chart shows that while he hasn’t done something good as often as some of his teammates, the value of what he has done has been very big. With a big chunk of orange, yellow, and green Carlos has clearly done a lot of damage. This also brings new insight to some position battles. Jonny Herrera and Clint Barmes have very similar proportions of red on their chart, however Clint has more green and yellow to Jonny’s orange. In other words, Clint’s advantage in the power department clearly comes through. Similarly, Brad Hawpe’s bigger cream section (walks) doesn’t quite measure up to Seth Smith’s bigger orange and dark green sections.

There are many different options that could be done with these. You could break outs down into strikeouts and outs in play, which would give you a rough idea of who is getting himself out and who is being put out by defenses. You could also have a chart for different splits, over careers or single seasons. I would really like it if others started using this approach to demonstrate player performance. Perhaps one of the big baseball websites that has the technology to do so can include these pie charts along with player profiles, to update with their stats. After all, there’s nothing wrong with having another tool to help us gain insight into player performance.