Site icon R-bloggers

Examining the Accuracy of Fantasy Football Projections with an Interactive Scatterplot in R

[This article was first published on Fantasy Football Analytics » R | Fantasy Football Analytics, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

In prior posts, we presented the accuracy of different analysts in projecting football players’ performance, finding that the average was more accurate than any individual analyst.  In this post, we present an OpenCPU app to examine the accuracy of historical fantasy football projections.  The app allows you to examine the accuracy of historical projections using different analysts, positions, seasons, league scoring settings, and types of averaging.  The app also includes an interactive scatterplot.

The App

The app is located here:

http://apps.fantasyfootballanalytics.net/projections

How to Examine Historical Accuracy of Fantasy Football Projections

  1. Click the “Accuracy Tab”.
  2. Click “Change Data Settings”.
  3. Select a previous season (so we know how projections compared to actual performance).
  4. Change the league settings to tailor the projected/actual points to your league settings.
  5. Choose the type calculation type: average (mean), weighted average, or robust average.  For more info on these calculation types, see here.
  6. Choose the analysts to include and, if you selected a weighted average, how much to weight each analyst in the average projections.
  7. Click “Load”.

Note: there are other settings you can modify, as well.  For a description of these settings, see here.

Interactive Scatterplot

The page displays two scatterplots.  The top scatterplot of projected versus actual points is from ggplot2 and displays a LOESS smoother and confidence interval, along with an estimate of the R-squared value for the linear (not LOESS) fit.

The bottom scatterplot of projected versus actual points is an interactive scatterplot.  You can select which positions to display in the legend.  Hovering over the dots, you will see how many points each player was projected to score and actually scored.  For instance, in 2014, we can see that Robert Griffin greatly under-performed expectations, whereas Demarco Murray exceeded expectations and Tom Brady fell close to expectations.

Accuracy Table

The table examines the accuracy of historical projections by position with several accuracy metrics:

R-squared is measure of relative fit, whereas the others are measures of absolute fit.  Note: the high percentage estimates of error (MPE and MAPE) reflect that a number of players scored very few points, which skews percentage estimates of error.

Interesting Observations

But don’t take my word for it. Test it out yourself and see what you find.  And let me know if you find something interesting!

The post Examining the Accuracy of Fantasy Football Projections with an Interactive Scatterplot in R appeared first on Fantasy Football Analytics.

To leave a comment for the author, please follow the link and comment on their blog: Fantasy Football Analytics » R | Fantasy Football Analytics.

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.