A high R² does not guarantee a good model when residual patterns remain.
An R² of 0.90 in a housing-price regression can look impressive. Yet if the residuals trace a curve or a few observations pull the fitted line, one number is not enough to trust the model.
Regression diagnostics ask whether linearity, constant variance, residual distribution, and influential observations are reasonably consistent with the model.
Key question
How can we examine both what the model explained and the structure it left behind?
What does R² tell us?
Coefficient of determination
R² = 1 − SSE/SST
| Value | Interpretation |
|---|---|
| R² = 0 | similar error to a mean-only model |
| R² = 0.60 | 60% of the outcome variation is explained within the sample |
| R² = 1 | every observed value is fitted perfectly in the sample |
Caution
R² does not guarantee causality, accurate coefficients, or strong prediction on new data.
What R² measures
SSE / SSTHow much of the spread around the mean the model removed.
Residuals with no shape
healthyScattered evenly above and below zero is what you want to see.
Residuals with a curve
warningA curve means the straight-line form missed part of the relationship.
What do residuals reveal?
One home
If the actual price is $520,000 and the predicted price is $500,000, the residual is +$20,000. A positive residual means the model underpredicted the actual value.
Which diagnostic plots should we inspect?
| Diagnostic | What it checks |
|---|---|
| Residuals vs. fitted | nonlinearity and heteroskedasticity |
| Q–Q plot | severe departures from residual normality |
| Cook’s distance | observations that strongly change the fitted coefficients |
| Standardized residuals | potential outliers |
| Residual order plot or ACF | autocorrelation |
Do not diagnose a model from one plot alone. Combine graphs, statistics, and subject-matter context.
Can a high R² still be misleading?
A straight line fitted to a curved relationship may retain obvious curvature in the residuals despite a high R². Two unrelated time series that trend upward together can also produce a misleadingly high R².
Adjusted R²
R² almost always rises when predictors are added. Adjusted R² penalizes model size, but it does not replace residual diagnostics.
Change curvature, outliers, and noise
First increase noise and observe R². Then add curvature and an outlier and compare how the residual plot changes.
R²
0.939
RMSE
3.54
What to watch
Models with similar R² values can have completely different residual patterns. Inspect explained variation and leftover structure separately.