I am trying to conduct a logistic regression after propensity score matching. I tried both gmatch psmatch2 and am wondering if I should expect similar result from both? For example :
webuse cattaneo2, clear
rename order orderb
* Using GMATCH
logistic mbsmoke i.mrace i.foreign mage medu fage fedu prenatal orderb i.frace i.mmarried i.fbaby
predict ps
gmatch mbsmoke ps, maxc(1) set(set1) diff(diff1)
logistic deadkids i.mbsmoke i.mrace i.foreign mage medu fage fedu prenatal orderb i.frace i.mmarried i.fbaby if set1 < .
**
* uisng PAMATCH2
psmatch2 mbsmoke i.mrace i.foreign mage medu fage fedu prenatal orderb i.frace i.mmarried i.fbaby, outcome(deadkids) neighbor(1)
logistic deadkids i.mbsmoke i.mrace i.foreign mage medu fage fedu prenatal orderb i.frace i.mmarried i.fbaby [fweight=_weight]
Should I expect similar result for the logistic regression after running the above commands?
Actually in this case the results were close.
************************************************** ************************************************** ************************************************** *****
However, I am doing a similar analysis using another dataset. I run the commands as below:
use mydata, clear
USING GMATCH
logistic disability_child i.healthCond_cat2 i.affectLife i.symptom i.ageCat3 i.workingHourPerWeek_cat4 i.singleFather_n
predict ps
gmatch disability_child ps, maxc(1) set(set1) diff(diff1)
logistic k6cat2v2 i.disability_child i.healthCond_cat2 i.affectLife i.symptom i.ageCat3 i.workingHourPerWeek_cat4 i.singleFather_n if set1 < .
**
USING PSMATCH2
psmatch2 disability_child i.healthCond_cat2 i.affectLife i.symptom i.ageCat3 i.workingHourPerWeek_cat4 i.singleFather_n, outcome(k6cat2v2) neighbor(1)
logistic k6cat2v2 i.disability_child i.healthCond_cat2 i.affectLife i.symptom i.ageCat3 i.workingHourPerWeek_cat4 i.singleFather_n [fweight=_weight]
However, the results are far from similar. Some values are above or below 0, just the opposite. Why is that so?
I want to use psmatch2. Also, I want to produce descriptive table of the matched cases and control after psmatch2. How can I do so?
Related Posts with gmatch and psmatch2
Dividing Variable by its meanDear all, I have question regarding to my independent variable and interpretation of it. I have di…
Plausible values: what do i do?Hi, i have found nearly nothing on this. It is used mostly on PISA, TIMMS and PIRLS testing. I kind …
Shea’s partial R squaredHi, I am trying to check the relevance of instruments used in 2SLS regression. I use Shea’s partial…
Random coefficient logit (mixlogit)*and welfare calculationsHello everyone, I was wondering if anyone had elaborated stata code to calculate consumer surplus f…
mi impute for two variablesHi, I am trying to impute two separate variables. When trying to determine an appropriate imputatio…
Subscribe to:
Post Comments (Atom)
0 Response to gmatch and psmatch2
Post a Comment