Skip to content
Probability, Statistics and Financial Data / Linear Regression and Analysis of Variance

The ANOVA F-Test and R²

The tt-test of the previous lesson answers "is β1\beta_1 significantly different from zero?" one coefficient at a time. This note repackages the same question in a form that survives the jump to many predictors: split the total variation in yy into a piece the regression explains and a piece it leaves over, and compare their sizes with an FF-statistic. For simple regression this is provably the identical test as the tt-test — a useful consistency check — but the sum-of-squares decomposition it is built from, SST=SSR+SSE\mathrm{SST}=\mathrm{SSR}+\mathrm{SSE}, is exactly Theorem 2's projection picture read as a Pythagorean theorem, and it is this form of the argument — not the tt-test — that generalises cleanly to testing several predictors at once in Multiple Linear Regression. Along the way this note builds R2R^2, the single most quoted (and most misquoted) number in applied regression, and its adjusted cousin.
Learning objectives. By the end of this note you should be able to:
  • derive the sum-of-squares decomposition SST=SSR+SSE\mathrm{SST}=\mathrm{SSR}+\mathrm{SSE} from the orthogonal-projection geometry of Lesson 1;
  • construct the ANOVA FF-statistic for H0:β1=0H_0:\beta_1=0, state its exact null distribution, and prove it equals the square of the tt-statistic in simple regression;
  • read and build a one-way regression ANOVA table;
  • define R2R^2, prove it equals the squared sample correlation in simple regression, and explain why it can never fall when a predictor is added;
  • state what adjusted R2R^2 corrects for and why it is preferred for comparing models with different numbers of predictors.

In this lesson

  1. The sum-of-squares decomposition
  2. The FF-test
  3. R2R^2: the coefficient of determination

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Probability, Statistics and Financial Data syllabus.