Skip to main content

3SLS — Three-Stage Least Squares

3SLS (Three-Stage Least Squares) estimates a system of simultaneous equations where endogenous variables appear in multiple equations and the errors are correlated across equations. 3SLS combines 2SLS (handling endogeneity) with GLS (exploiting cross-equation correlation) ⇒ more efficient than equation-by-equation 2SLS.

When to use

Use 3SLS when the model is a system of structural equations with endogeneity (e.g. supply–demand, macro systems) and the equation errors are correlated. For a single equation ⇒ use 2SLS.


Three stages


Running in EcoLab

  1. Modeling module → IV & simultaneous equations family → 3SLS.
  2. Declare the system equations, endogenous variables and shared instruments.
  3. Run; read system-wide coefficients; compare with equation-by-equation 2SLS; export the replication code.

Replication code

* ── 3SLS: supply–demand system ────────────────────
* Demand equation: q depends on p and income
* Supply equation: q depends on p and cost
reg3 (demand: q p income) (supply: q p cost), 3sls

* View system-wide results
estimates table

Limitations

  • Misspecification in one equation can propagate across the system (less robust than single-equation estimation).
  • Requires full identification for every equation.

Video tutorial

Video Tutorial: Guide to running 3SLS in EcoLab

See also