Beruflich Dokumente
Kultur Dokumente
Kernel weight
qui psmatch2 treatment, kernel outcome(outcomevar) pscore(pc_pscore)
IPTW
pbalchk treatment covariate1 covariate#, wt(norm_weights)
Graphs
qqplot covariate_treated covariate_comparison if _weight==1
twoway kdensity covariate if treatment [aweight= norm_weights] || kdensity covariate if
!treatment [aweight= norm_weights]
Matched sample
teffects psmatch(outcome) (treatment covariate1 covariate#), atet nneighbor(#) caliper(#)
IPTW sample
teffects ipw (outcome)(treatment covariate1 covariate#)
After running pscore, get treatment effects from psmatch2- and standard errors with:
bs "psmatch2 treatment, kernel outcome(outcomevar) pscore(pc_pscore)" "r(att)", reps(#) dots
teffects ipwra (outcome covariate1 covariate#)(treatment covariate1 covariate#)
teffects ipwra (outcome covariate1 covariate#)(treatment covariate1 covariate#),
atet control(treatmentlevel0) tlevel (treatmentlevelB)
doseresponse covariate1 covariate#, outcome(outcomevar) t(treatmentvar) gpscore(newpscorevar)
predict(hat_treat) sigma(hat_sd) cutpoints(cut) index(mean) nq_gps(#)
dose_response(newdoseresponsevar) test(Bayes_factor) detail
Becker, S., and A. Ichino. 2002. Estimation of Average Treatment Effects Based on Propensity
Scores. The Stata Journal 2(4): 358-377.
Leuven, E., and B. Sianesi. 2003. PSMATCH2: Stata Module to Perform Full Mahalanobis and
Propensity Score Matching, Common Support Graphing, and Covariate Imbalance Testing, version 4.0.6. Available at:
http://ideas.repec.org/c/boc/bocode/s432001.html.
Lunt, M. PBALCHK: Checking Covariate Balance. Available at:
http://personalpages.manchester.ac.uk/staff/mark.lunt/propensity.html.
StataCorp. 2013. Stata 13 Base Reference Manual. College Station, TX: Stata Press.
StataCorp. 2013. Stata Statistical Software: Release 13. College Station, TX: StataCorp LP.