schiller.index {nutshell} | R Documentation |
Robert J Schiller is an economics professor at Yale University, and one of the leading experts on housing prices in the United States. This data set contains his home price index (and some other data) over the past century.
data(schiller.index)
A data frame with 126 observations on the following 2 variables.
Year
Real.Home.Price.Index
This data set is used as an example in the book "R in a Nutshell" from O'Reilly Media.
Other information (including long bond rates, US population size, and cost of
construction) is included in schiller.other.data
.
http://www.irrationalexuberance.com/
data(schiller.index) # linear fit hpi.lm <- lm(Real.Home.Price.Index~Year,data=schiller.index) # plotting the fit plot(schiller.index,pch=19,cex=0.3) abline(reg=hpi.lm,lty=1)