baseball: Baseball Data

Description Usage Format Source Examples

Description

Batting averages of 18 major league players through their first 45 official at bats of the 1970 season. These batting averages were published weekly in the New York Times, and by April 26, 1970.

Usage

1

Format

A data set of 18 players with 12 covariates:

FirstName

each player's first name

LastName

each player's last name

At.Bats

number of times batted

Hits

each player's number of hits among 45 at bats

BattingAverage

batting averages among 45 at bats

RemainingAt.Bats

number of times batted after 45 at bats until the end of season

RemainingAverage

batting averages after 45 at bats until the end of season

SeasonAt.Bats

number of times batted over the whole season

SeasonHits

each player's number of hits over the whole season

SeasonAverage

batting averages over the whole season

League

1 if a player is in the National league

Position

each player's position

Source

Efron, B. and Morris, C. (1975). Data Analysis Using Stein's Estimator and its Generalizations. Journal of the American Statistical Association. 70. 311-319.

Examples

1

Example output



Rgbp documentation built on Dec. 18, 2019, 1:41 a.m.