Corrections to compulsory assignment 1
In 2a: n u c l e a r $ c o s t should have been n u c l e a r $ c o s t[-ind]
In exercise 1g, you can use the command stepAIC (as given in the R-script)
In exercise 1h, the two different methods relate to forward and backward selection.
In 2b): the right output from cv.lm should have been cv.lm(fit ,k=10)$MSE_sqrt$mean. However, if you have used the output given in the exercise, we will also accept this.
Published Feb. 9, 2021 1:14 PM
- Last modified Feb. 15, 2021 11:19 AM