Skip to content

Calculating play-by-play win probabilities throughout NFL games using logistic regression and random forests.

License

Notifications You must be signed in to change notification settings

lakenrivet/nfl-win-probability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Included in this repo is a project that uses the R package 'nflfastr' to obtain play-by-play data of NFL games. The data was then used to create two models - logistic regression and random forest - that calculate win probabilities throughout the game for each team. Accompanying graphics were also created to visualize win probabilities at different points throughout the game.

Be sure to check out the write-up in 'documentation' for a detailed presentation of methods, results, and analysis!

Please note that due to the size restrictions on Github, the play-by-play file used in the analysis is NOT included in this repo. However, the analysis can be replicated if the user extracts the play-by-play data and game result data from 'nflfastr' directly on their personal computer.

About

Calculating play-by-play win probabilities throughout NFL games using logistic regression and random forests.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages