Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this exercise, we will predict the number of applications received using the other variables in the College data set. (a) Split the data set

image text in transcribed
In this exercise, we will predict the number of applications received using the other variables in the College data set. (a) Split the data set into a training set and a test set. (b) Fit a linear model using least squares on the training set. and report the test error obtained. (c) Fit a ridge regression model on the training set, with A chosen by cross-validation. Report the test error obtained. (d) Fit a lasso model on the training set, with A chosen by cross- validation. Report the test error obtained, along with the num- ber of non-zero coefficient estimates. (e) Fit a PCR model on the training set, with A/ chosen by cross- validation. Report the test error obtained, along with the value of A selected by cross-validation. ([) Fit a. PLS model on the training set, with A/ chosen by cross- validation. Report the test error obtained, along with the value of M selected by cross-validation. (g) Comment on the results obtained. How accurately can we pre- dict the number of college applications received? Is there much difference among the test errors resulting from these five ap- proaches

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pell And Pell–Lucas Numbers With Applications

Authors: Thomas Koshy

1st Edition

1461484898, 9781461484899

More Books

Students also viewed these Mathematics questions

Question

Windows Vista was released after Windows 1 0 . A . True B . False

Answered: 1 week ago