maydow                package:UsingR                R Documentation

_D_o_w _J_o_n_e_s _i_n_d_u_s_t_r_i_a_l _a_v_e_r_a_g_e _a_n_d _M_a_y _m_a_x_i_m_u_m _t_e_m_p_e_r_a_t_u_r_e

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

     A data set of both the Dow Jones industrial average and the
     maximum daily temperature in New York City for May 2003.

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

     data(maydow)

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

     A data frame with 21 observations on the following 3 variables.

     _D_a_y Day of the month

     _D_J_A The daily close of the DJIQ

     _m_a_x._t_e_m_p Daily maximum temperature in Central Park

_D_e_t_a_i_l_s:

     Are stock traders influenced by the weather? This dataset looks
     briefly at this question by comparing the daily close of the Dow
     Jones industrial average with the maximum daily temperature for
     the month of May 2003. This month was rainy and unseasonably cool
     weather wise, yet the DJIA did well.

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

     The DJIA data is from <URL: http://finance.yahoo.com> the
     temperature data from <URL: http://www.noaa.gov>.

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

     data(maydow)
     attach(maydow)
     plot(max.temp,DJA)
     plot(max.temp[-1],diff(DJA))

