NFL WAR
play_type == "pass")posteam, defteam, posteamtypepasser_player_id, receiver_player_idshotgun, no_huddle, qb_hit, pass_locationair_yards, yards_after_catch, completed_passepa into air_epa and yac_epaair_epa and yac_epaair_epa & yac_epa
passer_player_id & rusher_player_idshotgun & no_huddlerun_location & run_gaprusher_player_id on sacksrun_location indicates direction
run_gap:
"guard": runs through B gap (b/w guard & tackles)"tackle": run through C gap (outside tackle or b/w tackle & end)"end": run through D gap (outside TE)NA: run through A gap (b/w center & guard)run_contextrun_location & run_gap when both not NArun_context = "middle"run_context = "other"posteam: proxy for offensive linemen & blockerspass2024 and rush2024air_epa and yac_epa given by nflfastR\[ \begin{align} \Delta_{i, \textrm{air}} &= Q_{q[i]} + C_{c[i]} + D_{d[i]} + \boldsymbol{\mathbf{x}}_{i}^{\top}\boldsymbol{\beta} + \epsilon_{i}\\ Q_{q} &\sim N(\mu_{Q}, \sigma^{2}_{Q})\\ C_{c} &\sim N(\mu_{C}, \sigma^{2}_{C})\\ D_{d} &\sim N(\mu_{D}, \sigma^{2}_{D}). \end{align} \]
air_yards, shotgun, qb_hit, no_huddlepostteam_type (i.e. Home/Away), pass_locationreceiver_position & rush_strengthFit a nearly-identical multilevel model using only completed passes
lmer threw warning about singularity
shotgun, no_huddle, posteam_type, pass_strengthrusher_player_id & defteamrusher_position & run_contextranef() to extract \(\textrm{IPA}^{(R)}_{r}\) for Runner rMultilevel models involved global-averages \(\mu_{Q}, \mu_{C}, \mu_{R}\)
Not strictly correct to say IPA measures contribution above “league-average”
Will define roster-based thresholds for “replacement level”
Construct a replacement-level “shadow”
Most rosters: 3 running backs, 4 wide receivers, 2 tight ends
Create separate thresholds for position & type of play
For passing plays:
n_recn_recFor running plays
n_runsn_runs