Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.16 KB

File metadata and controls

24 lines (15 loc) · 1.16 KB

baseball-stats

Scripts to import baseball statistics into MATLAB. You can use these to do statistical analysis on baseball performance.

Use

Run process_data to import the data into MATLAB tables.

You can plot interesting data like so Phillies wOBA Plot 2004-2014

or like so

Doubles over time

or like so

Max hits vs. max doubles

License note

The data files (.csv) are the work of Sean Lahman and licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported.

I offer thanks to Sean. Sports statistics are sometimes hard to come by and this is a good resource for baseball and stats geeks alike.

Note

I work for MathWorks and we make MATLAB. I made this because I wanted to play with baseball stats, not to promote MATLAB.