shiller: Shiller Home Price Index

Description Usage Format Details Source Examples

Description

Robert J Shiller 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

1
data(shiller)

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 shiller.other.data.

Source

http://www.irrationalexuberance.com/

Examples

1
2
3
4
5
6
7
data(shiller)
# loads shiller.index, shiller.other.data
# linear fit
hpi.lm <- lm(Real.Home.Price.Index~Year,data=shiller.index)
# plotting the fit
plot(shiller.index,pch=19,cex=0.3)
abline(reg=hpi.lm,lty=1)

Example output

Loading required package: nutshell.bbdb
Loading required package: nutshell.audioscrobbler

nutshell documentation built on May 1, 2019, 10:08 p.m.

Related to shiller in nutshell...