The dataset bluebirdlite
contains log sales and prices for the “lite” version of bluebird chips. Quantify the relationship between sales and price.
library(TSA)
data(bluebirdlite)
In class we looked a modelling the relationship between mortality, temperature and particulate matter. Repeat the analysis but seasonally difference all three series first. Compare the results.
You can get the cmort
, tempr
and part
times series with:
load(url("http://www.stat.pitt.edu/stoffer/tsa3/tsa3.rda"))
Have a look at the code from Feb 9 if you want to turn them into a data frame.