A Mathematical Approach to Predicting the Home Run Derby

Tonight, sluggers from around the league will repeatedly hit baseballs very far distances. Yes, I am technically describing the Home Run Derby, but in 2019 baseball terms, we might as well call it “Monday.”

Even in this era of three true outcomes, juiced baseballs, and many, many home runs, I’m still looking forward to tonight’s Derby. It’s a fun event, and for a sport that so desperately needs to follow through on its promise to “let the kids play,” the Home Run Derby is one of those opportunities for baseball to showcase how fun it truly is.

On a different level, I am also excited to see Vladimir Guerrero Jr., Pete Alonso, and Josh Bell hit jacks 500 feet; Carlos Santana attempt to win in front of the home crowd (a la Todd Frazier or Bryce Harper); and Joc Pederson show off that smooth swing.

But I am also enthused by the very format of the Derby. First introduced in 2015, the bracket-style competition adds to the drama. These current rules have been in place since 2016:

“Eight players participate in the derby in a bracket-style, single-elimination timed event. Each player has four minutes to hit as many home runs as possible. Hitters are awarded an additional 30 seconds if they hit two home runs over 440 feet (130 m). Hitters are also allowed one 45 second timeout to stop the clock (two in the finals).

The eight competing players are seeded 1-8 based on their home run totals. While the lower seed hits first, the higher seed hits second in all rounds. The round ends if the higher seed exceeds the total of the first hitter. In the event of a tie, three sets of tiebreakers are employed: first, a 90-second swing-off (with no timeouts nor bonus time awarded); second, each player gets three swings; whoever hits more home runs in the three swings will be declared the winner; thereafter, sudden death swings will occur until the tie is broken.”

One added benefit of the bracket-style Derby is the March Madness-like prediction contest. This year, Major League Baseball is offering a $250,000 prize to the winner of their online bracket competition. So while I do very much enjoy watching the Home Run Derby and gawking at these hitters’ raw abilities, I also enjoy filling out my bracket.

Before filling out my 2019 bracket, I considered whether there was a more effective method of predicting the Home Run Derby than gut feel. The answer to a question like this is almost always “yes.” I decided to dive into the data, trying to answer a follow-up question: What makes one hitter a better Home Run Derby hitter than another?

Immediately, there are shortcomings in answering the question, both in the format and the rules. The Home Run Derby is unlike any regular game situation. Simply put, it’s batting practice to the extreme. We’re already at a disadvantage when using regular season data. Those pitchers are trying to get the hitters out; the Home Run Derby pitchers are trying to get shelled. A second issue is in the format of the Derby. I attempted to run a regression to predict the number of home runs hit by any given player, but we must remember that the player who hits second only has to beat the first player’s total by one. For example, if Player A hits 10 home runs in his four minutes, and Player B hits 11 home runs all in one minute, Player B wins. We don’t know how many home runs Player B would have hit in his four minutes, and there isn’t enough data out there to conduct a regression on a home run per four minute pace.

Nonetheless, I went ahead with the study, considering numerous variables before settling on one: barrel rate. (This is barrel per batted ball event.) Even with the limitation that prevents higher seeds from hitting more than x+1 home runs than their opponent, there was still a moderate correlation (r=0.555) between a hitter’s barrel rate (at the time of the Derby) and the number of home runs that they hit in the first round (n=24). These data are from Derby batters who participated under the current rules (2016-present):

But, if we strip all the higher seeds from the data (severely limiting our sample size in the process), the correlation becomes weaker (r=0.345):

You Aren't a FanGraphs Member
It looks like you aren't yet a FanGraphs Member (or aren't logged in). We aren't mad, just disappointed.
We get it. You want to read this article. But before we let you get back to it, we'd like to point out a few of the good reasons why you should become a Member.
1. Ad Free viewing! We won't bug you with this ad, or any other.
2. Unlimited articles! Non-Members only get to read 10 free articles a month. Members never get cut off.
3. Dark mode and Classic mode!
4. Custom player page dashboards! Choose the player cards you want, in the order you want them.
5. One-click data exports! Export our projections and leaderboards for your personal projects.
6. Remove the photos on the home page! (Honestly, this doesn't sound so great to us, but some people wanted it, and we like to give our Members what they want.)
7. Even more Steamer projections! We have handedness, percentile, and context neutral projections available for Members only.
8. Get FanGraphs Walk-Off, a customized year end review! Find out exactly how you used FanGraphs this year, and how that compares to other Members. Don't be a victim of FOMO.
9. A weekly mailbag column, exclusively for Members.
10. Help support FanGraphs and our entire staff! Our Members provide us with critical resources to improve the site and deliver new features!
We hope you'll consider a Membership today, for yourself or as a gift! And we realize this has been an awfully long sales pitch, so we've also removed all the other ads in this article. We didn't want to overdo it.

Regardless, barrel rate appeared to be the variable which most correlated with a hitter’s success in the Derby, and I do have a theory to potentially explain why this is the case. Barrels are a result of two input factors: launch angle and exit velocity. That is, if a hitter hits a batted ball at an optimal launch angle with the right amount of power, it will result in a barrel. Here’s a more full explanation:

“The Barrel classification is assigned to batted-ball events whose comparable hit types (in terms of exit velocity and launch angle) have led to a minimum .500 batting average and 1.500 slugging percentage since Statcast was implemented Major League wide in 2015. […] To be Barreled, a batted ball requires an exit velocity of at least 98 mph. At that speed, balls struck with a launch angle between 26-30 degrees always garner Barreled classification. For every mph over 98, the range of launch angles expands.”

If a hitter is more successful at barreling up actual pitchers’ pitches compared to their peers who are also participating in the Derby, shouldn’t they be relatively successful at barreling up batting practice pitchers’ pitches, too? In other words, I’d imagine all hitters’ barrel rates go up against a BP pitcher. But, if they all go up by the same amount, the best hitters at hitting barrels remain the best hitters at hitting barrels. For example, Alonso’s barrel rate against in-game major league pitchers is 18% while Santana’s is 9%. Let’s say they each get a 25-point bump when facing a BP pitcher. Alonso’s barrel rate would now be 43%, while Santana’s would now be 34%. By distance, Alonso’s barrel rate is just as good compared to Santana’s.

(Granted, some hitters are likely better BP hitters than others. We can’t reasonably assume that all hitters receive the same barrel rate bump when facing a BP pitcher versus a real pitcher. That was just for the example to help explain my theory.)

In addition to trying to predict the number of home runs each hitter will hit, I also looked at something simpler: How often did the player with the higher barrel rate win? I found that across the 21 matchups that have been played over the past three years, the player with the higher barrel rate won 15 times, a 71% winning percentage.

Of course not all barrel rate differentials are created equal. I’d feel much more confident in selecting the hitter who has a barrel rate five points higher than his opponent than a hitter who has a barrel rate 0.5 points higher than his opponent. In fact, of the 11 matchups which featured a barrel rate differential of at least five points, the batter with the higher barrel rate won every time. And, after running a chi square test of association, we find that this is statistically significant, with a p-value of just .01:

Barrel Rate Differential
Barrel Rate Differential Higher Barrel% Win Lower Barrel% Win Higher Barrel% Win%
0.0-1.9 1 3 0.250
2.0-3.9 2 1 0.667
4.0-4.9 1 2 0.333
5.0+ 11 0 1.000
Totals 15 6 0.714

What does this mean in terms of predicting the 2019 Home Run Derby? Here are the first-round matchups:

2019 Home Run Derby, First Round
Matchup Barrel Rate Barrel Advantage
Matt Chapman (1) 12.4% +3.9 pp
Vladimir Guerrero Jr. (8) 8.5% -3.9 pp
Alex Bregman (4) 5.6% -4.9 pp
Joc Pederson (5) 10.5% +4.9 pp
Josh Bell (3) 14.8% -0.1 pp
Ronald Acuña Jr. (6) 14.9% +0.1 pp
Pete Alonso (2) 17.7% +8.3 pp
Carlos Santana (7) 9.4% -8.3 pp
Through games played on Saturday, July 6.

One of our four first-round matchups has a barrel rate differential of at least five points. The 11-0 factoid will be put to the test right from the start. If we continue this process of selecting the hitter with the higher barrel rate to win each round, this is what our bracket would look like:

Home Run Derby Predictions
Round 1 Round 2 Round 3 Champion
Chapman (1)
Guerrero (8)
Chapman (1)
Pederson (5)
Bregman (4) Chapman (1)
Pederson (5)
Pete Alonso (2)
Bell (3)
Acuña Jr. (6) Alonso (2)
Acuña Jr. (6)
Alonso (2)
Alonso (2)
Santana (7)

There is a lot of chalk here. Admittedly, seed position might be a confounding variable. As stated above, hitters who have hit more home runs during the regular season are rewarded with the higher seeds. That is why Vladimir Guerrero Jr. is seeded eighth; he only has hit eight homers this year. Since home runs tend to be barrels by the Statcast definition, hitters who receive higher seeds also tend to be those with higher barrel rates. In fact, over the past three Home Run Derbies, the higher seed has won 14 of 21 matchups, a 67% winning percentage. That’s only slightly off from picking the hitter with the higher barrel rate (15 of 21). There isn’t a large enough sample size to create any significant distinction between those figures.

At the end of the day, we’ll just have to wait and see how these predictions do, and whether the trends that I have identified continue to hold. Enjoy the Home Run Derby tonight, and let’s all hope Pete Alonso is the batter who takes home the crown.





Devan Fink is a Contributor at FanGraphs. You can follow him on Twitter @DevanFink.

24 Comments
Oldest
Newest Most Voted
London Yank
7 years ago

This is a fun idea. You might do better to explore multiple explanatory variables (e.g. fly ball %, exit velocity, etc.) and then fit a lm to predict HR per round. For example in R it would take the form of:

hr.model <- lm(HR ~ %barrel + % fly ball + %exit velo)

You can use the step(hr.model) function to drop parameters that don't increase your explanatory power, and the predict() function to make predictions for each player. If you can find a model with good explanatory power you can then make HR estimates for each player with error bars.

RonnieDobbs
7 years ago

I hate the new format of the derby. The player who wins has been the one with the pitcher that cheats the most since the new format began (not waiting for balls to land). It is now a race as opposed to what it used to be, which was more skill-oriented. When players are hitting on a timer, a lot of what you are actually measuring is who has the best BP thrower. I feel really bad for all of the dads and brothers that pitch and are the reason that their relative loses.

FrodoBeck
7 years ago
Reply to  RonnieDobbs

I’ve always thought the solution to that was that any time a pitcher throws it too soon, a guy in charge of the clock just cuts 10 seconds off the remaining time. That seems like a steep enough penalty to stop them from even pushing it, and it doesn’t detract from the excitement too much, like other solution such as a post-round review that disqualifies any too-soon thrown pitch homers

RonnieDobbs
7 years ago
Reply to  FrodoBeck

Sure, I think there are a few ways you could solve the problem. I don’t think after the fact reviews are a good idea. There could just be a little buzzer or big LED that flashes behind the hitter after a judge rules all clear. In any case, its nothing more than a spectacle loosely based on baseball. I sure as heck wouldn’t bet money on it as it is just too poorly run. The real solution is that the current format is stupid IMO. The biggest problem IMO with a race is that you don’t have time to appreciate the actual HR. The broadcast is generally a train-wreck as they are cutting all over the place – being on ESPN makes it all the worse as I think the crews are more general than a team that knows how to do baseball – they were probably doing soccer yesterday. I don’t enjoy it very much and may or may not watch it which is a shame because I used to really enjoy it.

Jetsy Extrano
7 years ago
Reply to  RonnieDobbs

I’d be happy with a pitching machine for the Derby. Throws the same for everybody, throws at the right times for everybody. (I would just have an X-second pace instead of worrying about the ball landing. Why penalize ridiculous moonshots anyway?)

pickleRick
7 years ago
Reply to  Jetsy Extrano

Lots of players don’t like hitting off of machines, which is a problem. One of those kids is going to get hurt someday trying to shag balls while there are three of them in the air. The format is not well thought out is the root problem.

Deschaine17
7 years ago

In the paragraph above the bracket, you mention that “Three of our four first-round matchups all have barrel rate differentials of at least five points,” but I’m only seeing Alonso with such an advantage. Am I misinterpreting something?

RonnieDobbs
7 years ago

Why is Vlad Jr in it? His dad was one of my favorites and I really like prospect Vlad but what criteria has him in the contest?

Jon L.Member since 2016
7 years ago
Reply to  RonnieDobbs

Apart from youth and name recognition, he has 80-grade raw power. Even if he doesn’t advance, he might do something worth seeing.

pickleRick
7 years ago
Reply to  Jon L.

By what criteria do the other players not get to participate? Those criteria are arbitrary. Put in a way that this community can understand, that isn’t what data-driven decision making looks like.

Jetsy Extrano
7 years ago
Reply to  RonnieDobbs

I don’t know if Jr. has the crazy skills of Sr., but I’d love to watch Bad Ball Derby. Pitching machine slings you a random mix of bad pitches — at the eyes, at the shoelaces, nearly hitting you, IBB throw. Four “Jeff Sullivan” bonuses, for owning the furthest HR from the zone in each direction. I bet Vlad Sr. could come in today and beat some of the sluggers who only swing at their hot zone.

Oh, and what about Multiball? Pitches coming at you faster than you can swing and reset, so you have to pick from the firehose. Heck, three pitches at once, you choose which to swing at. It’s a goofball contest, let’s have fun with it!

@3_2count
7 years ago
Reply to  RonnieDobbs

This aged well.

pickleRick
7 years ago
Reply to  @3_2count

The question is who gets to go. Are there any criteria at all? The entrants used to be based on some criteria, like leading the league in HR.

evo34Member since 2023
7 years ago

” In fact, over the past three Home Run Derbies, the higher seed has won 14 of 21 matchups, a 67% winning percentage. That’s only slightly off from picking the hitter with the higher barrel rate (15 of 21).”

I.e., barrel rate is not adding any information.

Spitball McPhee
7 years ago

U lose nerd boy

mshwiesner
7 years ago

That article was either inspired or very lucky. Only the Matt Chapman prediction was wrong, and if it weren’t for the awful pitches he was being thrown who knows what the outcome would have been?

Magicquote18
7 years ago

Good work Devon…. You nailed it The physics of the factors for Barrels %: L.A. , Exit Velocity seem to be 2 main variables. the correlation >.55 for Barrells and Home Runds in previous HR Derby matches is very good.. you are being a bit conservative in my humble opinion.
By Extension: Excellent combined real handicapping meriting further statistical study is to
match Barrels % given up by pitchers with Barrels % of opposing batters.. A handicapping tool follows logically…..and is fairly obvious to those following the argument.
Best wishes,
f

yojiveself
7 years ago

Good job Devan!

pickleRick
7 years ago

How is everyone not talking about the fact that many of the HR should not have counted? I don’t think any of the competitors were waiting until the balls landed. Last year Bryce Harper got a lot of flack but this year was even worse by everyone.

BrendanMember since 2018
7 years ago
Reply to  pickleRick

Well that’s because everyone took note of last year and played this accordingly. The competition is only semi-serious as a result, and everyone kind of accepts that. In any case, even if there were strict policing of the timing of pitches, the variability on the quality of the pitches being served up is in itself enough to make the contest that much less about the quality of the hitters, per se, and as much about the quality of the “pitching” they are served up, which is rather variable as anyone watching can plainly observe.

Uncle SpikeMember since 2020
7 years ago

Got to love these comments. Devan essentially just came up with a formula for predicting the HR derby and almost nailed it perfectly and most of the comments are, meh, seems like he got lucky or, that formulas OK but it would be better if you did this. Good job Devan! Next time just make sure you predict everything 100% correct.