Interactive modelEconometricsintermediate

Linear Regression & OLS

Simple and multiple regression: fitting lines, reading coefficients, and R².

The Linear Regression & OLS model, in writing

Definition

Fitting a line (or hyperplane) by minimizing squared residuals: coefficients read as the change in y per unit x, holding other included variables constant.

β̂ = (X′X)⁻¹X′y; simple case: β̂₁ = cov(x,y)/var(x)

The intuition

OLS answers 'what's the average relationship?', which is only causal if x is uncorrelated with everything omitted. R² measures fit, not truth; a coefficient's meaning changes with every control you add or drop.

Exam tip

Interpret coefficients in units, with ceteris paribus stated, and never confuse statistical significance with size or causality.

Linear Regression & OLS · interactive economics model · Graphl