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 Gluc BloodPressure SkinThickness Insulin BMI DiabetesPedigree Age BMIGluc BMI BMIInsulin Insulin
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
