MLB Payroll vs Winning percentage

Dave Cameron over at FanGraphs wrote an interesting article about 2012 payroll and wins.  In it, he used a scatterplot, which I assume was made with excel.  I’d like to try to persuade everyone to stop making graphics in excel.  I’m probably a little bit biased, but R with the ggplot2 package is much, much better.  (And it’s easy!) I present to you below, my entire argument for why R with ggplot2 is better than excel:

Here is the code for making this graph

Cheers.

Advertisements

Posted on September 11, 2012, in Baseball, R, Sports. Bookmark the permalink. 4 Comments.

  1. What are these arbitrary color/dollar sign schemes you are assigning?

  2. You’re right. This graph is spectacular and much better than anything in MS Excel. Looking at this now after reading your weekly rankings – I’m confounded by one thing. Can a medium payroll team still win at the rate the Nationals and Reds are winning at with a tougher schedule? Don’t get me wrong, they’re solid teams – but as your rankings show, they’ve been the beneficiary of playing some of the worst teams in baseball. How good would they be if you put them in a new division? Conversely, the Yankees and Rangers play some of the best teams on a regular basis. Part of that is the difference between National League and American league and the amount of quality teams in each league, but it’s still something to think about.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: