Baseball News

Baseball Simulator Now Includes Home Field Advantage

Last week, we released a baseball simulator from FanGraphs Lab. This week, we’re adding home field advantage to the simulator. You can toggle HFA on and off using a new menu option:

The selected home field advantage will then be used in any simulation you perform. But how do we calculate home field advantage in this simulation? Let’s go through it.

You are probably familiar with home field advantage expressed in terms of winning percentage. From 2000-2010, the home team’s winning percentage increased to 54%. Over the next ten years, it dropped to about 53%. In recent years, it has dropped to 52-53%. Since our simulation works at the plate appearance level, however, we could not look at game results to measure home field advantage. Instead, we used PA level data to understand how much playing at home affects the level of each outcome in our simulator.

We took data from 2022-2025, the global DH period, and used it to fit three different home field advantage models. First, we simply compare the rate of each result achieved at home and on the road, without considering the identity of the batter. Next, we entered a logistic regression taking into account the bettor’s identity and the home/away class variable. Finally, we included another functional regression using batter identity, pitcher identity, and home/away. The three models produced similar values, within the margin of error, which gives us confidence that the methodology is sound.

In our sample, home field advantage appears to be most effective for strikeouts, walks, and home runs. Home hitters hit less, (unintentionally) walk more often, and hit home runs more often. They also hit twice as often, although that effect size was objectively small. We found no statistically significant differences in hit-by-pitch, single, triple, or “in play, out” rates, although it is important to note that for triples in particular, the sample size was too small for greater accuracy.

You are not a FanGraphs Member

It appears that you are not yet a FanGraphs Member (or signed in). We’re not 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 good reasons why you should become a Member.

1. Free Viewing! We will not mistake you for this ad, or any other.

2. Unlimited topics! Non-Members only get to read 10 free articles per month. Members are never cut off.

3. Dark mode and classic mode!

4. Custom player page dashboards! Choose the player cards you want, the way you want.

5. One-click data export! Use our predictions and leaderboards for your personal projects.

6. Remove images from the home page! (Honestly, this doesn’t sound that good to us, but other people wanted it, and we like to give our Members what they want.)

7. More Steam guesses! We have offer, percentage, and context neutral predictions available only to members.

8. Get the FanGraphs Walk-Off, a custom year-end review! Find out how you used FanGraphs this year, and how that compares to other Members. Don’t fall prey to FOMO.

9. Weekly mailbag column, for Members only.

10. Help support FanGraphs and all of our staff! Our members give us valuable resources to improve the site and bring new features!

We hope you will consider Membership today, for yourself or as a gift! And we realize that this has been a very long marketing article, so we’ve removed all other ads from this article. We didn’t want to overdo it.

We use the home field advantage factors we calculated in the step above to adjust the baseball simulation engine. We make these changes to the odds ratio space by taking the originally calculated probabilities for each outcome, dividing them into odds ratios, correcting them for the home field factor, and re-adding them to the teams. This method incorporates various effect sizes based on the expected matching results. Luis Arraez doesn’t get the same momentum in home runs as Aaron Judge, in other words.

We tested this method of calculating home field advantage by having similar teams face off, both with and without home field modifiers. The home team’s winning percentage averaged between 52% and 52.5%, which is exactly what we expected given the relationship between the observed change in the frequency of each result and the actual winning percentage. In other words, we feel that our model is well calibrated to real-world data over recent years.

By default, we divide our calculated home field adjustment in half and assign a bonus to home field results and a penalty to batter away results. If you’d like to use your home field version, however, you can change the weighting scale from that default weight of 0.5:

Moving that slider will increase or decrease the home and away modifiers added to the simulation. You can also use your own custom weights for each event type, although you obviously shouldn’t need to; We thought it was too good to be able to, so we left the feature in. As a word of caution, moving these sliders in large numbers can produce unrealistic results; if your multipliers mean that the home team hits 50% more singles than the away team on average, the simulated game won’t look much like baseball.

The rest of the acting is unchanged; you can see a description of its current features here. As before, this is still very much a beta product. If you see any issues or have feature requests, just let us know, either in the comments here or by using the Lab feedback button.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button