Analyzing Baseball Data with R (Paperback)

Max Marchi

買這商品的人也買了...

商品描述

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.

商品描述(中文翻譯)

憑藉其靈活的功能和開源平台,R已成為分析詳細且高質量棒球數據的主要工具。《使用R分析棒球數據》為刀劍指標學家、棒球愛好者和對探索豐富的棒球數據感興趣的學生提供了R的介紹。它為讀者提供了執行所有分析步驟所需的必要技能和軟件工具,從收集數據集並以便於使用的格式輸入數據,到通過圖形將數據可視化,再到進行統計分析。

作者首先概述了公開可用的棒球數據集,並對R的數據結構和探索性數據管理能力進行了簡要介紹。他們還介紹了基礎包中的傳統圖形函數,以及通過lattice和ggplot2包提供的更複雜的圖形顯示。本書的大部分內容通過流行的刀劍指標主題來演示使用R的方法,包括拍擊率公式、得分期望值、職業軌跡、比賽和賽季模擬、球員連勝連敗行為模式以及守備指標。每章都包含練習題,鼓勵讀者使用R進行自己的分析。本書中使用的所有數據集和R代碼都可以在線上獲得。

本書幫助讀者使用大型公開可用的數據集回答有關棒球隊伍、球員和策略的問題。它提供了詳細的下載數據集並將其轉換為簡化數據探索和分析的格式的指導。通過本書的各種示例,讀者將學習現代刀劍指標學並能夠進行自己的棒球分析。