Code for Resampling Methods:
Applied Exercises:
chap_5_prob_5.R
(The test error of logistic regression using a validation set)
chap_5_prob_6.R
(Estimating the probability of
default
using
income
and
balance
)
chap_5_prob_7.R
(Implementing leave-one-out-cross-validation (LOOCV))
chap_5_prob_8.R
(Cross-validation on a simulated data set)
chap_5_prob_9.R
(Using the bootstrap on the
Boston
data set)
John Weatherwax