Question: a ) Now let us perform a large kitchen sink regression where we use all of our variables to predict diabetes status: reg Outcome Pregnancies

a) Now let us perform a large kitchen sink regression where we use all of our variables to predict diabetes status:
reg Outcome Pregnancies Glucose GlucIns Gluc2 BloodPressure SkinThickness Insulin BMI DiabetesPedigree Age BMIGluc BMI2 BMIInsulin Insulin2
What is the R Squared of this regression?
b) Suppose a colleague is worried that the above model overfits the data. What does that mean in this context?
c) Lets now perform LASSO to mitigate this overfitting risk. Input the following command:

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 Programming Questions!