Chapter 05 (page 197): 3, 5, 6, 9

3) We now review k-fold cross-validation.

3A) Explain how k-fold cross-validation is implemented.

text text text

3B i) What are the advantages and disadvantages of k-fold crossvalidation relative to the validation set approach?

text text text

3B ii) What are the advantages and disadvantages of k-fold crossvalidation relative to LOOCV?

text text text

5) In Chapter 4, we used logistic regression to predict the probability of default using income and balance on the Default data set. We will now estimate the test error of this logistic regression model using the validation set approach. Do not forget to set a random seed before beginning your analysis.

6)

9)