Dear Statalisters,
I want to export the results of the PSM into excel or word.
I tried different commands (as shown below) but all of them report the ATT and the ATE not the coefficients of the estimation of the propensity of the treatment.
Many thanks,
Maye
I want to export the results of the PSM into excel or word.
I tried different commands (as shown below) but all of them report the ATT and the ATE not the coefficients of the estimation of the propensity of the treatment.
Code:
psmatch2 D $X3 , outcome(Y) logit kernel putexcel outreg using "psmatchresults.xls" estimates store psmatch2 estout psmatch2 using psmresults.xls, cells(b(star fmt(%9.3f)) se(par(`"="("' `")""'))) /// starlevels(* 0.10 ** 0.05 *** 0.01) /// stats(p N chi2_exog p_exog, fmt(%9.3f %9.0g)) /// legend nolabel collabels(, none) /// posthead("") /// prefoot("") postfoot("") /// varwidth(12) modelwidth(8) replace
Maye