||6 lat temu|
|data||7 lat temu|
|figs||7 lat temu|
|figs_wins||7 lat temu|
|.gitignore||7 lat temu|
|AllTeams.py||7 lat temu|
|AthleticsABKDE.py||7 lat temu|
|CombineEverybody.py||7 lat temu|
|HRVariance.py||7 lat temu|
|LICENSE||7 lat temu|
|MultivariateTeamWins.py||7 lat temu|
|NullHypothesisBattingStats.py||7 lat temu|
|README.md||7 lat temu|
|Regression.py||7 lat temu|
|TeamWins.py||6 lat temu|
|Wins.py||7 lat temu|
|ols.py||7 lat temu|
|plot_bivariate_normal_dist.py||7 lat temu|
This repository contains some scripts and data for sabermetrics (analysis of baseball statistics.)
Octopress Blog Posts
I am using these scripts to write a series of Octopress blog posts. These are listed here, along with the scripts that correspond to each post.
- The file
AthleticsABKDE.pygenerates KDEs for at-bats, analyzed in this first post.
AllTeams.pygenerates univariate and multivariate KDEs for multiple batting stats, for all teams
HRVariance.pycontains variance and correlation plots for home runs and how they change, or are correlated with other variables
I've put together some data files, contained in the
This consists of batting statistics for individual teams, plus
a master batting stats file that contains batting statistics for all teams.
The data are all in CSV format and come from Baseball-Reference.com
CombineEverybody.pycombines data for all teams into the master batting stats file.