## Bayesian Analysis

- Bayesian Anal.
- Volume 3, Number 2 (2008), 317-338.

### Semi-parametric Bayesian inference for multi-season baseball data

Mark Munsell,Peter Müller,Fernando A. Quintana, and Gary L. Rosner

#### Abstract

We analyze complete sequences of successes (hits, walks, and sacrifices) for a group of players from the American and National Leagues, collected over 4 seasons. The goal is to describe how players' performances vary from season to season. In particular, we wish to assess and compare the effect of available occasion-specific covariates over seasons. The data are binary sequences for each player and each season. We model dependence in the binary sequence by an autoregressive logistic model. The model includes lagged terms up to a fixed order. For each player and season we introduce a different set of autologistic regression coefficients, i.e., the regression coefficients are random effects that are specific to each season and player. We use a nonparametric approach to define a random effects distribution. The nonparametric model is defined as a mixture with a Dirichlet process prior for the mixing measure. The described model is justified by a representation theorem for order-$k$ exchangeable sequences. Besides the repeated measurements for each season and player, multiple seasons within a given player define an additional level of repeated measurements. We introduce dependence at this level of repeated measurements by relating the season-specific random effects vectors in an autoregressive fashion. We ultimately conclude that while some covariates like the ERA of the opposing pitcher are always relevant, others like an indicator for the game being into the seventh inning may be significant only for certain seasons, and some others, like the score of the game, can safely be ignored.

#### Article information

**Source**

Bayesian Anal. Volume 3, Number 2 (2008), 317-338.

**Dates**

First available: 22 June 2012

**Permanent link to this document**

http://projecteuclid.org/euclid.ba/1340370550

**Digital Object Identifier**

doi:10.1214/08-BA312

**Mathematical Reviews number (MathSciNet)**

MR2407429

#### Citation

Quintana, Fernando A.; Müller, Peter; Rosner, Gary L.; Munsell, Mark. Semi-parametric Bayesian inference for multi-season baseball data. Bayesian Analysis 3 (2008), no. 2, 317--338. doi:10.1214/08-BA312. http://projecteuclid.org/euclid.ba/1340370550.