ANOVA for Regression
Using an ANOVA Table to Assess Overall Regression
The partition behind regression ANOVA
For a model with an intercept, total variation about the sample mean can be partitioned as SST = SSR + SSE. SSR is variation accounted for by the fitted regression relative to the intercept-only baseline; SSE is remaining residual variation. The identity is a bookkeeping relation for the fitted least-squares setup, not a causal decomposition.
Mean squares make the comparison fair
Assuming the intercept and predictor columns are linearly independent, with p predictors and n observations, regression degrees of freedom are p and error degrees of freedom are n − p − 1. Compute MSR = SSR/p and MSE = SSE/(n − p − 1). The overall statistic is F = MSR/MSE.
What the test asks
The usual overall F-test has null hypothesis β1 = … = βp = 0. A small p-value is evidence against that joint null under the model assumptions. It does not say every individual predictor has a nonzero coefficient, prove causation, or certify useful individual prediction.
Worked arithmetic
If SSR is 35 with 4 regression degrees of freedom and SSE is 55 with 11 error degrees of freedom, MSR is 8.75 and MSE is 5, so F is 1.75. Divide each sum of squares by its own degrees of freedom before taking the ratio.
A regression model with an intercept and 3 predictor variables is fitted to 28 observations. The intercept and three predictor columns are linearly independent. What are the regression and error degrees of freedom?
An ANOVA table for a regression reports regression sum of squares 90 with 3 regression degrees of freedom and error sum of squares 72 with 24 error degrees of freedom. What is the F statistic?