VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Mathematics? | Adjusted R-Squared: Fit per Degree of Freedom

Why is mathematics important when a regression model can improve its ordinary R-squared simply by adding predictors? Adjusted R-squared compares residual variation per remaining degree of freedom with total variation per total degree of freedom. It rewards a new term only when the reduction in residual error is large enough to offset the loss of freedom.

This makes adjusted R-squared useful for comparing candidate ordinary least-squares models fitted to the same response observations. It is still an in-sample criterion, not a guarantee of future prediction or a proof of causation.

Did You Know? Adjusted R-squared can fall when ordinary R-squared rises. The new predictor improved training fit, but not enough to justify its complexity under this criterion.

Full chapter index

Chapters 1–4 · Understand the question
  1. The always-rising R-squared problem
  2. The authoritative formula
  3. A worked example
  4. Why degrees of freedom matter
Chapters 5–9 · Reproduce the example
  1. The MSE connection
  2. Compare only like with like
  3. What p counts
  4. Why a negative value is possible
  5. Compare with ordinary R-squared
Chapters 10–15 · Check assumptions
  1. Compare with PRESS
  2. Compare with AIC and BIC
  3. Nested and non-nested candidates
  4. Interactions and hierarchy
  5. Collinearity and instability
  6. Residual diagnostics remain essential
Chapters 16–20 · Explore applications
  1. A spreadsheet workflow
  2. A coding workflow
  3. Applications and careers
  4. A student investigation
  5. Common misconceptions
Chapters 21–26 · Study and verify
  1. A two-model comparison
  2. Connection to recent mathematics articles
  3. Guidance for students and parents
  4. Practice questions
  5. Frequently asked questions
  6. Useful next reading

CHAPTER 1 OF 26 · Understand the question

1. The always-rising R-squared problem

Back to contents

In ordinary least squares with an intercept, adding a predictor cannot increase residual sum of squares. Ordinary R-squared therefore rises or stays unchanged even when the new term contributes little beyond sample noise.

Contents · Next chapter

CHAPTER 2 OF 26 · Understand the question

2. The authoritative formula

Back to contents

Penn State gives adjusted R-squared as 1-[(n-1)/(n-p)](1-R-squared), where p counts fitted parameters under its notation. The same expression compares mean residual error with total mean-square variation. Read Penn State STAT 501.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 26 · Understand the question

3. A worked example

Back to contents

Let n=50, p=4 including the intercept, and ordinary R-squared=0.70. Then adjusted R-squared=1-(49/46)(0.30)=1-0.319565=0.680435, or about 0.680.

np including interceptR-squared
5040.7
Adjusted R-squared inputs.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 26 · Understand the question

4. Why degrees of freedom matter

Back to contents

The residual denominator n-p shrinks when parameters are added. A more flexible model must reduce SSE enough to overcome that smaller denominator; otherwise residual mean square rises and adjusted R-squared falls.

MultiplierAdjusted R-squared
49/460.68
Adjusted R-squared result.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 26 · Reproduce the example

5. The MSE connection

Back to contents

Penn State shows adjusted R-squared equals 1-[(n-1)/SSTO]MSE. On the same response data, maximising adjusted R-squared is therefore equivalent to minimising the model's residual mean square.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 26 · Reproduce the example

6. Compare only like with like

Back to contents

Candidate models must use the same response values and observations. Changing missing-data rows, transformations or weights changes SSTO and the reference problem, so the numbers no longer support a simple ranking.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 26 · Reproduce the example

7. What p counts

Back to contents

Count estimated coefficients according to the fitted design matrix, usually including the intercept in the n-p denominator. A categorical variable, spline or interaction can consume several parameters.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 26 · Reproduce the example

8. Why a negative value is possible

Back to contents

Adjusted R-squared can be negative when the fitted model's degree-of-freedom-adjusted error exceeds the total variance benchmark. Negative does not mean impossible; it means weak in-sample performance under this comparison.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 26 · Reproduce the example

9. Compare with ordinary R-squared

Back to contents

Ordinary R-squared is a descriptive fraction of sample variation accounted for under the model. Adjusted R-squared modifies that fit measure for parameter count; it does not become an out-of-sample score.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 26 · Check assumptions

10. Compare with PRESS

Back to contents

PRESS evaluates leave-one-out prediction errors, whereas adjusted R-squared uses training residual mean square. A model can rank well on one and poorly on the other, especially with influential observations or overfitting.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 26 · Check assumptions

11. Compare with AIC and BIC

Back to contents

AIC and BIC penalise maximised likelihood, not R-squared directly. Their penalties and theoretical aims differ, so agreement is reassuring but disagreement is a reason to inspect assumptions and purpose.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 26 · Check assumptions

12. Nested and non-nested candidates

Back to contents

Adjusted R-squared can compare models with different term sets on the same data. It does not provide a hypothesis test, confidence level or automatic rule for accepting one model.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 26 · Check assumptions

13. Interactions and hierarchy

Back to contents

Do not drop required main effects merely because adjusted R-squared rises. Preserve scientifically sensible hierarchy and pre-specified controls before using the score to compare optional terms.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 26 · Check assumptions

14. Collinearity and instability

Back to contents

A high adjusted R-squared can coexist with unstable individual coefficients. Inspect VIFs, condition indices and coefficient uncertainty when explanation matters.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 26 · Check assumptions

15. Residual diagnostics remain essential

Back to contents

NIST warns that a high R-squared does not guarantee a good model. Check residual shape, variance, independence, unusual cases and functional form. Read the NIST model-validation guidance.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 26 · Explore applications

16. A spreadsheet workflow

Back to contents

Record n, p, R-squared, n-p, the penalty multiplier and adjusted R-squared in labelled cells. Recompute from SSE, SSTO and MSE as an independent check.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 26 · Explore applications

17. A coding workflow

Back to contents

Use software that states its intercept and uncentred-model conventions. Preserve the same analysis rows across candidates and return R-squared, adjusted R-squared, SSE, MSE and parameter count together.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 26 · Explore applications

18. Applications and careers

Back to contents

Adjusted R-squared appears in engineering models, economics, environmental studies, education research and explanatory analytics. The transferable skill is judging whether extra structure earns its place.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 26 · Explore applications

19. A student investigation

Back to contents

Fit one-, two- and three-predictor models to the same dataset. Track ordinary and adjusted R-squared, then explain exactly why the rankings diverge.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 26 · Explore applications

20. Common misconceptions

Back to contents

Adjusted R-squared is not a probability, a causal score or a validation-set result. The highest value does not prove the model is true, fair, stable or useful outside the sample.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 26 · Study and verify

21. A two-model comparison

Back to contents

Suppose a three-parameter model has R-squared 0.695 and a four-parameter model has R-squared 0.700 on the same 50 observations. Recalculate both adjusted values rather than choosing the second model from ordinary R-squared alone. Then inspect which term was added, its uncertainty, the residual pattern and PRESS. The arithmetic disciplines the comparison, while the surrounding evidence determines whether the extra term improves the model for its real purpose.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 26 · Study and verify

22. Connection to recent mathematics articles

Back to contents

The Mallows Cp guide gives another complexity-adjusted criterion. The PRESS guide adds leave-one-out prediction.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 26 · Study and verify

23. Guidance for students and parents

Back to contents

Students should state n and the exact parameter count before calculating. Parents can ask whether candidate models used the same rows and whether predictive validation agrees with the in-sample score.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 26 · Study and verify

24. Practice questions

Back to contents

  • Recalculate for R-squared=0.72.
  • Explain why adding a predictor can lower adjusted R-squared.
  • Describe why changing missing-data rows invalidates a direct comparison.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 26 · Study and verify

25. Frequently asked questions

Back to contents

### Can adjusted R-squared exceed ordinary R-squared? With the usual intercept formula it is no greater.

### Can it be negative? Yes.

### Does the largest value choose the final model? No. It identifies a candidate for further checks.

Contents · Previous chapter · Next chapter

CHAPTER 26 OF 26 · Study and verify

26. Useful next reading

Back to contents

Use the Mathematics Learning Hub to connect degrees of freedom, variance and model comparison. Build a candidate table with R-squared, adjusted R-squared, PRESS and parameter count.

Contents · Previous chapter · Mathematics Learning Hub

Extended practice laboratory

Practice case 1: Record n

Setup: Start from the article’s adjusted-R-squared worked example for practice case 1. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 2: Count intercept

Setup: Start from the article’s adjusted-R-squared worked example for practice case 2. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 3: Count slope parameters

Setup: Start from the article’s adjusted-R-squared worked example for practice case 3. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 4: Calculate n minus p

Setup: Start from the article’s adjusted-R-squared worked example for practice case 4. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 5: Record ordinary R squared

Setup: Start from the article’s adjusted-R-squared worked example for practice case 5. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 6: Calculate one minus R squared

Setup: Start from the article’s adjusted-R-squared worked example for practice case 6. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 7: Form penalty multiplier

Setup: Start from the article’s adjusted-R-squared worked example for practice case 7. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 8: Calculate adjusted R squared

Setup: Start from the article’s adjusted-R-squared worked example for practice case 8. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 9: Increase R squared

Setup: Start from the article’s adjusted-R-squared worked example for practice case 9. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 10: Add one predictor

Setup: Start from the article’s adjusted-R-squared worked example for practice case 10. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 11: Add a useless predictor

Setup: Start from the article’s adjusted-R-squared worked example for practice case 11. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 12: Improve SSE enough

Setup: Start from the article’s adjusted-R-squared worked example for practice case 12. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 13: Calculate from SSE

Setup: Start from the article’s adjusted-R-squared worked example for practice case 13. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 14: Calculate from SSTO

Setup: Start from the article’s adjusted-R-squared worked example for practice case 14. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 15: Calculate MSE

Setup: Start from the article’s adjusted-R-squared worked example for practice case 15. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 16: Verify MSE equivalence

Setup: Start from the article’s adjusted-R-squared worked example for practice case 16. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 17: Create a negative value

Setup: Start from the article’s adjusted-R-squared worked example for practice case 17. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 18: Compare same rows

Setup: Start from the article’s adjusted-R-squared worked example for practice case 18. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 19: Change missing-data rows

Setup: Start from the article’s adjusted-R-squared worked example for practice case 19. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 20: Compare PRESS

Setup: Start from the article’s adjusted-R-squared worked example for practice case 20. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 21: Compare Mallows Cp

Setup: Start from the article’s adjusted-R-squared worked example for practice case 21. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 22: Inspect VIF

Setup: Start from the article’s adjusted-R-squared worked example for practice case 22. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 23: Inspect residuals

Setup: Start from the article’s adjusted-R-squared worked example for practice case 23. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 24: Reject causal claim

Setup: Start from the article’s adjusted-R-squared worked example for practice case 24. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.

Practice case 25: Write a model-comparison conclusion

Setup: Start from the article’s adjusted-R-squared worked example for practice case 25. Task: Change the named input, recompute all dependent quantities and compare the result with the original.

Check: Check the defining identity, state the data and model conditions, and name one diagnostic or validation step needed before a decision. Show the arithmetic, name the response and predictor units, and separate the numerical result from the claim it supports. Then vary one defensible assumption, calculate again and explain whether the conclusion changed because of the data, the fitted model or the validation purpose. Finish with one compact table or graph that could reveal a failure hidden by the summary.