Dear Statalist users,
I have been digging previous posts regarding my problem and do not seem to find the answer. Currently I'm doing analysis using psmatch2 for a data that can be grouped into strata (province, in my case). I have 33 provinces in my dataset. I would like to perform matching within province, and as the helpfile suggested, I did this:
g att = .
egen g = group(groupvars)
levels g, local(gr)
qui foreach j of local gr {
psmatch2 treatvar varlist if g==`j', out(outvar)
replace att = r(att) if g==`j'
}
sum att
To assess the quality of the matching, one of the steps I did is I follow up the above command with pstest $controlvar, both hist.
The pstest command will only test for covariate balance in my latest strata, that is the 33rd province.
My question is, does it mean that I will have to check the quality of matching for 33 estimations separately? The reason I'm asking is that because the paper I refer to, who also does matching within province, seems to only provide single assessment on the overall quality of psmatch2.
I would love to learn more from other users who has done the same experience in the past. Thank you!
Related Posts with How to assess quality of PSMATCH2 matching result in matching within strata?
How to correctly use and interpret interaction terms in panel datasetDear Stata Community, First of all I wanted to say hi as I am new here and to express my gratitude …
xtabond2: Interaction endogenous and exogenous variableHello everyone, This is my first post here. I have a question about the xtabond2 command. I would …
Call for applications - PhD positions - Doctoral School of Social Sciences, University of TrentoThe call for applications for 2020/2021 entry in the doctoral programmes in: - Economics and Manage…
Analysis of an interrupted stepped wedge cluster RCTDear All, I am part of a team conducting a stepped wedge cluster randomised control trial to improv…
How to use instrumental variables estimation?Dear all, For my thesis, I need to run the following regression: Array In a paper, where I base m…
Subscribe to:
Post Comments (Atom)
0 Response to How to assess quality of PSMATCH2 matching result in matching within strata?
Post a Comment