Last chance! 50% off unlimited learning
Sale ends in
Time series data on US income and consumption expenditure, 1970--1979.
data("USConsump1979")
An annual multiple time series from 1970 to 1979 with 2 variables.
Disposable income.
Consumption expenditure.
Greene, W.H. (2003). Econometric Analysis, 5th edition. Upper Saddle River, NJ: Prentice Hall.
# NOT RUN {
data("USConsump1979")
plot(USConsump1979)
## Example 1.1 in Greene (2003)
plot(expenditure ~ income, data = as.data.frame(USConsump1979), pch = 19)
fm <- lm(expenditure ~ income, data = as.data.frame(USConsump1979))
summary(fm)
abline(fm)
# }
Run the code above in your browser using DataLab