schiller.index {nutshell}R Documentation

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)

Format

A data frame with 126 observations on the following 2 variables.

Year
a numeric vector
Real.Home.Price.Index
a numeric vector

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.

Source

http://www.irrationalexuberance.com/

Examples

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)

[Package nutshell version 1.0 Index]