Search found 6 matches

by gnomp
Mon Jul 08, 2024 2:36 am
Forum: APBRmetrics
Topic: Discrepancies in RAPM
Replies: 7
Views: 7699

Re: Discrepancies in RAPM

Thanks JE, that explanation makes a lot of sense, especially about the squared sum penalty being unweighted. In that case I suppose I'll just continue force-centering my RAPM post-processing.
by gnomp
Tue Jul 02, 2024 3:27 am
Forum: APBRmetrics
Topic: Discrepancies in RAPM
Replies: 7
Views: 7699

Re: Discrepancies in RAPM

When you do a weighted average of JE's by possessions it averages to 0. I can't figure out why this is and would love any insights. If anyone has any insights on the differences i'd love to hear them I simply force it to be this way, ie I compute the possession weighed average and then subtract tha...
by gnomp
Wed Jun 26, 2024 3:34 am
Forum: APBRmetrics
Topic: Any truth to @nbacouchside's claim that the NBA is going to kill nba_api?
Replies: 2
Views: 1266

Any truth to @nbacouchside's claim that the NBA is going to kill nba_api?

He's tweeted about the supposed impending doom of nba_api a couple times, most recently https://x.com/NBACouchside/status/1781364508801298749 . He seems somewhat connected in the analytics community, so I can't dismiss his claim out of hand. I know some forum users here have extensive experience in ...
by gnomp
Wed Jun 19, 2024 3:19 pm
Forum: APBRmetrics
Topic: RAPM results different when using individual possessions vs stints
Replies: 9
Views: 5292

Re: RAPM results different when using individual possessions vs stints

I'm happy to say I finally figured out the issue. It was this little function: def lambda_to_alpha(lambda_value, samples): return (lambda_value * samples) / 2.0 You were right that converting lambdas to alphas in this way is unnecessary, and moreover it just decreases the regularization parameter wh...
by gnomp
Mon Apr 22, 2024 10:18 pm
Forum: APBRmetrics
Topic: RAPM results different when using individual possessions vs stints
Replies: 9
Views: 5292

Re: RAPM results different when using individual possessions vs stints

Thanks for the reply JE. Wouldn't the intercept be interpreted as the expected pts/poss of a lineup of five players with 0 O-RAPM vs five players with 0 D-RAPM? Is that the wrong interpretation? The point about the intercept being subjected to lambda is interesting... maybe that's why the intercept ...
by gnomp
Sat Apr 20, 2024 3:57 pm
Forum: APBRmetrics
Topic: RAPM results different when using individual possessions vs stints
Replies: 9
Views: 5292

RAPM results different when using individual possessions vs stints

Hi, this is my first time posting here. Please let me know if this is not the place to post questions like this. I've just been tinkering around with generating some RAPM numbers using Ryan Davis's python code https://github.com/rd11490/NBA_Tutorials/blob/master/rapm/rapm.py (relatedly, is this code...