KatInterview

Does Training R² Drop When You Add a Noise Predictor?

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsr-squaredlinear-regressionols

Last updated

Decide whether the in-sample R² of an OLS fit can rise, stay flat, or fall when an irrelevant predictor is added, and how adjusted R² and held-out R² differ.

You have fitted an ordinary least-squares (OLS) linear regression on a fixed training set. You now add one more column to the design matrix: a feature that is pure noise, for example values drawn at random and unrelated to the target.

Refit the model by OLS on exactly the same training rows.

  1. Can the training R² go up, stay the same, or go down? Justify your answer with a short argument.
  2. State the assumptions your argument relies on (what is held fixed, what is being minimized, whether an intercept is included).
  3. Explain how the answer differs for adjusted R² and for R² measured on held-out data.
  4. Mention situations where the simple claim does not apply.

Hints

Hint 1

Think of the old model as a special case of the new one. Which coefficient value on the new column reproduces the old predictions exactly?

Hint 2

OLS picks the coefficients that minimize the residual sum of squares. What can you say about the minimum over a larger set of candidates versus a smaller one?

Hint 3

R² = 1 - RSS/TSS, and TSS depends only on the target, not on the features. Then compare adjusted R², which penalizes the number of parameters, and think about what changes when you evaluate on new data.