Question: Using R programming language 1. Use the training set to fit ridge regression models and generate a plot showing the values of the coefficients in

Using R programming language

1. Use the training set to fit ridge regression models and generate a plot showing the values of the coefficients in relation to the parameter

2. Perform 10-fold cross-validation on the training set to determine the optimal value for for the ridge regression model. Report train and test error measured in MSE for this .

download the dataset prostate.rdata : https://www.dropbox.com/s/cbqg54u2eb17e9n/prostate.Rdata?dl=0

for 1 I didn't know which column should I use so I\m not sure how to do the question.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!