EfronMorris               package:pscl               R Documentation

_B_a_t_t_i_n_g _A_v_e_r_a_g_e_s _f_o_r _1_8 _m_a_j_o_r _l_e_a_g_u_e _b_a_s_e_b_a_l_l _p_l_a_y_e_r_s, _1_9_7_0

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     data(EfronMorris)

_F_o_r_m_a_t:


   '_n_a_m_e' character, name of player

   '_t_e_a_m' character, team of player, abbreviated

   '_l_e_a_g_u_e' 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

_S_o_u_r_c_e:

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

_E_x_a_m_p_l_e_s:

     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)

