Why the difference in voting? January 5, 2011
Posted by tomflesher in Baseball, Economics.Tags: Cy Young, Felix Hernandez, Jered Weaver, marginal value
add a comment
This blog has moved. Please visit The World’s Worst Sports Blog.
As much as I love the Angels, I can’t take Jered’s side on this one.
Today, I was browsing the voting results from the various awards being voted on. Each league’s Cy Young award voting included the requisite two closers. No surprises there. There was also a beautiful case study of the AL Cy Young winner, Felix Hernandez, versus Jered Weaver. They had identical records (13-12) in an identical number of starts (34) and similar strikeouts (233 for Weaver versus 232 for Hernandez). What explains Hernandez’ winning total of 167 points contra Weaver’s fifth-place 24?
A few things come to mind:
- Hernandez went longer. In the same number of games, wins, and losses, King Felix pitched 249 2/3 innings, whereas Weaver pitched 224 1/3. Those extra 25 1/3 innings show not only that Hernandez was considered more reliable by his manager but that he was, in fact, more reliable (since the extra innings didn’t result in his stats taking a hit). Hernandez also pitched a formidable 6 complete games with one shutout, whereas Weaver had no pips in either category.
- Hernandez was more effective. Felix gave up fewer runs (80 versus 83) and had a much higher proportion of unearned runs – fully 21.25% of his runs were unearned, whereas Weaver had about 9.6% of runs unearned. That means that more of Hernandez’s runs are attributable to defensive mishaps than Weaver’s. That leads to Felix with a miniscule 2.27 ERA, much lower than Weaver’s respectable 3.01, and 6 wins above replacement compared with Weaver’s 5.4.
- Hernandez was marginally more effective. He had six Tough Losses and no Cheap Wins, while Weaver had five Tough Losses and one Cheap Win. Felix couldn’t rely on his team to supply him with significant run support, while Weaver got that support in his one cheap win.
- However, Hernandez’s control wasn’t as good. Felix walked 70 batters for a control ratio (Strikeouts over walks) of .30 and threw 14 wild pitches. Jered, on the other hand, walked only 54 batters, for a control ratio of .23, and only 7 wild pitches. Still, it seems reasonable to assume that control suffers exponentially as innings increase, so part of the apparent lack of control can be explained by Hernandez’s extra innings.
Overall, Felix’s marginal value over Weaver more than explains the difference in voting.
Utility Pitchers II: Alternate Definition January 3, 2011
Posted by tomflesher in Baseball.Tags: Brian Bruney, Bruce Chen, Carlos Zambrano, David Hernandez, Francsico Rodriguez, Hisanori Takahashi, Joe Girardi, Matt Garza, Matt Harrison, Mike Pelfrey, Neftali Feliz, Nelson Figueroa, quality starts, saves, Tom Gorzelanny
add a comment
In the previous post, I discussed utility pitchers, which I defined as players who primarily play a defensive position who are called on to pitch. It never occurred to me that Bleacher Report had previously defined it otherwise – as a pitcher who can perform well in any role.
How can I quantify that? Well, it seems to me that a sign of quality as a starter is the vaunted quality start (game score above 50, or six innings with three or fewer runs allowed, depending who you ask), and a sign of quality as a reliever is the save. Thus, a good utility pitcher is one who can muster at least one quality start and at least one save in a given season. It’s not perfect, since it relies on the manager being willing to insert a primary starter at the right point in a game to earn a save (or starting a primary reliever, as Joe Girardi did with Brian Bruney back in 2008). Nonetheless, eight pitchers managed that feat this year.
By far the most versatile was Hisanori Takahashi of the Mets. Tak managed six quality starts, a handful of appearances as a left-handed specialist, and eight saves when he stepped in as the Mets’ closer after Francisco Rodriguez became unavailable.
Mike Pelfrey also represented for the Mets, although he made only one relief appearance (in the crazy 20-inning game against the Cardinals).
Matt Garza of the Rays made some news this July when he showed his versatility by starting and saving games in the same series.
The other five pitchers were Bruce Chen, Nelson Figueroa, Tom Gorzelanny, Matt Harrison, and David Hernandez.
Shockingly, Carlos Zambrano wasn’t among the pitchers listed, even though he spent some time in the bullpen for the Cubs and some time as a starter. (Big Z was briefly the highest-paid setup man in the league.)
My guess for the 2011 season? Neftali Feliz of the Rangers was among the best closers this year but has the ability to start games as well. Most likely, though, it’ll be someone like Pelfrey, who was pressed into service in relief for an extra-inning game.
A Utility Pitcher Sidebar December 30, 2010
Posted by tomflesher in Baseball.Tags: Aaron Miles, Andy Marte, Bill Hall, Felipe Lopez, Joe Inglett, Joe Mather, Jonathan Van Every, Jose Canseco, Kevin Cash, position players pitching, Spectrum Club, Wade Boggs
add a comment
The joys of the position player pitching were well represented this year. A whopping eight players came in from the infield or outfield and stood on the mound, more often than not looking pretty comfortable. Two of them – Aaron Miles and Andy Marte – joined the Spectrum Club by pitching and being the designated hitter in the same season, as we discussed in a previous post. Miles’ achievement was even more unlikely because he played for a National League team, so he had to get lucky and DH an interleague game.
Let’s talk about the average utility pitcher, which is a phrase I just made up to avoid saying “position player called on to pitch” over and over again.
- He’s a journeyman. Felipe Lopez, who pitched for the Cardinals on April 17 in a 20-inning game against the Mets, has played for six teams since 2001. Joe Inglett played for three different teams since 2006, and he pitched for the Brewers in a loss on July 27. Backup catcher Kevin Cash has pitched for five teams since 2002, including Houston, where he pitched in a loss on May 28.
- He’s expendable.Jonathan Van Every, who pitched for Boston in a May 8 loss to the Yankees, has played 39 games over three seasons of bouncing between the minors and the majors. Bill Hall, his teammate, pitched on May 28 (in a different game than Cash did!) and played six utility positions for Boston during 2010 – second base, third base, shortstop, and all three outfield positions – in addition to pitching. Joe Mather, who pitched in the same game as Lopez and took the loss, played all three outfield positions and both infield corners. These are guys who are marginal enough that they have to learn a million positions just to be on the roster.
- He played for Boston at some point. Okay, okay, Inglett, Miles, Marte and Mather never did. Fine. But Van Every and Hall both pitched for Boston, Cash has done two unrelated stints with the Red Sox, and Lopez ended the season as Terry Francona’s utility man. That’s quite the coincidence, wouldn’t you agree?
Before anyone gripes, there’s one other type of utility pitcher, but he wasn’t represented this season. That, of course, is the star who gets his jollies pitching. This includes two prime varieties: the Wade Boggs, (wily vet who taught himself a knuckleball), and the Jose Canseco (idiot who hurts himself).
The Spectrum Club December 28, 2010
Posted by tomflesher in Baseball.Tags: Aaron Miles, Andy Marte, designated hitter, Felipe Lopez, Ike Davis, Jeff Kunkel, Joe Mather, Mark Loretta, Nick Swisher, position players pitching, Spectrum Club, Wade Boggs
add a comment
This year, I get to induct two more players into the prestigious* Spectrum Club.
*not a guarantee
The Spectrum Club is the elite group of players who play, in one season, at both ends of the Defensive Spectrum. At the end of a season, a player is inducted if he pitches in at least one game and appears as designated hitter in at least one game. As it stands, that leaves about ten pitchers who only served as placeholder DHs but never made a plate appearance on the rolls, but that’s okay.
Three players have joined the Spectrum Club twice – Jeff Kunkel in 1988 and 1989 for Texas, Mark Loretta in 2001 for the Brewers and 2009 for the Dodgers, and Wade Boggs in 1997 for the Yankees and 1999 for Tampa Bay. Baltimore leads the club in inductees with six.
This year’s first inductee is Aaron Miles of the Cardinals, who actually pitched twice (August 3 in a loss to Houston and September 28 in a loss to Pittsburgh). Making it more impressive, Miles DHed only once, in an interleague win over Kansas City on June 26. Miles is an experienced pitcher, having tossed twice in 2007 and once in 2008. Tony Larussa has quite the commodity there, and I bet he wishes he’d had Miles on hand for that crazy 20-inning game against the Mets on April 17.
The second player to join the club is Andy Marte of Cleveland. Marte DHed twice, once on July 10 in a loss to the Rays and once on September 7. His single inning pitched came as part of the Best Game Ever, a July 29 loss to the Yankees in which the Yankees lost their DH and Marte struck out Nick Swisher.
Who’s the smart money on for Spectrum Club inductions in 2011? Joe Mather and Felipe Lopez are both reasonable hitters and both pitched for Tony Larussa in the Mets-Cardinals game. If Lopez stays with the Red Sox, he might be called on to DH an odd late game, and Terry Francona has been known to use position players in emergencies. Ike Davis may well be asked to DH interleague games for the Mets, and he was a closer in college, so he’d be a solid emergency reliever. If I had to guess, though, I’d figure that the next Spectrum Club inductee will be Nick Swisher getting his second induction for the Yankees.
Hit Batsman Roundup, 2010 December 26, 2010
Posted by tomflesher in Baseball.Tags: Brett Carroll, hit batsman, hit by pitch, Hunter Pence, Kevin Youkilis, Omar Infante, Raul Ibanez, regression, Rickie Weeks, Scott Podsednik, spurious correlation, Victor Martinez
add a comment
There’s very little more subtle and involved than the quiet elegance of a batter getting beaned. In fact, that particular strategy was invoked 1549 times in 2010, with 419 batters getting plunked at least one.
The absolute leader this season was not Kevin Youkilis or Brett Carroll but Rickie Weeks, who led with 25 HBP in 754 plate appearances. Put another way, Weeks got hit in 3.32% of his plate appearances. That’s almost once every 30 plate appearances, or nearly four times the MLB-wide rate of 0.83% of the time. (Incidentally, that’s total HBP divided by total plate appearances. The more skewed mean percentage is 0.58%.) What leads to such a high number of plunkings?
I would assume that a few things would go into the decision to hit a batter intentionally:
- Pitchers are less likely to be hit by other pitchers.
- If a hitter is likely to get on base anyway, he’s more likely to be hit – you don’t lose anything by putting him on base, and you control the damage by limiting him to one base.
- If a batter is likely to hit for extra bases, he’s more likely to be hit.
- If a batter is likely to steal a base, he’s less likely to be hit, but there is an offsetting effect for caught stealing.
- American League batters are more likely to be hit because of the moral hazard effect of pitchers not having to bat.
With that in mind, I set up a regression in R using every player who had at least one plate appearance in 2010. I added binary variables for Pitcher (1 if the player’s primary position is pitcher, 0 otherwise) and Lg (1 if the player played the entire season in the American League, 0 otherwise), then regressed HBP/PA on Pitcher, Lg, BB, HR, OBP, SLG, SB, and CS. The results were somewhat surprising:
Call: lm(formula = hbppa ~ Pitcher + Lg + BB + HR + OBP + SLG + SB + CS) Residuals: Min 1Q Median 3Q Max -0.0154027 -0.0059081 -0.0018096 0.0001845 0.1397065 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 6.847e-03 9.815e-04 6.975 5.77e-12 *** Pitcher -5.399e-03 9.136e-04 -5.909 4.81e-09 *** Lg -1.614e-03 7.054e-04 -2.289 0.0223 * BB -1.412e-05 3.257e-05 -0.434 0.6647 HR 1.122e-04 7.956e-05 1.411 0.1587 OBP 8.570e-03 3.477e-03 2.465 0.0139 * SLG -3.451e-03 2.468e-03 -1.398 0.1624 SB -6.749e-05 8.693e-05 -0.776 0.4377 CS 1.770e-04 2.646e-04 0.669 0.5036 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Residual standard error: 0.01042 on 935 degrees of freedom Multiple R-squared: 0.08839, Adjusted R-squared: 0.08059 F-statistic: 11.33 on 8 and 935 DF, p-value: 2.07e-15
Created by Pretty R at inside-R.org
That’s right – only Pitcher, Lg, HR, and SLG are even marginally significant (80% level). BB, SB, and CS aren’t even close. Why not?
Well, for one, the number of stolen bases and times caught stealing are relatively small no matter what. There probably isn’t enough data. For another, there simply probably isn’t as much intent to hit batters as we’d like to pretend.
Second, American Leaguers are less likely to be hit. This baffles me a little bit.
Also, keep in mind that this model shouldn’t be expected to, and cannot, explain all or even most of the variation in hit batsman. The R-squared is about .09, meaning that it explains about 9% of the variation. It ignores probably the most important factor, physics, entirely. (That is, the model doesn’t have any way to account for accidental plunkings.) As a side note, other regressions show there might be an effect for plate appearances, meaning you’re more likely to get hit by chance alone if you take enough pitches.
Finally, there are some guys who manage to do the opposite of Weeks’ feat. Houston outfielder Hunter Pence went 156 games and 658 plate appearances without getting plunked at all. Honorable mentions go to Raul Ibanez, Scott Podsednik, Victor Martinez, and Omar Infante, all of whom went over 500 plate appearances without a beaning. Now THAT’S plate discipline.
Weird Pitching Decisions Almanac in 2010 December 24, 2010
Posted by tomflesher in Baseball.Tags: baseball-reference.com, Carl Pavano, Cheap Wins, Clayton Kershaw, Colby Lewis, Cubs, Felix Hernandez, Francisco Rodriguez, Hiroki Kuroda, Jeremy Affeldt, John Lackey, Justin Verlander, Mariners, Phil Hughes, Red Sox, Rodrigo Lopez, Roy Oswalt, Royals, Tommy Hanson, Tough Losses, Tyler Clippard, vulture wins
1 comment so far
I’m a big fan of weird pitching decisions. A pitcher with a lot of tough losses pitches effectively but stands behind a team with crappy run support. A pitcher with a high proportion of cheap wins gets lucky more often than not. A reliever with a lot of vulture wins might as well be taking the loss.
In an earlier post, I defined a tough loss two ways. The official definition is a loss in which the starting pitcher made a quality start – that is, six or more innings with three or fewer runs. The Bill James definition is the same, except that James defines a quality start as having a game score of 50 or higher. In either case, tough losses result from solid pitching combined with anemic run support.
This year’s Tough Loss leaderboard had 457 games spread around 183 pitchers across both leagues. The Dodgers’ Hiroki Kuroda led the league with a whopping eight starts with game scores of 50 or more. He was followed by eight players with six tough losses, including Justin Verlander, Carl Pavano, Roy Oswalt, Rodrigo Lopez, Colby Lewis, Clayton Kershaw, Felix Hernandez, and Tommy Hanson. Kuroda’s Dodgers led the league with 23 tough losses, followed by the Mariners and the Cubs with 22 each.
There were fewer cheap wins, in which a pitcher does not make a quality start but does earn the win. The Cheap Win leaderboard had 248 games and 136 pitchers, led by John Lackey with six and Phil Hughes with 5. Hughes pitched to 18 wins, but Lackey’s six cheap wins were almost half of his 14-win total this year. That really shows what kind of run support he had. The Royals and the Red Sox were tied for first place with 15 team cheap wins each.
Finally, a vulture win is one for the relievers. I define a vulture win as a blown save and a win in the same game, so I searched Baseball Reference for players with blown saves and then looked for the largest number of wins. Tyler Clippard was the clear winner here. In six blown saves, he got 5 vulture wins. Francisco Rodriguez and Jeremy Affeldt each deserve credit, though – each had three blown saves and converted all three for vulture wins. (When I say “converted,” I mean “waited it out for their team to score more runs.”)
Are This Year's Home Runs Really That Different? December 22, 2010
Posted by tomflesher in Baseball, Economics.Tags: Carlos Pena, Carlos Quentin, home run distributions, home runs, Jose Bautista, kurtosis, Mark Teixeira, Miguel Cabrera, Paul Konerko, R, skewness, statistics
add a comment
This year’s home runs are quite confounding. On the one hand, home runs per game in the AL have dropped precipitously (as noted and examined in the two previous posts). On the other hand, Jose Bautista had an absolutely outstanding year. How much different is this year’s distribution than those of previous years? To answer that question, I took off to Baseball Reference and found the list of all players with at least one plate appearance, sorted by home runs.
There are several parameters that are of interest when discussing the distribution of events. Th
e first is the mean. This year’s mean was 5.43, meaning that of the players with at least one plate appearance, on average each one hit 5.43 homers. That’s down from 6.53 last year and 5.66 in 2008.
Next, consider the variance and standard deviation. (The variance is the standard deviation squared, so the numbers derive similarly.) A low variance means that the numbers are clumped tightly around the mean. This year’s variance was 68.4, down from last year’s 84.64 but up from 2008′s 66.44.
The skewness and kurtosis represent the length and thickness of the tails, respectively. Since a lot of people have very
few home runs, the skewness of every year’s distribution is going to be positive. Roughly, that means that there are observations far larger than the mean, but very few that are far smaller. That makes sense, since there’s no such thing as a negative home run total. The kurtosis number represents how pointy the distribution is, or alternatively how much of the distribution is found in the tail.
For example, in 2009, Mark Teixeira and Carlos Pena jointly led the American League in home runs with 39. There was a high mean, but the tail was relatively thin with a
high variance. Compared with this year, when Bautista led his nearest competitor (Paul Konerko) by 15 runs and only 8 players were over 30 home runs, 2009 saw 15 players above 30 home runs with a pretty tight race for the lead. Kurtosis in 2010 was 7.72 compared with 2009′s 4.56 and 2008′s 5.55. (In 2008, 11 players were above the 30-mark, and Miguel Cabrera‘s 37 home runs edged Carlos Quentin by just one.)
The numbers say that 2008 and 2009 were much more similar than either of them is to 2010. A quick look at the distributions bears that out – this was a weird year.
Diagnosing the AL December 22, 2010
Posted by tomflesher in Baseball, Economics.Tags: 2010, American League, baseball-reference.com, R, regression, statistics, Year of the Pitcher
add a comment
In the previous post, I crunched some numbers on a previous forecast I’d made and figured out that it was a pretty crappy forecast. (That’s the fun of forecasting, of course – sometimes you’re right and sometimes you’re wrong.) The funny part of it, though, is that the predicted home runs per game for the American League was so far off – 3.4 standard errors below the predicted value – that it’s highly unlikely that the regression model I used controls for all relevant variables. That’s not surprising, since it was only a time trend with a dummy variable for the designated hitter.
There are a couple of things to check for immediately. The first is the most common explanation thrown around when home runs drop – steroids. It seems to me that if the drop in home runs were due to better control of performance-enhancing drugs, then it should mostly be home runs that are affected. For example, intentional walks should probably be below expectation, since intentional walks are used to protect against a home run hitter. Unintentional walks should probably be about as expected, since walks are a function of plate discipline and pitcher control, not of strength. On-base percentage should probably drop at a lower magnitude than home runs, since some hits that would have been home runs will stay in the park as singles, doubles, or triples. Finally, slugging average should drop because a loss in power without a corresponding increase in speed will lower total bases.
I’ll analyze these with pretty new R code behind the cut.
What Happened to Home Runs This Year? December 22, 2010
Posted by tomflesher in Baseball, Economics.Tags: baseball-reference.com, forecasting, home runs, R, regression, standard error, statistics, time series, Year of the Pitcher
add a comment
I was talking to Jim, the writer behind Apparently, I’m An Angels Fan, who’s gamely trying to learn baseball because he wants to be just like me. Jim wondered aloud how much the vaunted “Year of the Pitcher” has affected home run production. Sure enough, on checking the AL Batting Encyclopedia at Baseball-Reference.com, production dropped by about .15 home runs per game (from 1.13 to .97). Is that normal statistical variation or does it show that this year was really different?
In two previous posts, I looked at the trend of home runs per game to examine Stuff Keith Hernandez Says and then examined Japanese baseball’s data for evidence of structural break. I used the Batting Encyclopedia to run a time-series regression for a quadratic trend and added a dummy variable for the Designated Hitter. I found that the time trend and DH control account for approximately 56% of the variation in home runs per year, and that the functional form is
with t=1 in 1955, t=2 in 1956, and so on. That means t=56 in 2010. Consequently, we’d expect home run production per game in 2010 in the American League to be approximately
That means we expected production to increase this year and it dropped precipitously, for a residual of -.28. The residual standard error on the original regression was .1092, so on 106 degrees of freedom, so the t-value using Texas A&M’s table is 1.984 (approximating using 100 df). That means we can be 95% confident that the actual number of home runs should fall within .1092*1.984, or about .2041, of the expected value. The lower bound would be about 1.05, meaning we’re still significantly below what we’d expect. In fact, the observed number is about 3.4 standard errors below the expected number. In other words, we’d expect that to happen by chance less than .1% (that is, less than one tenth of one percent) of the time.
Clearly, something else is in play.