Fantasy Football Modeling with R

October 16, 2013

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

Boris Chen, a data scientist for the New York Times, has been running since August a weekly blog with statistical analysis of NFL players, as fodder for Fantasy Football players around the country. Here's how he describes what he does: 

My model pulls aggregated expert rankings from fantasypros, and I pass that data into a machine learning clustering algorithm called a gaussian mixture model to find tiers of players each week. Then I plot them in two dimensional space and the result is charts that let you easily decide your line up each week.

He performs the analysis in the R language. He provides more detail about the model itself in a recent feature in the New York Times (and can I say how gratifying it is to see the words "Gaussian mixture model" in a mainstream newspaper article — and in the Sports section, no less!). The article, as is his regular blog posts, is illustrated with charts created using R's ggplot2 package such as this one:

NYT QB rankings

Yet another application of R to add to the list!

New York Times: Turning Advanced Statistics Into Fantasy Football Analysis (via reader JM)

To leave a comment for the author, please follow the link and comment on their blog: Revolutions. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


Mango solutions

RStudio homepage

Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



CRC R books series

Six Sigma Online Training

Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)