R Dataset / Package pscl / EfronMorris

Documentation

On this Picostat.com statistics page, you will find information about the EfronMorris data set which pertains to Batting Averages for 18 major league baseball players, 1970. The EfronMorris data set is found in the pscl R package. You can load the EfronMorris data set in R by issuing the following command at the console data("EfronMorris"). This will load the data into a variable called EfronMorris. If R says the EfronMorris data set is not found, you can try installing the package by issuing this command install.packages("pscl") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the EfronMorris R data set. The size of this file is about 846 bytes.


Batting Averages for 18 major league baseball players, 1970

Description

Batting averages for 18 major league baseball players, first 45 at bats of the 1970 season.

Usage

data(EfronMorris)

Format

name

character, name of player

team

character, team of player, abbreviated

league

character, National League or American League

r

numeric, hits in 1st 45 at bats

y

numeric, r/45, batting average over 1st 45 at bats

n

numeric, number of at bats, remainder of 1970 season

p

numeric, batting average over remainder of 1970 season

Source

Efron, Bradley and Carl Morris. 1975. Data Analysis Using Stein's Estimator and Its Generalizations. Journal of the American Statistical Association. 70:311-319.

Examples

data(EfronMorris)
attach(EfronMorris)
plot(p~y,
     xlim=range(p,y),
     ylim=range(p,y),
     xlab="Batting Average, 1st 45 at bats",
     ylab="Batting Average, Remainder of Season")
abline(0,1)
--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-44101.csv 846 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0