Index: The Book of Statistical Proofs ▷ Statistical Models ▷ Univariate normal data ▷ Multiple linear regression ▷ Frisch-Waugh-Lovell theorem

Theorem: Let $y \in \mathbb{R}^n$ and let $X = [A, \; B]$ have full column rank, with $A \in \mathbb{R}^{n \times p}$ and $B \in \mathbb{R}^{n \times q}$. Write $\hat{a}$ and $\hat{b}$ for the two coefficient vectors obtained by ordinary least squares in the joint regression of $y$ on $A$ and $B$. Define the residuals of the measured signal and the residuals of the columns of $B$ using the residual-forming matrix for $A$,

\[\label{eq:fwl-project} R_A = I_n - A(A^\mathrm{T}A)^{-1}A^\mathrm{T}, \quad \tilde{y} = R_A y, \quad \tilde{B} = R_A B \; .\]

Regressing $\tilde{y}$ on $\tilde{B}$ without adding an intercept gives the same coefficient vector for $B$ and the same residual vector as the joint regression:

\[\label{eq:fwl-result} \hat{b} = (\tilde{B}^\mathrm{T}\tilde{B})^{-1} \tilde{B}^\mathrm{T}\tilde{y}, \quad \tilde{y} - \tilde{B}\hat{b} = y - A\hat{a} - B\hat{b} .\]

If an intercept is among the predictors, its column of ones belongs in $A$ when forming both $\tilde{y}$ and $\tilde{B}$.

Proof: Fix a candidate $b$. Minimizing the residual sum of squares over $a$ amounts to regressing $y-Bb$ on $A$. The minimizing coefficients $a(b)$ and the residual at that minimum are

\[\label{eq:fwl-fixed} a(b) = (A^\mathrm{T}A)^{-1} A^\mathrm{T}(y-Bb) \quad \text{and} \quad y - Aa(b) - Bb = R_A(y-Bb) = \tilde{y} - \tilde{B} b .\]

It follows that minimizing over both coefficient vectors reduces to minimizing $\lvert \tilde{y}-\tilde{B} b \rvert^2$ over $b$. This last regression has a unique solution. Indeed, if $\tilde{B} v=0$, then $Bv$ lies in the column space of $A$, so $Bv=Au$ for some $u$. The full column rank of $[A, \; B]$ forces $u=0$ and $v=0$. Thus, $\tilde{B}$ has full column rank, and its least squares formula gives the first equality in \eqref{eq:fwl-result}. Substituting $b=\hat{b}$ and $a(\hat{b})=\hat{a}$ in \eqref{eq:fwl-fixed} gives the residual equality.

∎
Sources:
  • Frisch, Ragnar and Waugh, Frederick V. (1933): "Partial Time Regressions as Compared with Individual Trends"; in: Econometrica, vol. 1, no. 4, pp. 387-401; DOI: 10.2307/1907330.
  • Lovell, Michael C. (1963): "Seasonal Adjustment of Economic Time Series and Multiple Regression Analysis"; in: Journal of the American Statistical Association, vol. 58, no. 304, pp. 993-1010; DOI: 10.1080/01621459.1963.10480682.
  • Lovell, Michael C. (2008): "A Simple Proof of the FWL Theorem"; in: The Journal of Economic Education, vol. 39, no. 1, pp. 88-91; URL: https://repec.wesleyan.edu/pdf/mlovell/2005012_lovell.pdf; DOI: 10.3200/JECE.39.1.88-91.

Metadata: ID: P573 | shortcut: mlr-fwl | author: theyounganimation-rgb | date: 2026-11-24, 13:11.