or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
45 used & new from $5.76

Have one to sell? Sell yours here
 
   
Baseball Hacks
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  
4.4 out of 5 stars  See all reviews (16 customer reviews)

List Price: $24.99
Price: $16.49 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $8.50 (34%)
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 delivered Tuesday, November 17? Choose One-Day Shipping at checkout. Details
29 new from $5.99 16 used from $5.76
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Frequently Bought Together

Baseball Hacks + The Book: Playing the Percentages in Baseball + Baseball Between the Numbers: Why Everything You Know About the Game Is Wrong
Price For All Three: $42.95

Show availability and shipping details

  • This item: Baseball Hacks by Joseph Adler

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • The Book: Playing the Percentages in Baseball by Tom M. Tango

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Baseball Between the Numbers: Why Everything You Know About the Game Is Wrong by Jonah Keri

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Special Offers and Product Promotions


Customers Who Bought This Item Also Bought

Baseball Between the Numbers: Why Everything You Know About the Game Is Wrong

Baseball Between the Numbers: Why Everything You Know About the Game Is Wrong

by Jonah Keri
4.2 out of 5 stars (25)  $11.53
Statistics Hacks: Tips & Tools for Measuring the World and Beating the Odds

Statistics Hacks: Tips & Tools for Measuring the World and Beating the Odds

by Bruce Frey
4.2 out of 5 stars (19)  $19.79
Understanding Sabermetrics: An Introduction to the Science of Baseball Statistics

Understanding Sabermetrics: An Introduction to the Science of Baseball Statistics

by Gabriel B. Costa
5.0 out of 5 stars (1)  $26.95
The Baseball Economist: The Real Game Exposed

The Baseball Economist: The Real Game Exposed

by J. C. Bradbury
Curve Ball: Baseball, Statistics, and the Role of Chance in the Game

Curve Ball: Baseball, Statistics, and the Role of Chance in the Game

by Jim Albert
4.1 out of 5 stars (12)  $13.57
Explore similar items

Editorial Reviews

Product Description

"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



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: 448 pages
  • Publisher: O'Reilly Media; illustrated edition edition (February 1, 2006)
  • Language: English
  • ISBN-10: 0596009429
  • ISBN-13: 978-0596009427
  • Product Dimensions: 8.8 x 6 x 1.2 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (16 customer reviews)
  • Amazon.com Sales Rank: #311,494 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #46 in  Books > Sports > Baseball > Statistics

More About the Author

Joseph Adler
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Joseph Adler Page

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)

Your tags: Add your first tag
 

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

 

Customer Reviews

16 Reviews
5 star:
 (10)
4 star:
 (4)
3 star:
 (1)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (16 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
19 of 19 people found the following review helpful:
5.0 out of 5 stars Hacks for Sports Fans, April 2, 2006
By Warren Kelly (Southern Ohio) - See all my reviews
(REAL NAME)      
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
12 of 12 people found the following review helpful:
3.0 out of 5 stars NOT for programming novices, January 6, 2007
By Jason Kindle "Jason" (St. Louis, Missouri) - See all my reviews
(REAL NAME)   
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.
Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 12 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
By Thomas Duff "Duffbert" (Portland, OR United States) - See all my reviews
(TOP 50 REVIEWER)    (REAL NAME)      
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

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 7 months ago 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 14 months ago 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... Read more
Published 19 months ago 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 Daniel McKinnon

5.0 out of 5 stars "OFF WE GO TO THE BALL GAME!!"
Are you a baseball aficionado or fanatic who is interested in statistics and want to know how to load this data into a database for analysis? Read more
Published on August 16, 2006 by John R. Vacca

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

5.0 out of 5 stars Valuable tool for professional gamblers
Winning sports bettors will spend whatever amount of time is necessary to collect data for analysis. Read more
Published on April 19, 2006 by Elihu D. Feustel

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.