My Account
View Cart
Home
Community
Books
Safari Books Online
Conferences
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Tell a friend
Baseball Hacks
Tips & Tools for Analyzing and Winning with Statistics
By
Joseph Adler
January 2006
Pages: 467
Cover
|
Table of Contents
|
Colophon
Table of Contents
Copyright
Credits
About the Author
Contributors
Acknowledgments
Preface
Why Baseball Hacks?
How to Use This Book
How This Book Is Organized
Conventions Used in This Book
Using Code Examples
How to Contact Us
Got a Hack?
SafariŽ Enabled
Chapter 1
Basics of Baseball
Hacks 1–7: Introduction
Score a Baseball Game
Make a Box Score from a Score Sheet
Keep Score, Project Scoresheet–Style
Follow Pitches During a Game
Follow the Game Online
Add Baseball Searches to Firefox
Find Images of Stadiums
Chapter 2
Baseball Games from Past Years
Hacks 8–23: Introduction
Get and Install MySQL
Get an Access Database of Player and Team Statistics
Get a MySQL Database of Player and Team Statistics
Make Your Own Stats Book
Get Perl
Learn Perl
Get Historical Play-by-Play Data
Make Box Scores or Database Tables from Play-by-Play Data with Retrosheet Tools
Use SQL to Explore Game Data
Use Microsoft Access to Run SQL Queries
Get a GUI for MySQL
Move Data from a Database to Excel
Load Baseball Data into MySQL
Load Retrosheet Game Logs
Make a Historical Play-by-Play Database
Use Regular Expressions to Identify Events
Chapter 3
Stats from the Current Season
Hacks 24–29: Introduction
Use Microsoft Excel Web Queries to Get Stats
Spider Baseball Sites for Data
Discover How Live Score Applications Work
Keep Your Stats Database Up-to-Date
Get Recent Play-by-Play Data
Find Data on Hit Locations
Chapter 4
Visualize Baseball Statistics
Hacks 30–39: Introduction
Plot Histograms in Excel
Get R and R Packages
Analyze Baseball with R
Access Databases Directly from Excel or R
Load Text Files into R
Compare Teams and Players with Lattices
Compare Teams Using Chernoff Faces
Plot Spray Charts
Chart Team Stats in Real Time
Slice and Dice Teams with Cubes
Chapter 5
Formulas
Hacks 40–59: Introduction
Measure Batting with Batting Average
Measure Batting with On-Base Percentage
Measure Batting with SLG
Measure Batting with OPS
Measure Power with ISO
Measure Batting with Runs Created
Measure Batting with Linear Weights
Measure Pitching with ERA
Measure Pitching with WHIP
Measure Pitching with Linear Weights
Measure Defense with Defensive Efficiency
Measure Pitching with DIPS
Measure Base Running Through EqBR
Measure Fielding with Fielding Percentage
Measure Fielding with Range Factor
Measure Fielding with Linear Weights
Measure Park Effects
Calculate Fan Save Value
Calculate Save Value
Calculate Holds and Decent Holds for Relief Pitchers
Chapter 6
Sabermetric Thinking
Hacks 60–71: Introduction
Calculate Expected Runs
Calculate an Expected Hits Matrix
Look for Evidence of Platoon Effects
Significant Number of At Bats
Find "Clutch" Players
Calculate Expected Number of Wins
Measure Hits by Pitch Count
OBP, SLG, and Scoring Runs
Measure Skill Versus Luck
Odds of the Best Team Winning the World Series
Top 10 Bargain Outfielders
Fitting Game Scores to a Strength Model
Chapter 7
The Bullpen
Hacks 72–75: Introduction
Start or Join a Fantasy League
Draft Your Fantasy Team
Make a Scoreboard Widget
Analyze Other Sports
Where to Learn More Stuff
Baseball Books
Baseball Web Sites
Statistics and Data Mining Books
Databases and Computer Languages
Abbreviations
Colophon
Return to
Baseball Hacks