How R-squared and adjusted R-squared differ, and why adjusted R-squared is better for comparing models

Quick Overview

Asks how R-squared and adjusted R-squared differ and why the adjusted version is preferred when comparing regression models of different sizes. Tests understanding of goodness of fit, degrees-of-freedom penalties, and the limits of in-sample metrics for judging generalization.

How R-squared and adjusted R-squared differ, and why adjusted R-squared is better for comparing models

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Explain the difference between R-squared and Adjusted R-squared, and why Adjusted R-squared is a better metric for model comparison. ```hint Add a useless column Think about what happens to the residual sum of squares of an OLS fit when you add one more predictor, even a column of random noise. ``` ### What a Strong Answer Covers - Defines R-squared and explains why it cannot fall when predictors are added. - Gives the adjusted R-squared formula and explains the degrees-of-freedom penalty. - Says when adjusted R-squared rises or falls after a predictor is added. - Notes that both are in-sample measures and names better tools for judging generalization. ### Follow-up Questions - Adding a predictor raises adjusted R-squared. What does that tell you about the predictor's t-statistic? - Can R-squared be negative? When? - How do AIC and BIC compare with adjusted R-squared as model selection criteria? - Can you compare R-squared between a model of y and a model of log(y)?

Overview: Asks how R-squared and adjusted R-squared differ and why the adjusted version is preferred when comparing regression models of different sizes. Tests understanding of goodness of fit, degrees-of-freedom penalties, and the limits of in-sample metrics for judging generalization.

PracHub logo
General
Nov 25, 2026
easyData ScientistOtherMachine Learning
0
0

Explain the difference between R-squared and Adjusted R-squared, and why Adjusted R-squared is a better metric for model comparison.

What a Strong Answer Covers Guidance

  • Defines R-squared and explains why it cannot fall when predictors are added.
  • Gives the adjusted R-squared formula and explains the degrees-of-freedom penalty.
  • Says when adjusted R-squared rises or falls after a predictor is added.
  • Notes that both are in-sample measures and names better tools for judging generalization.

Follow-up Questions Guidance

  • Adding a predictor raises adjusted R-squared. What does that tell you about the predictor's t-statistic?
  • Can R-squared be negative? When?
  • How do AIC and BIC compare with adjusted R-squared as model selection criteria?
  • Can you compare R-squared between a model of y and a model of log(y)?