Dear all,
Using Stata V15, I am intending to do a propensity score analysis for observational data.
I would like to see 1) how well each variable matches 2) create a scatter plot on the paired matches
One of my collegues using R showed me an example, but despite all seaching I could not find the function in Stata how to do it.
I cannot download packages (i.e. psmatch2), I have to use the teffects psmatch command.
The data analysis is a 2 step analysis: 1) main exposure variable BC_candida_all (128 vs 84 patients) 2) main exposure variable antifungal_yn (54 vs 74 patients).
This is how far I got:
teffects psmatch (death_yn) (BC_candida_all antifungal_yn Livercirrhosis Haemodialysis cancer Lungdisease ICUyn, logit)
teffects psmatch (death_yn) (BC_candida_all antifungal_yn Livercirrhosis Haemodialysis cancer Lungdisease ICUyn, logit), atet
teffects overlap
I would be grateful for any suggestions how to get a statistical output on matching result as well as a scatter plot (not only overlap).
Many thanks,
Yvonne
Using Stata V15, I am intending to do a propensity score analysis for observational data.
I would like to see 1) how well each variable matches 2) create a scatter plot on the paired matches
One of my collegues using R showed me an example, but despite all seaching I could not find the function in Stata how to do it.
I cannot download packages (i.e. psmatch2), I have to use the teffects psmatch command.
The data analysis is a 2 step analysis: 1) main exposure variable BC_candida_all (128 vs 84 patients) 2) main exposure variable antifungal_yn (54 vs 74 patients).
This is how far I got:
teffects psmatch (death_yn) (BC_candida_all antifungal_yn Livercirrhosis Haemodialysis cancer Lungdisease ICUyn, logit)
teffects psmatch (death_yn) (BC_candida_all antifungal_yn Livercirrhosis Haemodialysis cancer Lungdisease ICUyn, logit), atet
teffects overlap
I would be grateful for any suggestions how to get a statistical output on matching result as well as a scatter plot (not only overlap).
Many thanks,
Yvonne
Comment