Documente Academic
Documente Profesional
Documente Cultură
Propensity Score
Ricardo A Pasquini
IAE B.S. and MEU-UTDT
August 2013
Econometra 2 - MEU
August 2013
1 / 44
Econometra 2 - MEU
August 2013
2 / 44
Econometra 2 - MEU
August 2013
2 / 44
Econometra 2 - MEU
August 2013
2 / 44
Econometra 2 - MEU
August 2013
2 / 44
Econometra 2 - MEU
August 2013
2 / 44
Econometra 2 - MEU
August 2013
2 / 44
Econometra 2 - MEU
August 2013
2 / 44
Econometra 2 - MEU
August 2013
3 / 44
Econometra 2 - MEU
August 2013
3 / 44
Econometra 2 - MEU
August 2013
3 / 44
Econometra 2 - MEU
August 2013
3 / 44
Econometra 2 - MEU
August 2013
3 / 44
Y1i if Di = 1
Y0i if Di = 0
Econometra 2 - MEU
August 2013
4 / 44
Econometra 2 - MEU
August 2013
5 / 44
E [ Yi j D i = 1 ]
E [ Yi j D i = 0 ]
E [Y1i j Di = 1] E [Y0i j Di = 1]
Average Eect of the Treatment on the Treated
+E [Y0i j Di = 0]
E [Y0i j Di = 1]
Selection Bias
Econometra 2 - MEU
August 2013
5 / 44
fY0i , Y1i g q Di j Xi
Econometra 2 - MEU
August 2013
6 / 44
fY0i , Y1i g q Di j Xi
Therefore, selection bias dissapears, and the dierence between
participants and non participants will result in the treatment eect:
E [ Yi j Xi , D i = 1 ]
E [Yi j Xi , Di = 0] = E [Y1i
Y0i j Xi ]
Econometra 2 - MEU
August 2013
6 / 44
fi (s )
Econometra 2 - MEU
August 2013
7 / 44
fi (s )
f i tells us how much would individual i would gain for any number of
years of schooling s.
Econometra 2 - MEU
August 2013
7 / 44
fi (s )
f i tells us how much would individual i would gain for any number of
years of schooling s.
The CIA in this setup becomes:
Ysi q si j Xi
Econometra 2 - MEU
August 2013
7 / 44
Econometra 2 - MEU
August 2013
8 / 44
Econometra 2 - MEU
August 2013
8 / 44
E [Yi j Xi , Si = s
fi (s
Econometra 2 - MEU
1] =
1 ) j Xi ]
August 2013
8 / 44
E [Yi j Xi , Si = s
E [fi (s )
fi (s
1] =
1 ) j Xi ]
E [Yi j Xi , Si = 11]
Econometra 2 - MEU
8 / 44
Econometra 2 - MEU
August 2013
9 / 44
Econometra 2 - MEU
August 2013
9 / 44
fi (s ) = + s + i
Econometra 2 - MEU
August 2013
10 / 44
fi (s ) = + s + i
Econometra 2 - MEU
August 2013
10 / 44
fi (s ) = + s + i
Econometra 2 - MEU
August 2013
10 / 44
Econometra 2 - MEU
August 2013
10 / 44
Econometra 2 - MEU
August 2013
10 / 44
Econometra 2 - MEU
August 2013
11 / 44
Econometra 2 - MEU
August 2013
11 / 44
Suppose that the CIA holds. We can think that the errors are a linear
function of the observables and an error term:
0
i = Xi + vi
Econometra 2 - MEU
August 2013
12 / 44
Suppose that the CIA holds. We can think that the errors are a linear
function of the observables and an error term:
0
i = Xi + vi
Because is dened by the regression of i on Xi ; the residual vi and
Xi are uncorrelated by construction.
0
E [fi (s ) j Xi , Si ] = E [fi (s ) j Xi ] = + s + E [ i j Xi ] = + s + Xi
0
Yi = + s + Xi + vi
Econometra 2 - MEU
August 2013
12 / 44
Matching
Econometra 2 - MEU
August 2013
13 / 44
Matching
Econometra 2 - MEU
August 2013
13 / 44
Matching
Econometra 2 - MEU
August 2013
13 / 44
Matching
Using the CIA the selection bias dissapears after conditioning on Xi .
We can calculate the TOT by iterating on the values of X.
TOT
y0i j Di = 1]
E [y1i
= EX fEY [y1i
TOT
y0i j Xi , Di = 1] j Di = 1g
EX [EY [y1i j Xi , Di = 1]
= EX [ X j D i = 1 ]
EY [y0i j Xi , Di = 0] j Di = 1]
Econometra 2 - MEU
August 2013
14 / 44
Matching
Using the CIA the selection bias dissapears after conditioning on Xi .
We can calculate the TOT by iterating on the values of X.
TOT
y0i j Di = 1]
E [y1i
= EX fEY [y1i
y0i j Xi , Di = 1] j Di = 1g
The 1st equality is the denition of TOT and the 2nd equality makes
Xi appear, using the law of iterated expectations.
TOT
EX [EY [y1i j Xi , Di = 1]
= EX [ X j D i = 1 ]
EY [y0i j Xi , Di = 0] j Di = 1]
Econometra 2 - MEU
August 2013
14 / 44
Matching
Using the CIA the selection bias dissapears after conditioning on Xi .
We can calculate the TOT by iterating on the values of X.
TOT
y0i j Di = 1]
E [y1i
= EX fEY [y1i
y0i j Xi , Di = 1] j Di = 1g
The 1st equality is the denition of TOT and the 2nd equality makes
Xi appear, using the law of iterated expectations.
By virtue of the CIA, we can substitute
EY [y0i j Xi , Di = 1] = EY [y0i j Xi , Di = 0]
TOT
EX [EY [y1i j Xi , Di = 1]
= EX [ X j D i = 1 ]
EY [y0i j Xi , Di = 0] j Di = 1]
Econometra 2 - MEU
August 2013
14 / 44
Matching
y0i j Di = 1] =
X P ( Xi = x j D i = 1 )
x
Econometra 2 - MEU
August 2013
15 / 44
Matching
y0i j Di = 1] =
X P ( Xi = x j D i = 1 )
x
Econometra 2 - MEU
August 2013
15 / 44
Matching
Angrist (1998) Eect of Military on Earnings
ATE
EX [EY [y1i j Xi , Di = 1]
EY [y0i j Xi , Di = 0]] =
Econometra 2 - MEU
X P ( Xi = x )
x
August 2013
16 / 44
Matching
Angrist (1998) Eect of Military on Earnings
ATE
EX [EY [y1i j Xi , Di = 1]
EY [y0i j Xi , Di = 0]] =
Econometra 2 - MEU
X P ( Xi = x )
x
August 2013
16 / 44
Matching
Angrist (1998) Eect of Military on Earnings
ATE
EX [EY [y1i j Xi , Di = 1]
EY [y0i j Xi , Di = 0]] =
Econometra 2 - MEU
X P ( Xi = x )
x
August 2013
16 / 44
Matching
Angrist (1998) Eect of Military on Earnings
ATE
EX [EY [y1i j Xi , Di = 1]
EY [y0i j Xi , Di = 0]] =
X P ( Xi = x )
x
Econometra 2 - MEU
August 2013
16 / 44
Matching
Econometra 2 - MEU
August 2013
17 / 44
Matching
Econometra 2 - MEU
August 2013
17 / 44
Matching
Econometra 2 - MEU
August 2013
17 / 44
Matching
Econometra 2 - MEU
August 2013
17 / 44
Matching
Econometra 2 - MEU
August 2013
18 / 44
Matching
Angrist (1998)
Notice that once controlling for the relevant covariates (as in the
matching case), the dierence turns negative. Recall that the
estimates here correspond to the weighted average of the dierences
for each category of X.
Econometra 2 - MEU
August 2013
19 / 44
Matching
Angrist (1998) Further Details
ix x + R Di + i
x
Econometra 2 - MEU
August 2013
20 / 44
Matching
Angrist (1998) Further Details
ix x + R Di + i
x
Econometra 2 - MEU
August 2013
20 / 44
Matching
Comparing Regression and Matching
The reason the regression and matching estimates are similar is that
regression, too, can be seen as a sort of matching estimator:
Econometra 2 - MEU
August 2013
21 / 44
Matching
Comparing Regression and Matching
The reason the regression and matching estimates are similar is that
regression, too, can be seen as a sort of matching estimator:
the regression estimand diers from the matching estimands only in the
weights used to sum the covariate-speci c eects, X into a single
eect.
Econometra 2 - MEU
August 2013
21 / 44
Matching
Comparing Regression and Matching
The reason the regression and matching estimates are similar is that
regression, too, can be seen as a sort of matching estimator:
the regression estimand diers from the matching estimands only in the
weights used to sum the covariate-speci c eects, X into a single
eect.
In particular, matching uses the distribution of covariates among the
treated to weight covariate-specic estimates into an estimate of the
eect of TOT, while regression produces a variance-weighted average
of these eects.
Econometra 2 - MEU
August 2013
21 / 44
Matching
Comparing Regression and Matching
The reason the regression and matching estimates are similar is that
regression, too, can be seen as a sort of matching estimator:
the regression estimand diers from the matching estimands only in the
weights used to sum the covariate-speci c eects, X into a single
eect.
In particular, matching uses the distribution of covariates among the
treated to weight covariate-specic estimates into an estimate of the
eect of TOT, while regression produces a variance-weighted average
of these eects.
For the demonstration, see the book.
Econometra 2 - MEU
August 2013
21 / 44
Matching
Comparing Regression and Matching
Econometra 2 - MEU
August 2013
22 / 44
Matching
Comparing Regression and Matching
Econometra 2 - MEU
August 2013
22 / 44
Econometra 2 - MEU
August 2013
23 / 44
Econometra 2 - MEU
August 2013
23 / 44
Econometra 2 - MEU
August 2013
24 / 44
Econometra 2 - MEU
August 2013
24 / 44
Econometra 2 - MEU
August 2013
24 / 44
Econometra 2 - MEU
August 2013
24 / 44
Econometra 2 - MEU
August 2013
24 / 44
Econometra 2 - MEU
August 2013
25 / 44
Econometra 2 - MEU
August 2013
26 / 44
Econometra 2 - MEU
August 2013
26 / 44
Econometra 2 - MEU
August 2013
26 / 44
Econometra 2 - MEU
August 2013
26 / 44
where w (i, j ) are weights when are more than one control for each
treated observation.
Econometra 2 - MEU
August 2013
26 / 44
where w (i, j ) are weights when are more than one control for each
treated observation.
An alternative is to use a regression and the p (Ti = 1jXi ) as weights.
Econometra 2 - MEU
August 2013
26 / 44
Econometra 2 - MEU
August 2013
27 / 44
Econometra 2 - MEU
August 2013
27 / 44
Econometra 2 - MEU
August 2013
27 / 44
Econometra 2 - MEU
August 2013
27 / 44
Econometra 2 - MEU
August 2013
28 / 44
Econometra 2 - MEU
August 2013
28 / 44
Econometra 2 - MEU
August 2013
28 / 44
Econometra 2 - MEU
August 2013
28 / 44
Econometra 2 - MEU
August 2013
28 / 44
Econometra 2 - MEU
August 2013
28 / 44
Econometra 2 - MEU
August 2013
28 / 44
Econometra 2 - MEU
August 2013
29 / 44
Econometra 2 - MEU
August 2013
29 / 44
Econometra 2 - MEU
August 2013
29 / 44
Econometra 2 - MEU
August 2013
29 / 44
Econometra 2 - MEU
b (X )) for
P
August 2013
29 / 44
Econometra 2 - MEU
August 2013
30 / 44
Econometra 2 - MEU
August 2013
30 / 44
Econometra 2 - MEU
August 2013
30 / 44
Econometra 2 - MEU
August 2013
30 / 44
Econometra 2 - MEU
August 2013
31 / 44
Econometra 2 - MEU
August 2013
31 / 44
Econometra 2 - MEU
August 2013
31 / 44
Econometra 2 - MEU
August 2013
31 / 44
Possible problems:
Econometra 2 - MEU
August 2013
32 / 44
Possible problems:
1
Econometra 2 - MEU
August 2013
32 / 44
Possible problems:
1
Econometra 2 - MEU
August 2013
32 / 44
Possible problems:
1
Econometra 2 - MEU
August 2013
32 / 44
Econometra 2 - MEU
August 2013
33 / 44
Econometra 2 - MEU
August 2013
34 / 44
Econometra 2 - MEU
August 2013
35 / 44
Econometra 2 - MEU
August 2013
36 / 44
Econometra 2 - MEU
August 2013
37 / 44
Econometra 2 - MEU
August 2013
38 / 44
Econometra 2 - MEU
August 2013
39 / 44
Econometra 2 - MEU
August 2013
39 / 44
Econometra 2 - MEU
August 2013
40 / 44
Econometra 2 - MEU
August 2013
41 / 44
Econometra 2 - MEU
August 2013
42 / 44
Econometra 2 - MEU
August 2013
43 / 44
Econometra 2 - MEU
August 2013
44 / 44