Bischrob
Bischrob OP t1_jbvvjou wrote
Reply to comment by Dirty_Quesadilla in [OC] NBA offense vs defense season to date by Bischrob
It's possible, I'll see if I can get around to it.
Bischrob OP t1_jbvvf8a wrote
Reply to comment by birukov-alexander in [OC] NBA offense vs defense season to date by Bischrob
I still haven't found the time. New job
Bischrob OP t1_jbvvdct wrote
Reply to comment by cderekw4224 in [OC] NBA offense vs defense season to date by Bischrob
Good idea
Bischrob OP t1_jbtuvu7 wrote
Reply to [OC] NBA offense vs defense season to date by Bischrob
Made in R using these packages: tidyverse, ggimage, gganimate, ggthemes, nbastatR
Data from the nbastatR package
Ratings are calculated as points scored or allowed per possession
Submitted by Bischrob t3_11oqa9k in dataisbeautiful
Bischrob OP t1_j3xt14c wrote
Reply to comment by IS_ACTUALLY_A_DOG in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
Here's the code to reproduce something similar with college football. https://github.com/bischrob/CFBAnimation
Bischrob OP t1_j3tzvox wrote
Reply to comment by kevinttan in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
Then follow me and you will have it
Bischrob OP t1_j3rpaxr wrote
Reply to comment by jermification101 in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
That's a good idea
Bischrob OP t1_j3rl3bt wrote
Reply to comment by KJ6BWB in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
Interesting idea. I'm not sure how to do that.
Bischrob OP t1_j3rjc8o wrote
Reply to comment by kingbirdy in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
I put in a 5 second pause, Reddit automatically cuts it out. Drives me nuts.
Bischrob OP t1_j3qy1iw wrote
Reply to comment by 88adavis in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
It makes the chart jump around too much. Sacrifices must be made.
Bischrob OP t1_j3qwla8 wrote
Reply to comment by nunixnunix04 in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
In this case it was a constraint of the animation. Teams varied so much week to week (particularly at first) that the scales changed too much). This kept everything steady.
Bischrob OP t1_j3pkvk3 wrote
Reply to comment by iamthepeach79 in [OC] Final Animated NFL Ratings for the 2022 Season by Bischrob
Pretty close, on offense certainly
Bischrob OP t1_j3p9zry wrote
Made in R with gganimate package with data from the nflfastR package. Scaled EPA is a measure of offensive and defensive efficiency.
Submitted by Bischrob t3_107ytpl in dataisbeautiful
Bischrob OP t1_iweawzs wrote
Reply to comment by CoachMorelandSmith in [OC] College Basketball BPI Rankings for all 363 teams. Check out the strong correlation between offense and defense. Link to interactive version in comment. by Bischrob
I'll have to explore it, thanks 👍
Bischrob OP t1_iwe99wq wrote
Reply to comment by CoachMorelandSmith in [OC] College Basketball BPI Rankings for all 363 teams. Check out the strong correlation between offense and defense. Link to interactive version in comment. by Bischrob
I've seen a couple people do that but I'm not sure how I feel about it. I assume it's your preference?
Bischrob OP t1_iwe2t1y wrote
Reply to comment by st4n13l in [OC] College Basketball BPI Rankings for all 363 teams. Check out the strong correlation between offense and defense. Link to interactive version in comment. by Bischrob
Indeed, I plan on making this a weekly update, next week's data will be animated to show the difference from one week to another.
Bischrob OP t1_iwdz52u wrote
Reply to [OC] College Basketball BPI Rankings for all 363 teams. Check out the strong correlation between offense and defense. Link to interactive version in comment. by Bischrob
Interactive version: https://bischrob.github.io/RScripts/public/CBB-BPI-widget.html
Made in R using ggplot and plotly (for the interactive version) with data from ESPN.com
BPI explanation: "The Men's College Basketball Power Index (BPI) is a measure of team strength that is meant to be the best predictor of performance going forward. BPI represents how many points above or below average a team is."
Bischrob OP t1_iwagxu8 wrote
Reply to comment by eventuallobster in [OC] Weekly update: animated American College Football offensive and defensive efficiency through week 11. Alabama hanging out in the top right like they think they're still a top four team. by Bischrob
Indeed it is weak. Slightly positive correlation with adjusted R-squared of .1
Bischrob OP t1_iw8t8jm wrote
Reply to comment by billfitz24 in [OC] Weekly update: animated American College Football offensive and defensive efficiency through week 11. Alabama hanging out in the top right like they think they're still a top four team. by Bischrob
Florida International - here's a closeup of the logo http://a.espncdn.com/i/teamlogos/ncaa/500/2229.png
Bischrob OP t1_iw82x5a wrote
Reply to [OC] Weekly update: animated American College Football offensive and defensive efficiency through week 11. Alabama hanging out in the top right like they think they're still a top four team. by Bischrob
Made in R using these packages: cfbfastR, ggimage, tidyverse, gganimate, ggthemes.
Edit: data from ESPN using cfbfastR package
Explanation of FPI efficiency: "Team efficiencies are based on the point contributions of each unit to the team's scoring margin, on a per-play basis. The values are adjusted for strength of schedule and down-weighted for "garbage time" (based on win probability). The scale goes from 0 to 100; higher numbers are better and the average is roughly 50 for all categories. Efficiencies update daily during the season." It's basically an advanced metric designed to measure offense and defense.
Bischrob OP t1_jbvvpsl wrote
Reply to comment by kaneywest in [OC] NBA offense vs defense season to date by Bischrob
The Vikings were a good example of the lack of correlation in the NFL. They were literally average on offense and defense but had a great record.