Professional Documents
Culture Documents
Empirical Strategies
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Potential Outcomes
A binary treatment
�
y1i if Di = 1
potential outcome =
y0i if Di = 0
y1i =outcome for individual i if she receives the “treatment” Di (e.g. a MSc degree);
y0i =outcome for the same individual if she does not receive the treatment
Empirical Strategies
OLS Dif-in-Dif IV RD
Potential Outcomes
A binary treatment
�
y1i if Di = 1
potential outcome =
y0i if Di = 0
y1i =outcome for individual i if she receives the “treatment” Di (e.g. a MSc degree);
y0i =outcome for the same individual if she does not receive the treatment
[y1i − y0i ]
the difference in the potential outcomes with and without the treatment for individual i
Empirical Strategies
OLS Dif-in-Dif IV RD
Potential Outcomes
A binary treatment
�
y1i if Di = 1
potential outcome =
y0i if Di = 0
y1i =outcome for individual i if she receives the “treatment” Di (e.g. a MSc degree);
y0i =outcome for the same individual if she does not receive the treatment
[y1i − y0i ]
the difference in the potential outcomes with and without the treatment for individual i
Empirical Strategies
Treatment Effects
E [y1i |Di = 1] : exp. outcome with the treatment for those who got it (observed)
E [y0i |Di = 1] : ... without the treatment for those who got it (unobserved)
Note that E [yi |Di = 1] = E [y1i |Di = 1] and
E [y1i |Di = 1] − E [y0i |Di = 1] = E [yi 1 − y0i |Di = 1]
Selection Bias
E [y1i |Di = 1] : exp. outcome with the treatment for those who got it (observed)
E [y0i |Di = 1] : ... without the treatment for those who got it (unobserved)
Note that E [yi |Di = 1] = E [y1i |Di = 1] and
E [y1i |Di = 1] − E [y0i |Di = 1] = E [yi 1 − y0i |Di = 1]
E [y1i |Di = 1] : exp. outcome with the treatment for those who got it (observed)
E [y0i |Di = 1] : ... without the treatment for those who got it (unobserved)
Note that E [yi |Di = 1] = E [y1i |Di = 1] and
E [y1i |Di = 1] − E [y0i |Di = 1] = E [yi 1 − y0i |Di = 1]
Selection Bias
E [y1i |Di = 1] : exp. outcome with the treatment for those who got it (observed)
E [y0i |Di = 1] : ... without the treatment for those who got it (unobserved)
Note that E [yi |Di = 1] = E [y1i |Di = 1] and
E [y1i |Di = 1] − E [y0i |Di = 1] = E [yi 1 − y0i |Di = 1]
E [y1i |Di = 1] : exp. outcome with the treatment for those who got it (observed)
E [y0i |Di = 1] : ... without the treatment for those who got it (unobserved)
Note that E [yi |Di = 1] = E [y1i |Di = 1] and
E [y1i |Di = 1] − E [y0i |Di = 1] = E [yi 1 − y0i |Di = 1]
Selection Bias
E [y1i |Di = 1] : exp. outcome with the treatment for those who got it (observed)
E [y0i |Di = 1] : ... without the treatment for those who got it (unobserved)
Note that E [yi |Di = 1] = E [y1i |Di = 1] and
E [y1i |Di = 1] − E [y0i |Di = 1] = E [yi 1 − y0i |Di = 1]
Empirical Strategies
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
Ordinary Least Squares (OLS)
Estimation equation
Estimation equation
Solved as
N
�
arg min [yit − αDit − Xit β]2
α,β
i =1
i.e. the parameter estimates minimize the sum of squared residuals. Hence it
corresponds to expectations
Ordinary Least Squares (OLS)
Estimation equation
Solved as
N
�
arg min [yit − αDit − Xit β]2
α,β
i =1
i.e. the parameter estimates minimize the sum of squared residuals. Hence it
corresponds to expectations
where fy (�|Xi = x) is the conditional density for y . That is, CEF gives the
expectation—the population average—for y given that the vector Xi equals x
!"#" $%&$%''()* +,*-./%*0.1' !"
CEF: an example
#$%&'%()%*#+'#,-./$.0/ &'%( 1$2/ )3($$0'#, ,/#/2*004 /*2# 1$2/5 $# *6/2*,/7 8(/ *6/2*,/ /*2#'#,) ,*'#
*))$3'*%/+ &'%( * 4/*2 $9 )3($$0'#, ') %4.'3*004 *:$;% !< ./23/#%7
=',;2/ >7!7!? @*& +*%* *#+ %(/ AB= $9 *6/2*,/ 0$, &//C04 &*,/) ,'6/# )3($$0'#,7 8(/ )*1.0/ '#30;+/) &('%/
1/# *,/+ D<ED" '# %(/ !"F< GHIJK L ./23/#% M0/7
N# '1.$2%*#% 3$1.0/1/#% %$ %(/ AB= ') %(/ 0*& $9 '%/2*%/+ /O./3%*%'$#)7 8(') 0*& )*4) %(*% *#
Source: Angrist and Pischke (2009). The estimates correspond to OLS
;#3$#+'%'$#*0 /O./3%*%'$# 3*# :/ &2'%%/# *) %(/ .$.;0*%'$# *6/2*,/ $9 %(/ AB=7 G# $%(/2 &$2+)
�
regression log (Wi ) = 20 y =0 ηy d! +! " #
iy !! where
�i !!! !!! ""d iy takes value one if person P>7!7!Q
! "#" i has
y&(/2/
years
%(/ of education
$;%/2 /O./3%*%'$#and
;)/) zero otherwise.
%(/ +')%2':;%'$# $9 "! 7 R/2/ ') .2$$9 $9 %(/ 0*& $9 '%/2*%/+ /O./3%*%'$#)
OLS and Causality
y0 , y1 ⊥ D|X
y0 , y1 ⊥ D|X
OLS: Miscellaneous
Empirical Strategies
OLS Dif-in-Dif IV RD
OLS: Summary
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
How does Dif-in-Dif work?
Dif-in-Dif
Period 0: no-one treated. Period 1: treatment group (T=1) treated
� � � �
E y1T − E y0T = (α + δ1 + E [ηi |T = 1]) − (δ0 + E [ηi |T = 1])
= α + δ1 − δ0
� � � �
E y1C − E y0C = (δ1 + E [ηi |T = 0]) − (δ0 + E [ηi |T = 0])
= δ 1 − δ0
�� � � ��
Even if E [ηi |T = 1] �= E [ηi |T = 0], we have E y1T − y0T − y1C − y0C = α
OLS Dif-in-Dif IV RD
Dif-in-Dif Example
Empirical Strategies
OLS Dif-in-Dif IV RD
Regression Dif-in-Dif
Empirical Strategies
OLS Dif-in-Dif IV RD
Regression Dif-in-Dif
Empirical Strategies
OLS Dif-in-Dif IV RD
Dif-in-Dif: Miscellaneous
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
How does IV work? (binary instrument)
Wald Estimator
Expected values of the outcome conditional on X and Z
E [Y |X , Z = 1] = αE (Dit |X , Z = 1) + X β + E (�it |X , Z = 1)
E [Y |X , Z = 0] = αE (Dit |X , Z = 0) + X β + E (�it |X , Z = 0)
E [Y |X , Z = 1] − E [Y |X , Z = 0]
α=
E [D|X , Z = 1] − E [Dit |X , Z = 0]
IV interpretation
Empirical Strategies
OLS Dif-in-Dif IV RD
IV implementation
Two-Stage Least-Squares
First-stage
Dit = π0 + Xit π1 + Zit π2 + νit
Second-stage
yit = αDˆit + Xit β + �it
where Dˆit is the predicted values from the first-stage.
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
OLS Dif-in-Dif IV RD
Empirical Strategies
Sharp RDD Illustration
Fuzzy RD
y+ − y−
α=
p+ − p−
where the numerator corresponds to (B − A) in the previous figure and the
denominator to similar figure when looking at the fraction of treated. Formally,
y + = limz↓z0 E [y |zi = z], y − = limz↑z0 E [y |zi = z], p + = limz↓z0 E [D|zi = z],
p − = limz↑z0 E [D|zi = z], i.e. expectations at the thresholds when
approaching it from below/above.
Fuzzy RD is (almost) IV
Fuzzy RD
y+ − y−
α=
p+ − p−
where the numerator corresponds to (B − A) in the previous figure and the
denominator to similar figure when looking at the fraction of treated. Formally,
y + = limz↓z0 E [y |zi = z], y − = limz↑z0 E [y |zi = z], p + = limz↓z0 E [D|zi = z],
p − = limz↑z0 E [D|zi = z], i.e. expectations at the thresholds when
approaching it from below/above.
Empirical Strategies