maydow: Dow Jones industrial average and May maximum temperature

maydowR 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 was taken from https://finance.yahoo.com the temperature data from https://www.noaa.gov.

Examples

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

UsingR documentation built on March 18, 2022, 7:32 p.m.