add alternative way of ovr computation#275
add alternative way of ovr computation#275nicidob wants to merge 1 commit intozengm-games:masterfrom
Conversation
|
https://github.com/zengm-games/zengm/blob/new-ovr/analysis/player-ovr-basketball/process2.py - I tried to adapt your code to run on a JSON league file rather than the CSV exports, since it's easier to export large league files.
Is this true? I am getting a fair amount of variability even when running with 200 seasons of box scores. Here's a few runs: End result is basically that 80% of players stay within +/-2 of their previous ovr, but there are some that get up to +/-10 or so. Mostly because of the difference in the value of hgt I think, centers tend to get a boost.
Also skeptical about this... the code is longer and probably more confusing. |
59d4a13 to
665f9ad
Compare
This is an alternative method of computing OVR. Instead of using massive scale player plus-minus, it uses team-level results. By looking at game results and taking a minute-averaged rating for each team, it tries to predict team margin-of-victory. By using home_team - away_team, the regressed intercept becomes home court advantage.
Benefits