Stat Question (Quantitative)
- Hungary Jack
- Mother Earth
- Posts: 19536
- Joined: July 24 06, 6:03 am
- Location: In Cognito
Stat Question (Quantitative)
Is there a well-document correlation between BABIP and LD%?
I think we discussed this not too long ago, but I cannot find the thread.
Thanks, HJ.
I think we discussed this not too long ago, but I cannot find the thread.
Thanks, HJ.
- Asmodai
- Veteran Player
- Posts: 1121
- Joined: February 9 07, 7:37 pm
Re: Stat Question (Quantitative)
I'm just going to quote everything I posted last time, if that's cool.
http://gatewayredbirds.com/forum/viewto ... =1&t=16176
Asmodai wrote:Will do. This first graph has hitters LD% on the x-axis and hitters BABIP on the y-axis. Each data point represents one player-season from 2004, 2005 or 2006 who qualified for the batting title. This gave us 443 data points.Hungary Jack wrote:It would be cool if some of our stat gurus could plot BABIP vs. LD% and determine correlation and R-squared.
There's a general correlation. It's likely that speed is another factor, and park as well as GB rate. This graph is using the same sample of guys who had consecutive seasons with the cuttoff. This is year 1 LD% on the x-axis and year 2 on the y. Obviously there are only three years so 2005 showed up a lot. There were 178 such sets of players.
I cannot stress how important this graph is. It's saying that there's no year-to-year correlation for a players ability to hit linedrives. It's similar to saying that if Albert Pujols hits .330 one year and Yadier Molina hits .230 that the next season Molina is just as likely as Pujols to win the batting title. While a high LD% usually leads to more hits, a high LD% doesn't appear to be much of a consistent skill for a hitter.
If you do pitchers you're going to get similar results. You'll have a little bit of correlation for BABIP vs LD% in any given season, but you'll have essentially no correlation in BABIP or LD% from year to year which is vital from a projection standpoint. That's why HR power/groundball rates, even transient speed for a hitter, strike out rates, and walk rates are so vital for projections for hitters and pitchers. They're less likely to change season to season, although generally you lose footspeed as you age causing a higher expected BABIP as you beat out less GBs.
Asmodai wrote:The first one is suggesting that line drive percentage slighly corresponds to BABIP for a hitter. The second one suggests there aren't any consistent line drive hitters in the league.Phyrkrakr wrote:So, are the graphs above saying that there aren't any real line drive hitters in the league, or that line drive percentage doesn't really correspond to BABIP?
Ironically enough I'd expect LD% and BABIP to correlate higher for pitchers, just as is factors out speed to a certain extent.
Asmodai wrote:So you're calculating standard deviation for Pujols' career LD% and then using that to say he's consistent? By sheer mathematics, IE the formula used to find standard deviation, we would expect 2/3 of his seasons to fall within 1 standard deviation on either side. It's that way for a couple of reasons. One you mathematically made it that way, and LD% is clearly a normal distribution.
You didn't prove or show anything. And you don't have to spell things out to me, odds are you're not going to mention anything I don't know and can't understand.
Anyways, back to the data. I didn't realize fangraphs had LD% back to 2002. Unfortunately right now, all I have loaded in my spreadsheet is GB/FB, LD%, GB%. FB%, IFFB%, HR/FB, IFH, IFH%, BUH and BUH%. BABIP was on another page. I'll add that and others tomorrow afternoon or in the class I TA.
Adding 2002 and 2003 brings up our total sample size to 791 seasons. Now for just some random easy data:
StDev: 2.78%
Mean: 20.9%
Max: 30.7% (Brian Roberts, 2003)
Min: 13.3% (Rocco Baldelli, 2004)
I should point out that the third and fourth highest belong to Todd Helton. It's my opinion that his (and all Colorado) figures are skewed for the obvious reasons. It would probably be a good idea to exempt all Rockies data, but I'll leave it in for now.
In theory, because it's (well should be) a normal distribution with the standard deviation and mean we would expect 68.3% of the data to fall within one stdev, 95.4% to fall within two standard deviations, and 99.7% to fall within three standard deviations. I'm going to post the exact percentages from the data, though we're just going through motions here:
1σ (18.2%-23.7%) = 539/791 = 68.1%
2σ (15.4%-26.5%) = 760/791 = 96.1%
3σ (12.6%-29.3%) = 789/791 = 99.7%
Magic, they fit almost perfectly, with rounding causing a little bit of error. Gotta love the rigorous perfection of some things in mathematics. Anyways, this was expected. It doesn't show us anything. But to further illustrate it, here's the distribution plotted with groups of .5%. LD% is on the bottom, percentage on the side. It's pretty much a histogram thouigh it's not in bar format. It's not perfect, but close.
Now, to find the same seasons back-to-back again. This time there are 419 such sets of datapoints. It's a pretty large sample.
The results of the data found earlier were pretty much re-affirmed, but that's one poor r-squared. Using the same analogy I said earlier it's like saying that if Yadi hits .220 and Albert Pujols hits .330, Yadi is just as likely as AP to win the batting title the next season.
Next up, you're probably saying there are probably a few outliers that stay near the top each season. This is going to be true, but we can explain some of it. Now, you've seen the binomial distribution at some point, I hope. If you haven't, that's fine, just go with the answer I spit out on faith. I'm not going to put it on steroids. We luckilly have 42 players that qualified in all five seasons, a fairly large sample. Based on the properties of a standard deviation, we would expect 15.8% of data points to be over one standard deviation above the mean (23.7%+). Using probabilities we would expect a 0.0623% probability of having a player being above 23.7% in all five seasons. That's about 1 in 10,000.
There's none who fit the criteria. Using the binomial distribution we would expect .27% of hitters to be able to go over it at least four of the five seasons, about one in 300. Of those 42, 2 of them did: Michael Young and Bobby Abreu. Young might have an advantage hitting in Texas, but Abreu doesn't seem to have an advantage I can think of, other than being left-handed. Continuing, we would expect 3.1% to have it in 3 of the seasons. Four more guys reach this: Jason Kendall, Manny Ramirez, Todd Helton and Mark Kotsay (wtf?). Continuing again, we would expect another 14.9% to have a couple of those seasons. Only one guys hit it here, Derek Jeter.
I would assume that there are "linedrive" hitters but they're rarer than most people think. I wouldn't include Derek Jeter, 2 of his seasons were below the average LD% overall. The guys that were able to do it 3 or 4 times in five years are the only guys that I would call line drive hitters, and they probably represent less than five percent of all major league starters. It's a rare "gift" I guess.
Now let's look at the flip side. Are there hitters that are worse than usually hitting them? Probably. But there's a selection bias (there was in the first part too), only the elite hitters are good enough to play five consecutive seasons. The ones that are poor, wash out. So it's a skill, but very very few do it well. Of these hitters we would expect the same probabilities as the others (just the flip side of the distribution). There was no one who did it four or five times. There were three guys who were one standard deviation or more worse three times. They are: Shawn Green, Luis Castillo, and Alex Rodriguez. Shawn Green seems odd, didn't expect to see him there. Luis Castillo is no shock. On the flip side of LD% there is GB%. Luis Castillo is uber elite in GB%. Being fast he just whacks the ball on the ground and runs like the wind. Alex Rodriguez is a real shock to me. My guess is that a lot of his hits are majestic home runs that aren't classified as line drives.
So there you have it:
Linedrive Hitters:
Michael Young
Manny Ramirez
Bobby Abreu
Jason Kendall
Mark Kotsay
Todd Helton*
Anti-linedrive Hitters:
Shawn Green
Alex Rodriguez
Luis Castillo
Jacque Jones
Pretty much every other hitter is non-denominational. Todd Helton and Coors Field have gotten astericked. Young, Kendall, and Manny shouldn't shock anyone. If I had to predict who would be line drive hitters they probably would have been on my list. Jeter would too. If I had to guess the other side I would have said Castillo, Pierre, Ichiro and other burners.
Pierre was pretty much in the middle each season. Ichiro was much of the same. Looking case by case I am going to add Jacque Jones to the none ones. Despite not reaching any rough criteria he had two seasons where he was two stdevs worse than league average and the other three were over half a standard deviation away.
For the interested, Albert Pujols wasn't even close to being that good. I guess there's other ways to classify who's a LD hitter than this. Maybe summing the Z scores and seeing if they average +1 stdev. Doing that just gives us Abreu, Young and Helton. Maybe that's a little too high. +.75 would just throw back in Mark Kotsay and Jason Kendall. We're not getting anywhere.
I guess a general LD hitter would maybe average .50+. If it was completely normal, just .3% would be expected to average that. Doing that cutoff would thrown in Edgar Alfonzo and Edgar Renteria. I'll buy those.
So yes it appears there are a few line drive hitters. It's a very rare trait though. If we're using the .5 average, then here's the final list
Linedrive Hitters
Michael Young
Manny Ramirez
Bobby Abreu
Jason Kendall
Mark Kotsay
Todd Helton*
Edgar Alfonzo
Edgar Renteria
Not So Linedrive Hitters
Shawn Green
Orlando Cabrera
Luis Castillo
Jacque Jones
Carlos Beltran {-0.09, -0.05, -1.92, -0.63, -1.49}
Andruw Jones
Alex Rodriguez
Adrian Beltre
Finally, there should be some five year control over LD% obviously, but year to year the non-existant correlation shows there's a lot of variability in the stat. I've never looked at BABIP for pitchers this way. I dunno if anyone has. Maybe I should...
Asmodai wrote:Okay, I'm probably not going to help any but here goes nothing. What happens when you take find the standard deviation of any data sampling is it fits the standard deviation so that about 2/3 of the data points are within 1 standard deviation of the mean and 95% are within two. So when you do it with Pujols' five seasons of data, of course three of them will be really close with one outlier season. It doesn't mean he's consistent or not, it's just a byproduct of the method you used. Statistics are a very valuable tool, but if you use the method incorrectly it's becomes an atom bomb.Phyrkrakr wrote:OK Meph, you've got me. It should be fairly obvious to the board by now that you're better at stats than most people. I'm not sure what I was looking at incorrectly in the data, but I'm pretty sure that I was in over my head.
Anyways, now for the BABIP stuff for pitchers. Getting some stuff out of the way, I'm only using data from 1995-2005. I don't know how much of a factor league environment affects BABIP, so I errored on the safe side and decided to only use seasons from the same era. With a minimum of 162 innings pitched we found 880 pitcher seasons. I also used estimated BABIP, not exact. I didn't have the AB for hitters, but this is probably better because I think we should include things like sac flys. I used (H-HR)/(BF-BB-HBP-K-HR). Some stuff from the samplet:
Mean: .290
StDev: .0228
Min: .232 (Damian Moss, 2002)
Max: .353 (Aaron Sele, 1999)
I hope you did not pick Moss in your 2003 fantasy draft. I broke up the players into groups of .005 and plotted a frequency graph, it's pretty normal with a few differences here and there.
Next I found how many consecutive seasons from the same player we could find. There was a sample of 475, with everyone who had a BABIP under .240 was between .285 and .295 the next season. I wasn't expecting much when I saw that. Here's the graph:
As you can see there's even less correlation than there was with LD% for hitters. There's probably more correlation (overall) than expected because in consecutive seasons pitchers usually pitch for the same team in the same park with a similar defense behind them. Obviously there shouldbe some correlation because pitchers certainly have control over GB% and FB% to a large extent. Also, I've never run through this myself, but in the DIPS formula there's basically a if, then statement that helps a pitcher if they're left-handed or a knuckleballer, so some of those pitchers might be able to consistently post a lower BABIP.
I did not want to use five consecutive seasons like I did for hitters. There simply aren't many pitchers who stay healthy five years in a row. I decided to use four and found a sample of 152 sets of four seasons, and some players (and seasons) are repeats. As with the LD% sample, there's a selection bias here as well. You already have to be good to survive four seasons. Before getting into the numbers, I decided to graph the progression of the pitchers. Warning: It's a big graph so you can see it, heh.
I've taken the liberty to make the trend lines for two pitchers bold, so you can see them. Alright, if you remember from the LD% post, 15.8% of the data lies over one standard deviation below the mean. Using this, the probability of a pitcher having four consecutive seasons bettering a .269 BABIP is about 0.06%, yeah that's low. If a pitcher does this, then odds are he's good at preventing a high BABIP (or his defense is). Here's where we reach a bit of an impasse. Jamie Moyer did it (the black bold line), but the rest of the career he didn't, so who knows. The fact he did it four consecutive seasons either man A) he really did well and could prevent it, or B) his defense was great. He's lefthanded for that stretch it appears he was in the zone enough or good enough to do it. The probability of a doing it three times out of four is 1.13% and our sample size is 152, so we expect 1.71 pitchers to have done this, just because of the probabilities. Ironically enough, just one did it. Barry Zito {-2.16,-2.41,0.09,-2.23}. Given that Zito's three 1+ probabilities are actually 2+, where the probability of doing that three times is a whopping 0.004%, he's probably got the skill OR he's an extreme popup pitcher who was aided to a certain extent my his home stadium's mammoth foul territory. It's probably a bit of both. Given that both guys are left-handed finesse guys with a standout offspeed stuff, it's likely there's a bit control for them. However, it does not appear to be something sustainable for a career. Obviously they both could NOT be able to, they just got really really really really lucky. Then again I can't tell you, the Pope doesn't know, Jesus Christ doesn't know.
The probability of doing it twice is 10.62%. So we would expect just over 16 guys to do it. We come up with nineteen, but a lot of them are repeats who had two seasons of doing it, and they came up in two of their sets of 4 because they pitched five or six seasons in a row with 162 innings. Given that it's close to the number of guys we expected, it's hard to say any of these guys are special.
The last thing I want to look at is seasons over a half standard deviation below. The probability of doing this 30.85%. The probability of doing it four times in a row is 0.91%, so we expect about one or two guys of doing it. Two guys did do it, Jon Garland and Jamie Moyer. Garland's set was 2002-05 {-0.70,-1.08,-0.86,-1.25}. Given we expected 1.38 guys to do it, and two did it. Moyer has been in everything, so we might be able to label him. Garland in 2006 was all the way up to .313, so I don't know. Perhaps he was just the lucky guy for the four years. The other three seasons in his career were nothing special.
So what abou the flip side, are there any bad guys at it? Nobody was at +1σ four years in a row. Nobody was at +2σ three years out of four. There were 18 sets who did it 2 out of 4, but the expected was about 16, and some of those were repeats. Nothing special here. We had three guys who were over .5σ four years in a row. The expected was 1.38. They were Aaron Sele in the Kingdome {0.55,2.07,3.06,0.61}. The turf might have something to do with it? The other two were Andy Pettitte who did it five consecutive seasons. Andy Pettitte appears he may be bad on the other side....or he just had Derek Jeter behind him. Every season but two in Pettitte's career have been over .300, both of those were two of his three in Houston, going from Jeter to Adam Everett. That's probably most of the difference, but his BABIP last season in Houston was .333. It'll be interesting this season to see how his BABIP plays out. Other than him there's not much bad guys, but remember the selection bias.
All pitchers probably do have some control over BABIP, but once they show they can sustain an average BABIP in the majors, there appears to be little consistency of beating league average BABIP. There also appears little consistency of being worse than league average BABIP. However when a player breaks into the majors there is probably a lot different results. That's something I would like to look at later. Looking say at minor leagues in AA, and AAA before majors. Granted an issue here is going to be sample size. If a AAA pitcher sucks with a .400 BABIP in the majors, odds are he's not lasting 50 innings.
http://gatewayredbirds.com/forum/viewto ... =1&t=16176
- Hungary Jack
- Mother Earth
- Posts: 19536
- Joined: July 24 06, 6:03 am
- Location: In Cognito
Re: Stat Question (Quantitative)
Thank you!
- jdk82
- All-Star
- Posts: 2881
- Joined: April 4 07, 8:58 pm
- Location: Iowa
Re: Stat Question (Quantitative)
I am so lost on stuff like this
- Dillagii
- Perennial All-Star
- Posts: 7926
- Joined: April 18 06, 2:37 pm
Re: Stat Question (Quantitative)
Its worth a class for full-semester!jdk82 wrote:I am so lost on stuff like this
-
maddash
- is eerily well-versed on Project Runway and irony
- Posts: 8508
- Joined: June 26 06, 3:07 pm
Re: Stat Question (Quantitative)
I guarantee you (if it hasn't already happened) that a university will offer a course in Sabermetrics.DiLLaGii wrote:Its worth a class for full-semester!jdk82 wrote:I am so lost on stuff like this
- Asmodai
- Veteran Player
- Posts: 1121
- Joined: February 9 07, 7:37 pm
Re: Stat Question (Quantitative)
http://sabermetrics.hnrc.tufts.edu/maddash wrote:I guarantee you (if it hasn't already happened) that a university will offer a course in Sabermetrics.DiLLaGii wrote:Its worth a class for full-semester!jdk82 wrote:I am so lost on stuff like this
-
Arthur Dent
- Hall Of Famer
- Posts: 12542
- Joined: April 25 06, 6:43 pm
- Location: Austin
Re: Stat Question (Quantitative)
That's awesome. I'd totally sign up for that class if it was offered locally.Asmodai wrote:http://sabermetrics.hnrc.tufts.edu/
- Asmodai
- Veteran Player
- Posts: 1121
- Joined: February 9 07, 7:37 pm
Re: Stat Question (Quantitative)
in reality it's an applied statistics course. it's no different than taking a course in say, econometrics.Asmodai wrote:http://sabermetrics.hnrc.tufts.edu/maddash wrote:I guarantee you (if it hasn't already happened) that a university will offer a course in Sabermetrics.DiLLaGii wrote:Its worth a class for full-semester!jdk82 wrote:I am so lost on stuff like this










