Analyzing Baseball Data with R Front Cover

Analyzing Baseball Data with R

  • Length: 352 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2013-10-29
  • ISBN-10: 1466570229
  • ISBN-13: 9781466570221
  • Sales Rank: #282001 (See Top 100 Books)
Description

With its flexible capabilities and open-source platform, R has become a major tool for analyzing detailed, high-quality baseball data. Analyzing Baseball Data with R provides an introduction to R for sabermetricians, baseball enthusiasts, and students interested in exploring the rich sources of baseball data. It equips readers with the necessary skills and software tools to perform all of the analysis steps, from gathering the datasets and entering them in a convenient format to visualizing the data via graphs to performing a statistical analysis.

The authors first present an overview of publicly available baseball datasets and a gentle introduction to the type of data structures and exploratory and data management capabilities of R. They also cover the traditional graphics functions in the base package and introduce more sophisticated graphical displays available through the lattice and ggplot2 packages. Much of the book illustrates the use of R through popular sabermetrics topics, including the Pythagorean formula, runs expectancy, career trajectories, simulation of games and seasons, patterns of streaky behavior of players, and fielding measures. Each chapter contains exercises that encourage readers to perform their own analyses using R. All of the datasets and R code used in the text are available online.

This book helps readers answer questions about baseball teams, players, and strategy using large, publically available datasets. It offers detailed instructions on downloading the datasets and putting them into formats that simplify data exploration and analysis. Through the book’s various examples, readers will learn about modern sabermetrics and be able to conduct their own baseball analyses.

Table of Contents

Chapter 1 The Baseball Datasets
Chapter 2 Introduction to R
Chapter 3 Traditional Graphics
Chapter 4 The Relation Between Runs and Wins
Chapter 5 Value of Plays Using Run Expectancy
Chapter 6 Advanced Graphics
Chapter 7 Balls and Strikes Effects
Chapter 8 Career Trajectories
Chapter 9 Simulation
Chapter 10 Exploring Streaky Performances
Chapter 11 Learning About Park Effects by Database Management Tools
Chapter 12 Exploring Fielding Metrics with Contributed R Packages
Appendix A: Retrosheet Files Reference
Appendix B: Accessing and Using MLBAM Gameday and PITCHf/x Data

To access the link, solve the captcha.