Question: 9. Using the state data of Exercise 8, perform criterionbased variable selection with each of the criteria Cp, adjusted R2, and BIC. (Hint. Invoke the
9. Using the “state” data of Exercise 8, perform criterionbased variable selection with each of the criteria Cp, adjusted R2, and BIC. (Hint. Invoke the command library(leaps), create the outcome object vs.out as in
(12.4.14) (use the abbreviated lm statement given in part
(a) of Exercise 8), and then use (12.4.15) and (12.4.16) to create plots like that in Figure 12-10 in order to select the best model.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
