\(Y = \beta_0 + \beta_1X_1 + \beta_2X_2 + \beta_3X_3 + \varepsilon\)
where \(X_1\) is an endogenous variable.
- First-stage: \(\hat{X_1} = \gamma_0 + \gamma_1Z_1 + \gamma_2X_2 + \gamma_3X_3 + v\)
where \(Z_1\) is the instrumental variable.
- Second-stage: \(Y = \beta_0 + \beta_1\hat{X_1} + \beta_2X_2 + \beta_3X_3 + v\)
where \(v\) is a composite error term that is uncorrelated with \(\hat{X_1},\hspace{0.2 cm} X_2 \hspace{0.2 cm}and \hspace{0.2 cm}X_3\)