Dear all,
My question is about the use of survey weights in the calculation of the standardized mean difference after using the coarsened exact matching method.
To calculate the difference in grades between students (with gender as covariable), I proceed as follows:
Then I get cem_weights that I multiply with the weight of my survey:
Then I run the regression to estimate the causal effect from cem output as follows:
To verify that my individuals did not differ too much between the treatment and control groups I wanted to calculate the standardized mean difference for each covariate from the stddiff function by proceeding like this
It works. However, I can't find instructions for incorporating the weights from my survey. Do you have an idea?
Thanks a lot,
Léo Nard
My question is about the use of survey weights in the calculation of the standardized mean difference after using the coarsened exact matching method.
To calculate the difference in grades between students (with gender as covariable), I proceed as follows:
Code:
cem sex, tr(treated)
Code:
gen weights=cem_weights*survey_weights
Code:
regress grad treated [pw=weights]
Code:
stddiff sex, by(cem_weights)
Thanks a lot,
Léo Nard
Comment