bball: U.S. Major League Batting Average Data: 2002-2012

Description Details Source References


Data frame consisting of the following variables:


Data is aggregated into half seasons: so season indicates whether the observation is in the first or second half of the season of a given year. Only players who have more than 10 at bats in any half season are included, and only players who have more than three half seasons are represented. The transformed batting average is arcsin(sqrt((H + 1/4)/(AB + 1/2))). Only regular seasons data are included. R programs to extract the data from the original sources are available on request.


ESPN Website:


Gu, Jiaying and Roger Koenker (2015) Empirical Bayesball Remixed: Empirical Bayes Methods for Longitudinal Data, J. Applied Econometrics, forthcoming.

REBayes documentation built on Dec. 17, 2018, 5:04 p.m.