Using R solve: Estimate the median value of owner-occupied homes in Boston We ar
ID: 3272680 • Letter: U
Question
Using R solve:
Estimate the median value of owner-occupied homes in Boston We are analyzing this historic data set from the late 1970 in order to estimate the median value of owner-occupied homes in Boston. In particular we are interested in understanding how the per capita crime rate by town, the nitric oxides concentration, and the pupil-teacher ratio by town influence the median house prices. Please download file BostonHousing_MM3.txt from Canvas. Boston.df = read.table (file .choose(), header=TRUE) A description of the variables can be found at http: //math.furman.edu/~dcs/courses/math47/R/library/mlbench/html/BostonHousing. html. You are working with the original data set, which has been amended by an additional column: max_val TRUE if medv==max(medv)Explanation / Answer
library(mlbench)
data(BostonHousing)
Boston=BostonHousing
summary(Boston)
medv=Boston[,14]
Boston[medv == min(medv),]
crim zn indus chas nox rm age dis rad tax ptratio b lstat medv
399 38.3518 0 18.1 0 0.693 5.453 100 1.4896 24 666 20.2 396.90 30.59 5
406 67.9208 0 18.1 0 0.693 5.683 100 1.4254 24 666 20.2 384.97 22.98 5
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.