Hprice | R Documentation |
This data set is a selection of variables from the Boston house-price data originally published by Harrison, D. and Rubinfeld, D.L. The data contains the median housing price in 506 communities in the Boston area, measurements of air pollution and other information collected by the U.S Census Service.
Hprice
A data frame with 506 observations (rows) and 12 variables (columns).
Column name | Data type | Description | Values | |
[,1] | price | numeric | Median housing price in US dollars | (5000 - 50001) |
[,2] | crime | numeric | Crimes committed per capita | (0.006 - 88.976) |
[,3] | nox | numeric | Nitrous oxide in parts per 100 million | (3.85 - 8.71) |
[,4] | rooms | numeric | Average number of rooms per house | (3.56 - 8.78) |
[,5] | dist | numeric | Weighted distance to 5 employ centers in miles | (1.13 - 12.13) |
[,6] | radial | numeric | Accessibility index to radial highways | (1 - 24) |
[,7] | proptax | numeric | Property tax per $1000 | (18.7 - 71.1) |
[,8] | stratio | numeric | Average student-teacher ratio | (12.6 - 22.0) |
[,9] | lowstat | numeric | Percentage of people with 'lower status' | (1.73 - 39.07) |
[,10] | lprice | numeric | log(price) | (8.517193 - 10.8198) |
[,11] | lnox | numeric | log(nox) | (1.348073 - 2.164472) |
[,12] | lproptax | numeric | log(proptax) | (5.231109 - 6.566672) |
Wooldridge, J.M. (2019) Introductory Econometrics: A Modern Approach, 7th Edition. Cengage Learning.
Harrison, D., Rubinfeld, D.L. (1978) Hedonic prices and the demand for clean air J. Environ. Economics & Management, 5, 81-102.
# The structure of the object
str(Hprice)
# Scatterplot matrix with some of the variables
pairs(Hprice[, 1:9])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.