Description Format Source References Examples
Housing data for 506 census tracts of Boston from the 1970 census. The data frame “BostonHousing” contains the original data by Harrison and Rubinfeld (1979) (see references below).
The original data comprises 506 observations on 14 variables, “medv” being the outcome variable:
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 | where 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 |
The original data have been taken from the UCI Repository Of Machine Learning Databases at http://www.ics.uci.edu/~mlearn/MLRepository.html, the corrected data have been taken from Statlib at http://lib.stat.cmu.edu/datasets/.
Harrison, D. and Rubinfeld, D.L. (1978). Hedonic prices and the demand for clean air. Journal of Environmental Economics and Management, 5, 81 – 102.
Gilley, O.W., and R. Kelley Pace (1996). On the Harrison and Rubinfeld Data. Journal of Environmental Economics and Management, 31, 403 – 405. [Provided corrections and examined censoring.]
Pace, R. Kelley, and O.W. Gilley (1997). Using the Spatial Configuration of the Data to Improve Estimation. Journal of the Real Estate Finance and Economics, 14, 333 – 340. [Added georeferencing and spatial estimation.]
1 | data(BostonHousing, package = "modelSampler")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.