Judge how much of the variation in the explained variable a multiple regression captures, using ANOVA output and goodness-of-fit statistics
The idea
The ANOVA table splits the total sum of squares (SST) into the part the regression explains, the regression sum of squares (RSS, the explained part in CFA notation, not the residual part), and the residual part, the sum of squared errors (SSE). R² is RSS ÷ SST, but it never falls when a variable is added, so it flatters bigger models. Adjusted R² = 1 − [(n − 1) ÷ (n − k − 1)] × (1 − R²) penalises extra variables and can fall. The overall F-statistic is (RSS ÷ k) ÷ [SSE ÷ (n − k − 1)] and tests whether all slopes are zero together. To compare models, use the Akaike criterion for forecasting or the Schwarz Bayesian criterion for fit; lower is better. The usual slip is using n − k instead of n − k − 1.
Formulas
Adjusted R²
adjusted R² = 1 − [(n − 1) ÷ (n − k − 1)] × (1 − R²)
- R²
- the share of variation explained, RSS ÷ SST
- n
- the number of observations
- k
- the number of explanatory variables
- adjusted R²
- R² corrected for the number of variables used
Adding a variable never lowers R², but it can lower adjusted R². Use adjusted R² to compare models with different numbers of variables.
Overall F-statistic
F = (RSS ÷ k) ÷ [SSE ÷ (n − k − 1)]
- RSS
- the regression sum of squares, the explained variation
- SSE
- the sum of squared errors, the unexplained variation
- k
- the number of explanatory variables
- n
- the number of observations
Tests whether at least one slope differs from zero. Compare with the F critical value for k and n − k − 1 degrees of freedom.
AIC and BIC
AIC = n ln(SSE ÷ n) + 2(k + 1); BIC = n ln(SSE ÷ n) + ln(n)(k + 1)
- n
- the number of observations
- SSE
- the sum of squared errors
- k
- the number of explanatory variables
- AIC, BIC
- the two information criteria; lower is better
AIC suits a model built to forecast, BIC one built to describe fit, because BIC penalises extra variables more.
In the app: 4 practice questions on this outcome, a narrated walkthrough with diagrams, spaced review that brings it back before you forget it.
Take the free diagnostic →More in Evaluating Regression Model Fit and Interpreting Model Results
- Set up tests of whether a multiple regression's coefficients, taken two or more at a time, are jointly significant and explain what the outcome of such joint tests tells you
- Work out a forecast of the dependent variable from a fitted regression and given values of the explanatory variable, and explain what it means