Leif Ulstrup
August 12, 2014
The probabilty of the Baltimore Ravens (under quarterback Joe Flacco) winning a game in 2014 can be predicted using 2008-2013 Win/Loss data to create a generalized linear model relating wins to Ravens points scored (predictor).
A Shiny web application was created to enable Ravens fans to predict win probability by inputing the current score.
Built a generalized linear model (GLM) using all Ravens regular season game wins/losses and score data (n=96) from 2008 until 2013. Data source: NFL.com and wikipedia.com.
| Estimate | Std. Error | z value | Pr(>|z|) | |
|---|---|---|---|---|
| (Intercept) | -3.26 | 0.83 | -3.91 | 0.00 |
| RavensScores$Ravens | 0.18 | 0.04 | 4.55 | 0.00 |
A Shiny application was created to host an interactive version of the model on the cloud based site - shinyapps.io
Click Here to Link to Shiny App for Interactive Version
The source code for the Shiny application and this presentation along with the Ravens 2008-2013 Win/Loss and Scores data can be found here at this link https://github.com/leifulstrup/developing-data-products-ravens
Potential future predictive model explorations:
GO RAVENS!
