batavgs | R Documentation |
Data set containing number of at-bats and number of hits for Major League baseball players over the 2005 season.
data(batavgs)
A data frame with 929 observations on the following 7 variables.
First.Name
factor; player's last name
Last.Name
factor; player's first name
Pitcher
numeric vector; an indicator of whether or not the player is a pitcher
midseasonAB
numeric vector; number of at-bats during the first half of the season
midseasonH
numeric vector; number of hits during the first half of the season
TotalAB
numeric vector; total number of at-bats over the season
TotalH
numeric vector; total number of hits over the season
The 2005 Major League Baseball season was roughly six months starting from the beginning of April and ending at the beginning of October. Data from postseason play is not included. The midseason data were obtained by only considering the first three months of the season.
http://projecteuclid.org/DPubS?service=UI&version=1.0&verb=Display&handle=euclid.aoas/1206367815
Brown, L. D. (2008), In-Season prediction of batting averages: a field test of empirical Bayes and Bayes Methodologies, The Annals of Applied Statistics, 2, 1, 113–152.
data(batavgs) head(batavgs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.