Honestly, it is hard to get fired up about the MLB Playoffs these days as a Houston Astros fan. But I figure it may be a way to test a few models and work on my programming.

After scrubbing the internet for scores, I decided to do a simple non-linear programming model to create some rankings. If you want to read more about NLP Optimization, please read my earlier posts I ran during last year’s NFL season.

I tried to apply home field advantage as a singular term, but found there wasn’t a generic home field advantage as in football. I then decided to try and determine if each teams’ individual HFA would have any effect on the ratings. With so many more games, this number had a better likelihood of showing some importance.

In general, the average score of a MLB game this year has been 4.11-4.09 in favor of the home team.

When you look at individual HFA, results are pretty amazing. As expected, the Colorado Rockies get almost a run and a half (1.47) bump at home. The Rockies are a solid 19 games better at home.

Next on the list are the Florida Marlins. First off, does anyone really call them the Miami Marlins? The Marlins have a little over a run per game advantage at home (1.14). Like the Rockies, they appear to be out of the hunt for the playoffs.

The team most likely to be able to take advantage of the home field advantage in the playoffs appears to be the Oakland A’s, who are more than 3/4 of a run (0.76) better at home. The A’s have nine more games at home in the regular season. Also, they get to finish the season at Texas, who are rating only slightly ahead of Colorado, Arizona and Miami as the worst teams in baseball. The Rangers also have no effective HFA either.

Washington (0.429), Pittsburgh (0.333) and Atlanta (0.154) are the only other teams in the playoff picture with significant home field advantages.

Here are a list of the current home field advantages. Those not listed have no significant HFA (0).

TeamHFA
COL1.473564
MIA1.14011
OAK0.760433
SDP0.704609
WSN0.429156
PIT0.33299
CHC0.25553
CIN0.239817
TBR0.210181
ATL0.153853
PHI0.052209
TOR0.016576

Here are the current team ratings, as we head into the final few games of the season.

TeamRating
LAA5.137348
SEA4.943415
OAK4.925794
BAL4.771614
WSN4.513368
DET4.462223
LAD4.363542
SFG4.326927
KCR4.305852
TOR4.229679
CLE4.184073
TBR4.164056
NYM4.038186
STL4.031671
NYY3.997041
ATL3.988839
PIT3.944171
MIL3.930484
MIN3.825875
CIN3.783494
HOU3.759729
BOS3.720102
PHI3.676738
CHW3.599442
CHC3.442758
SDP3.341322
TEX3.337711
MIA3.30692
ARI3.278469
COL2.669157

The next step in the coming weeks will be to use the rating and home field advantage numbers to create a simulation of the playoffs.