homerun                package:Zelig                R Documentation

_S_a_m_p_l_e _D_a_t_a _o_n _H_o_m_e _R_u_n_s _H_i_t _B_y _M_a_r_k _M_c_G_w_i_r_e _a_n_d _S_a_m_m_y _S_o_s_a _i_n _1_9_9_8.

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

     Game-by-game information for the 1998 season for Mark McGwire and
     Sammy Sosa. Data are a subset of the dataset provided in Simonoff
     (1998).

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

     data(homerun)

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

     A data frame containing 5 variables ("gameno", "month",
     "homeruns", "playerstatus", "player") and 326 observations.  

     '_g_a_m_e_n_o' an integer variable denoting the game number

     '_m_o_n_t_h' a factor variable taking with levels "March" through
          "September" denoting the month of the game

     '_h_o_m_e_r_u_n_s' an integer vector denoting the number of homeruns hit
          in that game for that player

     '_p_l_a_y_e_r_s_t_a_t_u_s' an integer vector equal to "0" if the player played
          in the game, and "1" if they did not.

     '_p_l_a_y_e_r' an  integer vector equal to "0" (McGwire) or "1" (Sosa)

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

     <URL: http://www.amstat.org>

_R_e_f_e_r_e_n_c_e_s:

     Simonoff, Jeffrey S. 1998. ``Move Over, Roger Maris: Breaking
     Baseball's Most Famous Record.'' {\it Journal of Statistics
     Education} 6(3). Data used are a subset of the data in the
     article. \

