ISLR2 (version 1.3-2)

Boston: Boston Data

Description

A data set containing housing values in 506 suburbs of Boston.

Usage

Boston

Arguments

Format

A data frame with 506 rows and 13 variables.

crim

per capita crime rate by town.

zn

proportion of residential land zoned for lots over 25,000 sq.ft.

indus

proportion of non-retail business acres per town.

chas

Charles River dummy variable (= 1 if tract bounds river; 0 otherwise).

nox

nitrogen oxides concentration (parts per 10 million).

rm

average number of rooms per dwelling.

age

proportion of owner-occupied units built prior to 1940.

dis

weighted mean of distances to five Boston employment centres.

rad

index of accessibility to radial highways.

tax

full-value property-tax rate per $10,000.

ptratio

pupil-teacher ratio by town.

lstat

lower status of the population (percent).

medv

median value of owner-occupied homes in $1000s.

References

James, G., Witten, D., Hastie, T., and Tibshirani, R. (2013) An Introduction to Statistical Learning with applications in R, https://www.statlearning.com, Springer-Verlag, New York

Examples

Run this code
lm(medv ~ crim + rm, data=Boston)

Run the code above in your browser using DataLab