Skip to content

Code to reproduce the results in "Learning Risk Preferences in Markov Decision Processes: an Application to the Fourth Down Decision in the National Football League"

License

Notifications You must be signed in to change notification settings

nsandholtz/fourth_down_risk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Risk Preferences in Markov Decision Processes: an Application to the Fourth Down Decision in the National Football League

A Companion Repository

All of the R code to produce the results presented in our paper Learning Risk Preferences in Markov Decision Processes: an Application to the Fourth Down Decision in the National Football League are included in this repository. The data which this analysis relies on can be accessed in R via the nflfastR and nfl4th packages. The script r_scripts/data_preprocessing.R loads the data using these packages, cleans the data for our analysis, and saves the cleaned data as an .rds file, which is used in the other analysis scripts. We have also included this cleaned data in file data/pbp_2014_2022.rds. To make recreation of the figures easier, we also have included the necessary model output in output for those interested in taking a closer look at the results without rerunning the analysis.

About

Code to reproduce the results in "Learning Risk Preferences in Markov Decision Processes: an Application to the Fourth Down Decision in the National Football League"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages