Closed colintj closed 4 years ago
Glad you pointed this out, I'm getting the same values. I ran sixYards <- week5 %>% filter(adj_yd_line == 80, down == 1, distance == 10, yards_gained == 6)
to see what other plays fell into the same scenario and they all had different EPA values but the same PPA. Besides the difference in time left in the half, I cant think of any reason they should have different EPAs. I'm just going to use PPA from here on out unless you came up with a different solution
It looks like a bug in how the EPA calcs are used. I'm using the id_play and a combination of lead/lag that might be the problem (if the id_play is not in the right order that is)
This should be fixed with the new EP models and new version in general. Closing this
Description:
The 2019 Michigan-Rutgers game says Michigan's first play on offense, 1st & 10 from the 20, was a run that went for 6 yards, but was worth -0.58 EPA. That's much lower than I expected.
Reprex:
Created on 2020-01-11 by the reprex package (v0.3.0)
R version:
Created on 2020-01-11 by the reprex package (v0.3.0)