Navigation: Jump to content areas:


Pro Quality. Fan Perspective.
Login-facebook
Around SBN: Jim Irsay: We Can Make It Work With Peyton Manning

WinExp 1: Graphs! Graphs! and Quizzes

I wrote a program to take play-by-play data from Yahoo Sports and transform it into win expectancy calculations. Combined with Excel, we can make cool pictures so you can see roughly how much players are helping us win.  I've downloaded all the A's games so far and I've analyzed the data through June, so this little introduction will be about the first half of the season.  

The basic idea is that for any stage of a game, if you know the inning, outs, baserunners and score difference, you can look up how teams in the past did under those circumstances. This is a brute force way to estimate the probability you will win. By seeing how a player affects their team's chances of winning, you can see how important their contributions really are. So for instance, a homer in a blowout counts for almost nothing while a single that brings you from behind into the lead counts a huge amount. Similar ideas apply to pitchers: striking out the side for a three-run lead save is basically worthless, but in a tie game, 9th inning with a runner on third, getting a pop-up for the second out is huge.  The program automatically dings players for errors, but I didn't go back to adjust credit for spectacular defensive plays (it's possible... I just didn't have energy).

I can explain more details in some other diary. On to some pictures.  This may be more fun for you if you read the text before the pictures, because there are some mini-quizzes for you.

Chavy Rollercoaster

For instance, here is a picture of Chavez's first-half.

No surprise, huh? Every picture in this diary is a running total of the player's contributions to the season, so everywhere the graph goes up is where he's making positive contributions. You can see he helped the team in mid-May and then tailed off before picking it back up on the first day of June and going on a long positive tear.

What does Chavy's performance look like in context? ....

Star-divide

Hitters

Here is a graph of two hitters who contributed about as much as Chavy for the first half, along with one ROCK hitter and one erratic player. QUIZ. Can you guess who the other four players are?  

Okay, Kotsay and Kendall got off to fast starts but stopped contributing (though they didn't hurt the team either).  The erratic player was, of course, Byrnes, and the ROCK was, unbelievably to me, Kielty. He was the offensive foundation of the team for the first half. He's kind of slumping recently so I forgot, but I gotta give him credit for all his first-half contributions.

Once again note that we punish for errors but haven't (yet) rewarded for great fielding.

Starters

Okay, two more quizzes before I get too tired.  Here are the 6 starters from the first half (not including Etherton). Can you figure out who is who without peeking?

The surprising thing to me is that, (1) by this measure, Saarloos contributed as much as Zito in the first half, though neither one has a lot to brag about; this probably means they both lived and died with their run support and didn't do a lot in aggregate to overcome bad run support or sabotage good support;  (2) Harden is so kickass it's astounding.

Bullpen

This picture shows members of our bullpen. By the end of the first half, you can see three of them made positive, increasing contributions, two of them neither helped nor hurt, and two of them quite dramatically plummet off cliffs.  Name them.

The possibly surprising thing here is that the much-trod-upon Rincon is only a small liability in the end. His blown opportunities are mostly made up by his coming through in high-leverage situations. One can also see that the middle of May was a very very bad time for the bullpen.

Okay. Getting tired.  I will probably do at least one more of these diaries, with a graph about the 2B competition, a graph about the injured folks and the call-ups, and updates for data through the end of August.  If there are any other pictures you want, feel free to suggest.

As a closing remark, I'm really happy and intrigued by these pictures. I didn't know what they would look like when I started... but they do tell a story that makes sense, and also help me think about the season differently.

Comment 9 comments  |  0 recs  | 

Do you like this story?

Comments

Display:

useful / not useful
win expectancy seems somewhat useful/interesting for hitters, not for pitchers.  pitchers can't really control the run support they get (zito, blanton).

why is byrnes not a flat line after a certain point (like dotel), didn't we trade him?

kielty is klutch.

If I weren't playing baseball, I'd be... "in the Ultimate Fighting Championship." -Rich Harden

by xbhaskarx on Sep 5, 2005 2:37 AM PDT reply actions  

not sure if it's run support
it was just a hypothesis. In reality, despite the press releases, Zito did suck a lot of the first half.

Looking over the whole year's results (future diary), the pitchers have ended up ranked almost exactly where I would have rated them, so I (naturally) think the winexp stuff applies just as well to pitchers. I see now that even hard luck pitchers can rack up the winexp's... the year results rank clearly the starting pitchers as

Harden
Zito
Blanton
Haren
Saarloos

This stuff is fascinating me.

More about this stuff here: http://www.hardballtimes.com/main/article/the-one-about-win-probability/

by Apricot on Sep 5, 2005 3:45 AM PDT up reply actions  

actually not quite
I recomputed the latest data. There is something very shocking in the starter rankings that I have to think about... I have to do a reality check to see if it's reasonable or some bizarre bug.

by Apricot on Sep 5, 2005 10:03 AM PDT up reply actions  

oh yeah
we traded Byrnesy in July...

by Apricot on Sep 5, 2005 3:46 AM PDT up reply actions  

Octavio Dotel.
Wow.  Just, wow.  Can anyone else spot the Boston series in Fenway?

Great job Apricot.  I have more to say about this, but I've been swamped lately.  Maybe some other time.

Fearing Mecir since 2000.

by salb918 on Sep 5, 2005 8:28 AM PDT reply actions  

Conversely...
I have very little to say and lots of time to say it.

But they are interesting.

"HRs by second basemen are sexy. They're rare and exotic." -Kyli

by McFood on Sep 5, 2005 12:36 PM PDT up reply actions  

what are you a masochist?
it looks like tech stocks cerca 1999-2000.
If I weren't playing baseball, I'd be... "in the Ultimate Fighting Championship." -Rich Harden

by xbhaskarx on Sep 5, 2005 2:51 PM PDT up reply actions  

All I see are demonic, evil red X's
I'm scared ...
Monkeyball Note: if the A's postgame radio host was an evil supervillain, his official Evil Supervillain Laugh would be "Buan-ha-ha-ha-ha!!!")

by devo on Sep 6, 2005 9:57 AM PDT reply actions  

Comments For This Post Are Closed


User Tools

Welcome to the SB Nation blog about Oakland Athletics.

Community Guidelines ANcillary Terms

FanPosts

Community blog posts and discussion.

Recommended FanPosts

Aperture_logo_small
Community Prospect List #4
Img_2672_small
Long-Term Outlook

Recent FanPosts

Fubarcloud_small
Wolf being told to spend money
Small
The wRC+ Challenge
Pumpkin_small
Maybe this is a stupid stats question
Small
A's reportedly sign Cespedes
Unknown_small
Is It Really Worth It: Three Veterans Who May Be Playing Oakland Next Year, But Shouldn't Be
Small
Manny's Contract
Small
fantasy baseball league for A's fans!
Small
NYY Proposal
Small
Roy Oswalt = opportunity

+ New FanPost All FanPosts >


Front Page Writers

Maya_papi_small Tyler Bleszinski

08-_the_author_small 67MARQUEZ

Josefav2_small danmerqury

Baseball_small baseballgirl

Poochini-butt_in_box_2_small Nico

Img_0653_small dwishinsky

Front Page Writers

Smiley_face_small gigglingone

Venasfans_small OaklandSi

60-minutes-clock_small cuppingmaster

Patpicturebucky2_small YonYonson

Img_3830_small David Fung

Moderators

Photofunia-5c770b_small coffee roaster

Denver_small Colorado Fan

Ls_logo100_small LoneStranger

Thumbs_up_small LongTimeFan

Marty_profile_in_green_small mrod

Img_1877_small Billy Frijoles

Babycomputergeek_small paris7

Img_0115_small Tutu-late