

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


2 December Adjusted R^2 Can help us choose the ābestā model As we add predictors to a model, the R^2 for the model will increase regardless of whether the added predictor is useful. Cannot compare useful R^2 ās if # of predictors is different R^2 adj was developed to allow such a comparison. It adds a penalty term for each additional predictor used. R^2 adj = 1 ā [
n = sample size k is number of predictors In theory, we choose the model with the highest R^2 adj In practice, we find a group of models with similar R^2 adj and choose the simplest (the one with the fewest predictors) Interaction Sometimes the change in Y associated with a 1-unit increase in one explanatory variable depends on the value of a second explanatory variable Change in Y associated with X 1 X 2 , an interaction If X 1 and X 2 interact, our model is Y = β 0 + β 1 x 1 + β 2 x 2 + β 3 x 1 x 2 + ε If you have an interaction between X 1 and X 2 , you should include X 1 and X 2 terms by themselves as well. Sometimes we want to include higher order terms as well. The ācomplete second order modelā is Y = β 0 + β 1 x 1 + β 2 x 2 + β 3 x 1 x 2 + β 4 x 12 + β 5 x 22 + ε
Can have interactions between more than 2 terms Would have to include all ālower orderā interactions in the model as well e.g. Y = β 0 + β 1 x 1 + β 2 x 2 + β 3 x 3 + β 4 x 1 x 2 + β 5 x 1 x 3 + β 6 x 2 x 3 + β 7 x 1 x 2 x 3 + ε Generally, 2 term interactions are commonly used, while higher order interactions are uncommon.