Endogeneity and Instruments
Endogeneity and Instruments
2 3
4 5
1
6/19/2024
Structural equation 𝟎 + 𝜷
𝟏 𝒀𝟏 + 𝜽
𝒊 𝑿𝒋 + 𝒖
IV estimation – instrument variable estimation or 2SLS – Two stages least 𝒀= 𝜷
square) 𝒏
6 7
IVs requirement
A regressor can be correlated with the error term when:
• Omitted variables
• Selection bias • Z has a causal effect on Y1
• Measurement error IVs • Z affects Y only through Y1 (Z does not have a direct effect on Y)
• Simultaneous equations
• There is no confounding for the effect of Z on Y.
• Misspecification
• Correlated shocks across linked equations
• Model has a lagged dependent variable and a serially correlated error term
8 9
2
6/19/2024
10 11
Diagnostic tests
• Ommited variable:
log(wage) = β0 + β1educ + β2exper + β3exper2 + u1
regress lwage educ exper expersq
1. Test of endogeneity
2. Test of overidentifying restrictions
• Employ motheduc and fatheduc as instruments 3. Test of weak identification
Detecting weak instruments
• Reduce form equation for educ – first stage: 4. Test of underidentification
Educ = b0 + b1exper + b2exper2 + b1motherduc + b1fatherduc + v1
• Second stage (replace educ with edu* and v1)
log(wage) = β0 + β1educ* + β2exper + β3exper2 + u1 + β1v1
ivregress 2sls lwage exper expersq (educ = motheduc fatheduc), first
ivreg2 lwage exper expersq (educ = motheduc fatheduc), first
12 13
3
6/19/2024
ivregress 2sls lwage exper expersq (educ = fatheduc), first → No overidentifying restrictions
estat overid → The model is just identified
14 15
16 17
4
6/19/2024
Test of underidentification
Vu Huu Thanh 18
18