question archive The Boston dataset in the MASS package describes housing information for 506 dierent suburbs of Boston
Subject:StatisticsPrice: Bought3
The Boston dataset in the MASS package describes housing information for 506 dierent suburbs of Boston. We are interested in using these data to predict whether or not a new suburb is above or below the median per capita crime rate.
To view the descriptions of the varibles, run ?Boston after loading the dataset to open the docu-mentation page that will appear in the Help pane.
For example, the documentation page indicates that the variable crim is the per capita crime rate by town.
Using a validation approach, investigate which of the following models is the best predictive model:
- Model 1: a single-predictor model with medv
- Model 2: all variables except zn, indus, and nox
- Model 3: all variables except lstat, rm, and chas
- Model 4: all variables
- Model 5: all variables, including an interaction term between chas and lstat and an inter-action term between chas and rad