I am trying to perform a nearest-neighbor matching in Stata by using the teffects command. I want to perform an exact match on a geographic variable called District, and then a weighted average match on two continuous variables like population and meanage. My idea is to first match municipalities according to the same district, and then, inside the same district, to match treated units with the closest control ones in terms of population and age of the population.
The code I am using is the following
Code:
teffects nnmatch (y population meanage) (treat), atet nn(3) ematch(District)
14 observations have no exact matches.
Does anybody know how to help me?
Many thanks in advance,
Marco
0 Response to teffects nnmatch with no exact matches
Post a Comment