or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $1.93 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Baseball Hacks: Tips & Tools for Analyzing and Winning with Statistics [Paperback]

Joseph Adler
4.2 out of 5 stars  See all reviews (17 customer reviews)

List Price: $24.99
Price: $15.18 & FREE Shipping on orders over $25. Details
You Save: $9.81 (39%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Tuesday, May 21? Choose One-Day Shipping at checkout. Details
Image
Looking for the Audiobook Edition?
Tell us that you'd like this title to be produced as an audiobook, and we'll alert our colleagues at Audible.com. If you are the author or rights holder, let Audible help you produce the audiobook: Learn more at ACX.com.

Book Description

February 7, 2006 Hacks

Baseball Hacks isn't your typical baseball book--it's a book about how to watch, research, and understand baseball. It's an instruction manual for the free baseball databases. It's a cookbook for baseball research. Every part of this book is designed to teach baseball fans how to do something. In short, it's a how-to book--one that will increase your enjoyment and knowledge of the game.

So much of the way baseball is played today hinges upon interpreting statistical data. Players are acquired based on their performance in statistical categories that ownership deems most important. Managers make in-game decisions based not on instincts, but on probability - how a particular batter might fare against left-handed pitching, for instance.

The goal of this unique book is to show fans all the baseball-related stuff that they can do for free (or close to free). Just as open source projects have made great software freely available, collaborative projects such as Retrosheet and Baseball DataBank have made great data freely available. You can use these data sources to research your favorite players, win your fantasy league, or appreciate the game of baseball even more than you do now.

Baseball Hacks shows how easy it is to get data, process it, and use it to truly understand baseball. The book lists a number of sources for current and historical baseball data, and explains how to load it into a database for analysis. It then introduces several powerful statistical tools for understanding data and forecasting results.

For the uninitiated baseball fan, author Joseph Adler walks readers through the core statistical categories for hitters (batting average, on-base percentage, etc.), pitchers (earned run average, strikeout-to-walk ratio, etc.), and fielders (putouts, errors, etc.). He then extrapolates upon these numbers to examine more advanced data groups like career averages, team stats, season-by-season comparisons, and more. Whether you're a mathematician, scientist, or season-ticket holder to your favorite team, Baseball Hacks is sure to have something for you.

Advance praise for Baseball Hacks:

"Baseball Hacks is the best book ever written for understanding and practicing baseball analytics. A must-read for baseball professionals and enthusiasts alike."

-- Ari Kaplan, database consultant to the Montreal Expos, San Diego Padres, and Baltimore Orioles

"The game was born in the 19th century, but the passion for its analysis continues to grow into the 21st. In Baseball Hacks, Joe Adler not only demonstrates that the latest data-mining technologies have useful application to the study of baseball statistics, he also teaches the reader how to do the analysis himself, arming the dedicated baseball fan with tools to take his understanding of the game to a higher level."

-- Mark E. Johnson, Ph.D., Founder, SportMetrika, Inc. and Baseball Analyst for the 2004 St. Louis Cardinals


Frequently Bought Together

Baseball Hacks: Tips & Tools for Analyzing and Winning with Statistics + The Book: Playing the Percentages in Baseball + Baseball Between the Numbers: Why Everything You Know About the Game Is Wrong
Price for all three: $45.18

Buy the selected items together


Editorial Reviews

About the Author

Joseph Adler has years of experience working with lots of popular data mining packages, including databases (including Oracle, PostgreSQL, and MS Access), statistical analysis tools (SAS, SPSS, S-Plus, and R), and data mining tools (SAS Enterprise Miner, Insightful Miner, Oracle Data Mining, Weka, and SPSS Clementine). He is currently leading a project at Verisign to pick a data mining package for enterprise deployment.


Product Details

  • Paperback: 472 pages
  • Publisher: O'Reilly Media; 1 edition (February 7, 2006)
  • Language: English
  • ISBN-10: 0596009429
  • ISBN-13: 978-0596009427
  • Product Dimensions: 6 x 1.1 x 9 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #266,368 in Books (See Top 100 in Books)

More About the Author

Joseph Adler has many years of experience in data mining and data analysis at companies including DoubleClick, American Express, and VeriSign. He graduated from MIT with an Sc.B. and M.Eng. in computer science and electrical engineering. He is the inventor on several patents for computer security and cryptography. He is currently a data scientist at LinkedIn.

Customer Reviews

Most Helpful Customer Reviews
20 of 20 people found the following review helpful
5.0 out of 5 stars Hacks for Sports Fans April 2, 2006
Format:Paperback
If you've ever been involved in a fantasy baseball league and gotten killed by people who seem to have time to do nothing but research obscure baseball players, Baseball Hacks is the book for you. In this book, Joseph Adler takes his love of baseball and combines it with an understanding of databases and data-mining technology to help fantasy-sports fanatics and baseball statistic junkies get their regular fix of the numbers that drive America's Game.

The great thing about this book is that the software used is all open source. Adler includes Access and Excel hacks for those who have Office at home or at work, but the main hacks in the book involve MySQL for database queries and R for graphic statistical analysis. I've used MySQL before, but R was new for me, and I really enjoyed using the program.

Adler also uses Perl. A lot of Perl. But he doesn't expect the reader to be Perl programmers; he shows how the program was written, and what everything does. More importantly, he includes the whole script so that it's a simple matter of copying, and making modifications if needed. He even shows how to modify the scripts.

Downloading a beginning stat database is as easy as 1-2-3. Hack 25 tells you how to spider websites for statistical data - including getting data from MLB.com. Detailed instructions on working with R are included in section 4 (hacks 31-39). Adler even includes formulas for calculating the more arcane statistics (at least to non-sports people like me) such as OPS (on-base plus slugging average) and ISO (isolated power - a measure of how well a player hits the ball).

It's obvious that Baseball Hacks is a book designed for fantasy sports fanatics. I've also pointed the book out to some computer applications teachers and statistics teachers - combining the study of stats and database construction with a subject that so many teenage boys enjoy studying is a great idea. Teaching database structure and analysis is tough, but give them something that they like to do, and they're all over it. This book does exactly that.
Comment | 
Was this review helpful to you?
19 of 20 people found the following review helpful
3.0 out of 5 stars NOT for programming novices January 6, 2007
Format:Paperback
I recently purchased this book hoping to be able to apply some of my recent work-related statistics training to baseball stats. It promises step-by-step instructions that 'anyone' can follow. While the instructions are step-by-step, if you have no computer experience outside of Windows (like me) you will almost certainly be frustrated very early on.

My first hiccup was in hack #10, step 4, in which the author jumps to using Unix commands without mentioning that fact. Fortunately, I have a friend familiar with both Unix and MySQL who was able to get me through that particular hack by installing a GUI and importing the files through it. For those who are stumped on that particular step, jump to hack #18, install a GUI, and import the DataBank files as a script using the Query Editor.

I haven't proceeded much farther in the book, largely because I can already see the frustration to come from fumbling my way through Perl. The author gives very rudimentary instructions in the language, followed by more 'easy to use' scripts. The problem is the scripts are based on filenames and information that is more than a year out of date. This will require editing the scripts, something a programming illiterate such as myself will find challenging at best.

So after all these complaints, why did I still rate the book a 3? Because I'm trying to be fair. I've read through the rest of the book without trying to apply anything, and if you are at least familiar with MySQL, Unix, and Perl you'll probably get a lot out of it. The tools presented appear to be very powerful. Also, since I'm familiar with Access, the hacks for using it have been helpful. Unfortunately, the instructions in the book assume a basic level of programming knowledge on the part of the reader, despite the author's contention that they do not. If you can't tell a Unix prompt from a DOS prompt, this book is not the answer to your stat-processing prayers.
Was this review helpful to you?
13 of 15 people found the following review helpful
5.0 out of 5 stars Take me (and my laptop) out to the ball game... March 14, 2006
Format:Paperback
While I'm not a diehard baseball fan, there is a certain appeal (or perhaps nostalgia) about "America's Pastime". And there isn't another sport around that takes their statistics as seriously as baseball does. So if you're a computer geek who loves baseball and statistics, what do you do? You get Baseball Hacks: Tips & Tools for Analyzing and Winning with Statistics by Joseph Adler. Even I, a non-baseball fanatic, can appreciate the appeal of this book.

Contents: Basics of Baseball; Baseball Games from Past Years; Stats from the Current Season; Visualize Baseball Statistics; Formulas; Sabermetric Thinking; The Bullpen; Where to Learn More Stuff; Abbreviations; Index

The author and his co-contributors have come up with 75 statistical "hacks" all related to baseball. In here, you'll learn how to keep a scoresheet in the traditional fashion as well as how to use a format that is generally used for computer entry and analysis. After showing you where to find downloadable stats and how to get them in a format you can use, they then take you through open source packages like MySQL and R (a statistical software offering) as well as standards like Access and Excel. By loading the data into these formats, you can then slice and dice with the best of them. Some of the hacks show you common statistical generation like batting average or on-base percentage, but there are more esoteric ones you can look into, like Park effect and Fan Save value. If you've always dreamed of combining your love of statistics and baseball into a single passion, this book will push you over the edge. Once you get done here, you should be able to figure out the batting average of Barry Bonds on Tuesday night games against left-handed pitching with two men on base... :)

Seriously, a very well-done book that will appeal to both the baseball fan interested in statistics, as well as the computer geek who loves his (or her!) baseball recordkeeping...
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Very informative
I'm not a big baseball fan but this was an excellent look at how people rock their fantasy leagues and how much somebody can geek out over sports statistics. Read more
Published 21 months ago by Antonio Canas
2.0 out of 5 stars too many errors, unprofessional
This book does have a lot of good info. However, the author did a very unprofessional job in that there are just too many errors in the code samples; it seems each time I try any... Read more
Published 22 months ago by George Sz
5.0 out of 5 stars Good Information
The information in this book is exactly as advertised. I was looking for a book that I could use as a reference tool to find, calculate, analyze and efficiently store baseball... Read more
Published on April 20, 2009 by man
4.0 out of 5 stars Good explanations
You have to be a programmer to do much with the code in this book. There is no robust system to download you can just run. Read more
Published on August 28, 2008 by Kyle Willkomm
5.0 out of 5 stars Baseball Hacks, the "How to" manual for Moneyball
Baseball Hacks: Tips & Tools for Analyzing and Winning with Statistics (Hacks), which comes with download able scripts from the O'Reilly site, shows how to do SABR metrics like the... Read more
Published on April 7, 2008 by Cactusmitch
4.0 out of 5 stars Tips & Tools For Analyzing Baseball Data
This book takes a fairly different approach to baseball statistics. The author goes thru and explains most all of the newer statistics. Read more
Published on February 25, 2007 by Michael L. Slavin
4.0 out of 5 stars Baseball/Computer Nerds Unite!
This book is uniquely geared toward the database-literate and technology-literate baseball fan. The author shows all kinds of ways to gather free baseball statistics over the... Read more
Published on January 18, 2007 by Data Guy
5.0 out of 5 stars How to watch, research, and understand baseball
This book's purpose is to show you all the baseball-related stuff that you can do free of charge or close to free. Read more
Published on January 3, 2007 by calvinnme
4.0 out of 5 stars Great For Baseball, Statistics Afficiandos
If you are a lover of the game of baseball and your enjoy playing with #s, this is the perfect book for you. Read more
Published on October 6, 2006 by Dan McKinnon
1.0 out of 5 stars Total Disapppointment
I have tried just a couple of the Hacks in the beginning portion of this book (#11, #14) and nothing has worked as displayed in the book. Read more
Published on May 13, 2006 by Chris J. Candido
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...



Look for Similar Items by Category