teffects nnmatch - Stata
teffects nnmatch - Stata
teffects nnmatch - Stata
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>teffects</strong> <strong>nnmatch</strong> — Nearest-neighbor matching 9<br />
̂ξ 2 τ =<br />
and an ATET estimate of ξ 2 δ as<br />
̂ξ 2 δ =<br />
1<br />
2 ∑ n<br />
i w i<br />
1<br />
2 ∑ n<br />
i t iw i<br />
⎡ ∑ ⎤<br />
wj {y n∑<br />
i − y j (1 − t i ) − ̂τ 1 } 2<br />
j∈Ω(i)<br />
w i<br />
⎢<br />
⎥<br />
⎣<br />
⎦<br />
i=1<br />
n ∑<br />
i=1<br />
∑<br />
wj<br />
j∈Ω(i)<br />
⎡ ∑<br />
tj w j {y i − y j (1 − t i ) − ̂δ<br />
⎤<br />
1 } 2<br />
j∈Ω(i)<br />
t i w i<br />
⎢<br />
⎣<br />
∑ ⎥<br />
tj w j<br />
⎦<br />
j∈Ω(i)<br />
If the conditional outcome variance is dependent on the covariates or treatment, we require an<br />
estimate for ξi<br />
2 at each observation. In this case, we require a second matching procedure, where we<br />
match on observations within the same treatment group.<br />
Define the within-treatment matching set<br />
Ψ x h(i) = {j 1 , j 2 , . . . , j hi | t jk = t i , ‖x i − x jk ‖ S < ‖x i − x l ‖ S , t l = t i , l ≠ j k }<br />
where h is the desired set size. As before, the number of elements in each set, h i = |Ψ x h<br />
(i)|, may<br />
vary depending on ties and the value of the caliper. You set h using the vce(robust, nn(#)) option.<br />
As before, we will use the abbreviation Ψ(i) = Ψ x h<br />
(i) where convenient.<br />
We estimate ξ 2 i<br />
by<br />
∑<br />
wj (y j − y Ψi ) 2<br />
̂ξ 2 t i<br />
(x i ) =<br />
j∈Ψ(i)<br />
∑<br />
wj − 1<br />
where y Ψi =<br />
j∈Ψ(i)<br />
∑<br />
wj y j<br />
j∈Ψ(i)<br />
∑<br />
wj − 1<br />
j∈Ψ(i)<br />
Bias-corrected matching estimator<br />
When matching on more than one continuous covariate, the matching estimator described above<br />
is biased, even in infinitely large samples; in other words, it is not √ n-consistent; see Abadie and<br />
Imbens (2006, 2011). Following Abadie and Imbens (2011) and Abadie et al. (2004), <strong>teffects</strong><br />
<strong>nnmatch</strong> makes an adjustment based on the regression functions µ t (˜x i ) = E(y t | ˜x = ˜x i ), for<br />
t = 0, 1 and the set of covariates ˜x i = (˜x i,1 , . . . , ˜x i,q ). The bias-correction covariates may be the<br />
same as the NNM covariates x i . We denote the least-squares estimates as ̂µ t (˜x i ) = ̂ν t + ̂β′ t˜x i, where<br />
we regress {y i | t i = t} onto {˜x i | t i = t} with weights w i K m (i), for t = 0, 1.<br />
Given the estimated regression functions, the bias-corrected predictions for the potential outcomes<br />
are computed as ⎧<br />
y i<br />
if t i = t<br />
⎪⎨ ∑<br />
ŷ ti = wj {y j + ̂µ t (˜x i ) − ̂µ t (˜x j )}<br />
j∈Ω<br />
⎪⎩<br />
x m (i) ∑<br />
wj − 1<br />
otherwise<br />
j∈Ω x m (i)<br />
The biasadj(varlist) option specifies the bias-adjustment covariates ˜x i .