BostonHousing: Boston housing data set

BostonHousingR Documentation

Boston housing data set

Description

Housing data for 506 census tracts of Boston from the 1970 census. The data set contains the original data by Harrison and Rubinfeld (1979).

Usage

BostonHousing

Format

A data frame with three 506 rows observations on 14 variables. medv is the target variable. The variables are as follows:

  • 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: nitric 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 distances to five Boston employment centres

  • rad: index of accessibility to radial highways

  • tax: full-value property-tax rate per USD 10,000

  • ptratio: pupil-teacher ratio by town

  • b: 1000(B - 0.63)^2 where B is the proportion of blacks by town

  • lstat: percentage of lower status of the population

  • medv: median value of owner-occupied homes in USD 1000's

Examples

## load data
data(BostonHousing, package = "RFpredInterval")

RFpredInterval documentation built on March 7, 2023, 7:17 p.m.