Baseball Hacks : Tips & Tools for Analyzing and Winning with Statistics
O’Reilly Media, Inc.
This book started popping up for me on Amazon about six months ago. Every time I searched for a book on baseball, my cookies kept telling the folks at Amazon that I’d like this book. But why? I wondered. O’Reilly publishes computer books, what could they be doing publishing a baseball book? In fact, Baseball Hacks is a guide complete with 72 “hacks” for analyzing baseball data. Not only does it show you where to find data, but provides in-depth tools for extracting and analyzing what you get.
A few skills presented include:
– Spidering baseball data off the web, including MLB Gameday data.
– Writing Perl scripts to organize and extract play-by-play data.
– Using MySQL to make tables and extract information.
– Using R, to analyze data with linear regression and graphics tools.
Even if you are not skilled in any of these areas, the book walks you through them. The book is well-written with plenty of examples. Adler is clearly an accomplished sabermetrician with a vast knowledge of the practical tools of the sabermetrician. The book also includes small contributions from Tom Dierickx, Mark Johnson, Matthew Johnson, Ari Kaplan, Pete Palmer, and Brendan Roberts. Additionally, the book’s website has many other examples that are not in the book.
If you want to get into serious sabermetrics research, this is the book you need. And even if you already know a good bit about baseball analysis, there is plenty new in the book that you don’t know. I’ve already recommend the book to several people, and I’m sure I’ll have an opportunity to do so again soon.