American vs. National League wOBA Vales.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Traditionally, statistics like wOBA (weighted on-base average) have been calculated using league averages. While building the baseballDBR
package, I thought it would be interesting to group the American and National when making wOBA calculations. In theory, there should be parity across the two leagues, but that is not always the case.
In order to calculate wOBA values for each league, the baseballDBR
package uses a ported version of Tom Tango’s SQL incantation to calculate wOBA using the Baseball Databank. While Tango admits, this calculation is not perfect, it normally has a plus/minus of less than one one-thousandth of a percent compared to Fangraphs’ values.
Gathering wOBA Modifiers by League
Plot Leauge wOBA Vales by Year
The plot shows the modern parity we expected. It also shows the effects of the “dead ball era” prior to 1920. However, what is interesting is the increase in. league wOBA
between 1920 and 1930 in the American League. It should be mentioned, the stat “league wOBA” is the average on-base percentage (OBP) for each league.
Using OBP to Find Outliers
There were obviously players in the American League between 1920 and 1930 that were blowing the curve, performing above average. We can drill down deeper to find out exactly who those players were. Note, since the league wOBA
represents a league average OBP
, we will use OBP instead of wOBA to find our outliers.
There you have it, George Herman Ruth, blowing the curve once again!
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.