maydow {UsingR}R Documentation

Dow Jones industrial average and May maximum temperature

Description

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

Usage

data(maydow)

Format

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

Day
Day of the month
DJA
The daily close of the DJIQ
max.temp
Daily maximum temperature in Central Park

Details

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.

Source

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

Examples

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

[Package UsingR version 0.1-12 Index]