1. Regression and Inference

FWL, Selection and Controls

Use residualisation and omitted-variable bias to understand what adjusted comparisons contain

FWL, Selection and Controls

Frisch–Waugh–Lovell reveals the comparison

In

Y=α+τD+Xβ+u,Y=\alpha+\tau D+X'\beta+u,

the coefficient τ^\hat\tau can be obtained in three steps:

  1. regress DD on XX and keep residual D~\tilde D;
  2. regress YY on XX and keep residual Y~\tilde Y;
  3. regress Y~\tilde Y on D~\tilde D.

Thus adjusted OLS uses treatment variation unexplained by the controls. If D~\tilde D is nearly zero for some profiles, the estimate relies on narrow support and numerical extrapolation.

Py

See the FWL comparison

Idle

The adjustment changes which units supply the comparison. It does not verify that XX is sufficient for exchangeability.

Omitted-variable bias has a direction

Suppose the true model is

Y=α+τD+γA+u,Y=\alpha+\tau D+\gamma A+u,

but ability AA is omitted. If the regression of AA on DD has slope δ\delta, the short-regression coefficient is

τ~=τ+γδ.\tilde\tau=\tau+\gamma\delta.

If ability raises earnings by £4,000 per unit and scholarship recipients average 0.5 units higher, omitted ability contributes £2,000 to the raw scholarship difference. This calculation clarifies a plausible bias; it does not establish that ability is the only omission.

Precision variables versus confounders

In a randomised experiment, pre-treatment outcome predictors can reduce standard errors, but randomisation already supplies identification. In an observational design, controls must support an exchangeability argument.

Keep these roles separate:

RoleExampleReason to include
design variablelottery stratumrespect assignment and improve precision
confounderprior resources affecting receipt and completionblock a backdoor path
precision variablebaseline completion predictor unrelated to assignmentreduce residual variance
mediatoradvising caused by offerexclude for total effect
colliderresponse caused by treatment and motivationavoid conditioning

Flexible adjustment still needs design

Interactions, splines or machine learning may represent E[YD,X]E[Y\mid D,X] better. They cannot recover counterfactual outcomes where there is no treatment overlap, and they cannot determine whether XX contains post-treatment variables.

Report:

  • treatment propensity or overlap by important profiles;
  • effective sample after missing controls;
  • whether controls were defined before outcome inspection;
  • sensitivity to plausible unmeasured confounding;
  • a design-based estimate where available.

Quick check

A postcode control improves prediction but nearly determines scholarship receipt. Is more precise adjustment automatically better?

Answer
No. It may expose poor overlap, amplify sensitivity to model form and act as a proxy for unmeasured mechanisms. Inspect residual treatment support and define the target population. Trimming or changing the estimand may be more honest than extrapolating.

Next: Inference and Clustering

Copyright © 2026