R exercise

Lasso Regression

Sign in to hand in your solution and get feedback.

cv.out <- ... bestlam <- ... lasso.mod <- ... lasso.pred <- ... lasso.mse <- ...