# What does it mean when I add a new variable to my linear model and the R^2 stays the same?

I'm inclined to think that the new variable is not correlated to the response. But could the new variable be correlated to another variable in the model?

• It depends, could you provide us with some reduced data lines or output from your linear models. Without more information it's hard to assist you Mar 7, 2019 at 19:54
• It shouldn't stay exactly the same unless it is perfectly orthogonal to your response, or is a linear combination of the variables already included. It may be that the change is smaller than the number of decimal places displayed. Mar 7, 2019 at 20:02
• @gung What you can infer is that the new variable is orthogonal to the response modulo the subspace generated by the other variables. That's more general than the two options you mention.
– whuber
Mar 7, 2019 at 20:12
• @whuber, yes, I suppose so. Mar 7, 2019 at 20:17
• Test your variables for multicollinearity en.wikipedia.org/wiki/Multicollinearity probably some features are linearly connected. Use caret package and vif() in R sthda.com/english/articles/39-regression-model-diagnostics/… Mar 7, 2019 at 22:33

Seeing little to no change in $$R^2$$ when you add a variable to a linear model means that the variable has little to no additional explanatory power to the response over what is already in your model. As you note, this can be either because it tells you almost nothing about the response or it explains the same variation in the response as the variables already in the model.
As others have alluded, seeing no change in $$R^2$$ when you add a variable to your regression is unusual. In finite samples, this should only happen when your new variable is a linear combination of variables already present. In this case, most standard regression routines simply exclude that variable from the regression, and your $$R^2$$ will remain unchanged because the model was effectively unchanged.
More broadly however, I (and many here at Cross Validated) would caution against using R^2 for model selection and interpretation. What I've discussed above is how the $$R^2$$ could not change and the variable still be important. Worse yet, the $$R^2$$ could change somewhat (or even dramatically) when you include an irrelevant variable. Broadly, using $$R^2$$ for model selection fell out of favor in the 70s, when it was dropped in favor of AIC (and its contemporaries). Today -- a typical statistician would recommend using cross validation (see the site name) for your model selection.
In general, adding a variable increases $$R^2$$ -- so using $$R^2$$ to determine a variables importance is a bit of a wild goose chase. Even when trying to understand simple situations you will end up with a completely absurd collection of variables.
• Could you elaborate on the $R^2$ could change somewhat (or even dramatically) when you include an irrelevant variable, specifically on the case of a dramatical change? In which sense would the variable then be irrelevant? Mar 7, 2019 at 21:38