# Fantasy Football Modeling with R

- Author: DavidMSmith
- Published: 2013-10-17
- Canonical: https://www.smartdatacollective.com/fantasy-football-modeling-r/

Boris Chen, a data scientist for the *New York Times*, has been running since August a [weekly blog with statistical analysis of NFL players](http://www.borischen.co/), 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](http://www.fantasypros.com/nfl/rankings/qb.php), 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](http://www.borischen.co/2013/08/cross-position-tiers-and-draft-ranges.html?showComment=1376781915462#c1392076272605352073). He provides more [detail about the model itself in a recent feature in the New York Times](http://www.nytimes.com/2013/10/11/sports/football/turning-advanced-statistics-into-fantasy-football-analysis.html?ref=football) (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](http://www.nytimes.com/interactive/sports/football/2013-fantasy-football-tier-charts-QB.html):

[](http://www.nytimes.com/interactive/sports/football/2013-fantasy-football-tier-charts-QB.html)

Yet another [application of R](http://blog.revolutionanalytics.com/applications/) to add to the list!

New York Times: [Turning Advanced Statistics Into Fantasy Football Analysis](http://www.nytimes.com/2013/10/11/sports/football/turning-advanced-statistics-into-fantasy-football-analysis.html?ref=football) (via reader JM)

