Question
The file BostonHousing.xls contains information collected by the U.S. Bureau of the Concerning housing in the area of Boston, Massachusetts. The dataset includes information on
The file BostonHousing.xls contains information collected by the U.S. Bureau of the Concerning housing in the area of Boston, Massachusetts. The dataset includes information on 506 census housing tracts in the boston area. The goal is to predict the median house price in new tracts based on information such as crime rate, pollution, and number of rooms. The dataset contains 14 predictors and the response in the median house price (MEDV). Table 5.3 describes each of the predictors and the response.
a.?Why should the data be partitioned into training and validation sets? For what will the training set be used? For what will the validation set be used? Fit a multiple linear regression model to the median house price (MEDV) as a function of CRIM, CHAS and RM.
b.?Write the equation for predicting the median house price from the predictors in the model.
c.?What median house price is predicted for a tract in the Boston area that does not bound the Charles River, has a crime rate of 0.1, and where the average number of rooms per house is 6? What is the prediction error?
Table 5.3: Description of Variables for Boston Housing Example Per capita crime rate by town Proportion of residential land zoned for lots over 25,000 ft? Proportion of nonretail business acres per town Charles River dummy variable (= 1 if tract bounds river; = 0 otherwise) Nitric oxide concentration (parts per 10 million) Average number of rooms per dwelling Proportion of owner-occupied units built prior to 1940 Weighted distances to five Boston employment centers Index of accessibility to radial highways Full-value property-tax rate per $10,000 CRIM ZN INDUS CHAS NOX RM AGE DIS RAD PTRATIO Pupil/teacher ratio by town 1000(Bk 0.63)? where Bk is the proportion of blacks by town % Lower status of the population Median value of owner-occupied homes in $1000s LSTAT MEDV
Step by Step Solution
3.43 Rating (159 Votes )
There are 3 Steps involved in it
Step: 1
Solution A i As we know to make comparsion of data we must need two sets So nami...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started