Skip to content

An experiment to build an in-game win probability model in R.

Notifications You must be signed in to change notification settings

topfunky/r-nfl-win-probability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFL In Game Win Probability Model

An experiment to build a play by play win probability model.

Inspired by a win probability model article at Medium.

Description

Uses logistic regression to model wins at each point of the game based on the score, field position, home field advantage, distance to the first down, time remaining, etc.

Chart

In Game Win Probability

The chart displays the output of the model (black), the built-in nflfastR win probability model (blue), scoring events (lines at bottom), and other reference lines (50% probability, times of quarters, etc.).

The nflfastR is more accurate because it also uses:

  • Expected points
  • Other attributes

My accuracy:

In Game Win Probability

Reference

About

An experiment to build an in-game win probability model in R.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages