The Baseball data set contains performance measures and salary levels for regular hitters and leading substitute hitters in Major League
Baseball for the year 1986 (Reichler, 1987). There is one observation per hitter.
The following list describes each variable.
nameplayer’s name
no_atbatnumber of times at bat (in 1986)
no_hitsnumber of hits (in 1986)
no_homenumber of home runs (in 1986)
no_runsnumber of runs (in 1986)
no_rbinumber of runs batted in (in 1986)
no_bbnumber of bases on balls (in 1986)
yr_majoryears in the major leagues
cr_atbatcareer at-bats
cr_hitscareer hits
cr_homecareer home runs
cr_runscareer runs
cr_rbicareer runs batted in
cr_bbcareer bases on balls
leagueplayer’s league at the end of 1986
divisionplayer’s division at the end of 1986
teamplayer’s team at the end of 1986
positionpositions played (in 1986)
no_outsnumber of putouts (in 1986)
no_asstsnumber of assists (in 1986)
no_errornumber of errors (in 1986)
salarysalary, in thousands of dollars (in 1986)
The position variable in the Baseball data set is encoded as follows:
Table A.1: Values for the Position Variable
|
13 |
First base and third base |
CS |
Center field and shortstop |
|
1B |
First base |
DH |
Designated hitter |
|
1O |
First base and outfield |
DO |
Designated hitter and outfield |
|
23 |
Second base and third base |
LF |
Left field |
|
2B |
Second base |
O1 |
Outfield and first base |
|
2S |
Second base and shortstop |
OD |
Outfield and designated hitter |
|
32 |
Third base and second base |
OF |
Outfield |
|
3B |
Third base |
OS |
Outfield and shortstop |
|
3O |
Third base and outfield |
RF |
Right field |
|
3S |
Third base and shortstop |
S3 |
Shortstop and third base |
|
C |
Catcher |
SS |
Shortstop |
|
CD |
Center field and designated hitter |
UT |
Utility |
|
CF |
Center field |