Question 4: Full Model Search – 9 points For this question,…
Question 4: Full Model Search – 9 points For this question, use the unstandardized data (trainData). i. How many models can be constructed using subsets drawn from the full set of variables? (2 points) ii. Compare all possible models using Mallow’s Cp. Display the variables included in the best model and the corresponding Mallow’s Cp value. (2 points) iii. Use the selected variables from Q4aii to fit another multiple linear regression model, call it best_model. Display the model summary. (2 points) b. Compare the models (model1, model2, forward_model, best_model, both_model) using Adjusted R^2 and AIC. Which model is preferred based on this? (3 points)
Read Details