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.'' _Journal of Statistics Education_
     6(3). Data used are a subset of the data in the article.

