Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

maydow

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))

UsingR

Data Sets, Etc. for the Text "Using R for Introductory Statistics", Second Edition

v2.0-6
GPL (>= 2)
Authors
John Verzani <verzani@math.csi.cuny.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.