Lecture 18
Duke University
STA 199 - Fall 2024
November 5, 2024
Go to your ae
project in RStudio.
Make sure all of your changes up to this point are committed and pushed, i.e., there’s nothing left in your Git pane.
If you missed class last Thursday, pull to get today’s application exercise file: ae-15-modeling-loans.qmd.
Make sure you’ve completed the “Get to know the data” section of your AE.
\(R^2\):
Proportion of variability in the outcome explained by the model.
Useful for quantifying the fit of a given model.
Adjusted \(R^2\):
Proportion of variability in the outcome explained by the model, with a penalty added for the number of predictors in the model.
Useful for comparing models.
Go to your ae project in RStudio.
Get back to working on ae-15-modeling-loans
Goals:
Review prediction and interpretation of model results
Review main and interaction effects models
Discuss model selection further
What is the practical difference between a model with parallel and non-parallel lines?
What is the definition of R-squared?
Why do we choose models based on adjusted R-squared and not R-squared?