This repo stores my code and plots for sports-related plots. Any "small" data is stored in the repo. Otherwise, it's saved locally and git-ignored here.
The projects are listed in reverse chronological order. A skipped number corresponds to an idea that I did not end up finishing.
- 2021/22 Fantasy Football Luck
After regular season (week 12)
After week 7
At the end of the playoffs
As of 2020-09-06
Note: This gif really should have had some smoothing applied. The matrix inversion with solve()
in the code returns some near infinite values for some inputs.
2019-20 English Premier League First 30 Games Points Minus Expected Points Lollipop Chart
-
Visualize difference between proportion of the EPL season in which a team is in the top 4 of the league with matchweeks vs. actual time.
-
In which sport is the leading team most likely to further their lead near the end of the game due to an opposition error, overly-aggressive tactics by the opposition, etc.? (End of game depends on the sport. Ideally, we could use a win probability model to help identify end-of-game context, although it would still need some adjustment.) Extension: In which sport are gamblers most likely to lose/win due to a back-door cover?
-
Decision tree to filter down players in a sport to just one player who has achieved a very specific set of career totals/averages (i.e. inspiration)
-
Playing time in career at current team sonar (inspiration)
-
Which positions is it ok to have a weak spot at? (inspiration)
-
Do coaches sub-off players with yellow cards at a higher rate than they would otherwise?