maydow: Dow Jones industrial average and May maximum temperature

Description Usage Format Details Source Examples

Description

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

Usage

1

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

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

jverzani/UsingR documentation built on Aug. 3, 2020, 11:57 a.m.