QUANTITATIVE ANALYSIS · BEGINNER GUIDE
R-Squared vs Adjusted R-Squared: A Worked Example
See why ordinary R-squared rises when predictors are added and how adjusted R-squared applies a complexity penalty.
Quick answer: R-squared is the sample outcome variation explained by a fitted linear model relative to a mean-only model. Adjusted R-squared penalizes for the number of predictors and sample size; neither replaces out-of-sample validation.
What this method answers
Adding predictors cannot lower ordinary R² in least squares on the same data, even if a new predictor is noise. Adjusted R² can fall when the fit gain does not offset its complexity penalty.
Use adjusted R² as a descriptive comparison for models fit to the same outcome and observations. Use cross-validation or a held-out sample for predictive performance.
Before running a calculation, write down the population and the exact quantity you want to estimate. A method name alone does not define the question, the comparison or the assumptions.
Steps to follow
- Fit candidate models on the same observations and outcome.
- Report R² and adjusted R² with model specifications.
- Check whether added predictors have meaning and exist at prediction time.
- Compare out-of-sample errors before selecting a predictive model.
Keep a record of exclusions, recoding decisions and software settings. That makes the analysis easier to check and repeat.
Worked example
A model predicts house price from floor area. A second also adds a random record number.
| Model | Predictors | R² | Adjusted R² |
|---|---|---|---|
| A | Floor area | 0.62 | 0.61 |
| B | Area + random ID | 0.63 | 0.60 |
R² rises from 0.62 to 0.63 after adding the random ID, while adjusted R² falls from 0.61 to 0.60 in this illustrative fit. The extra column slightly improves in-sample fit but not enough for its penalty.
Interpret the result carefully
The R² gain is not evidence that the identifier predicts new homes. Check feature meaning and validate on independent data.
Limit to keep in mind: Adjusted R² does not fix leakage, poor sampling, nonlinear misspecification or causal overclaiming. Values across outcomes or datasets are not directly comparable.
When reporting an analysis, include the sample size, estimate, units and uncertainty. Explain why the method fits the sampling and measurement design. Separate planned tests from exploratory checks, and avoid saying that association proves a cause.
Frequently asked questions
Can adjusted R² go down?
Yes. It can fall if a predictor adds too little fit for its complexity.
Does high R² mean accurate predictions?
Not necessarily; it summarizes in-sample fit.
Can I compare R² across different outcomes?
Usually not meaningfully without a common scale and purpose.
Is adjusted R² a test-set metric?
No. It uses the fitted sample; validation is needed for generalization.