R Dataset / Package MASS / Boston


On this R-data statistics page, you will find information about the Boston data set which pertains to Housing Values in Suburbs of Boston. The Boston data set is found in the MASS R package. You can load the Boston data set in R by issuing the following command at the console data("Boston"). This will load the data into a variable called Boston. If R says the Boston data set is not found, you can try installing the package by issuing this command install.packages("MASS") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Boston R data set. The size of this file is about 34,727 bytes.

Housing Values in Suburbs of Boston


The Boston data frame has 506 rows and 14 columns.




This data frame contains the following columns:


per capita crime rate by town.


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


proportion of non-retail business acres per town.


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


nitrogen oxides concentration (parts per 10 million).


average number of rooms per dwelling.


proportion of owner-occupied units built prior to 1940.


weighted mean of distances to five Boston employment centres.


index of accessibility to radial highways.


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


pupil-teacher ratio by town.


1000(Bk - 0.63)^2 where Bk is the proportion of blacks by town.


lower status of the population (percent).


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


Harrison, D. and Rubinfeld, D.L. (1978) Hedonic prices and the demand for clean air. J. Environ. Economics and Management 5, 81–102.

Belsley D.A., Kuh, E. and Welsch, R.E. (1980) Regression Diagnostics. Identifying Influential Data and Sources of Collinearity. New York: Wiley.


Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-70319.csv 33.91 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.