Unlimited learning, half price | 50% off
Get 50% off unlimited learning

nutshell (version 1.02)

schiller.index: Schiller Home Price Index

Description

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.

Usage

data(schiller.index)

Arguments

source

http://www.irrationalexuberance.com/

Details

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.

Examples

Run this code
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)

Run the code above in your browser using DataLab