Assignment 1 · individual · R
Regularisation and model selection
- Q1. On the ISLR Hitters data, trace ridge coefficients over 100 values of λ, explain why the ℓ₂-norm plot cannot choose λ, select λ by 10-fold cross-validation on a 131-player training split, report test error, then repeat with the lasso.
- Q2. For AR(p) models, derive the least-squares estimator, compare three information criteria on simulated AR(5) and AR(2) data, run 1,000-replicate Monte Carlo studies at n = 100 and n = 15, and derive the probability of overfitting.