求大佬帮忙看看,代码如下:
set seed 10101
gen ranorder = runiform()
sort ranorder
psmatch2 did $xlist , out(y) n(1) ate ties logit common
bootstrap r(att) r(atu) r(ate),reps(500):psmatch2 did $xlist , out(y) neighbor(1) ate ties logit common
qui psmatch2 did $xlist , out(y) neighbor(1) ate ties logit common
pstest $xlist, both graph
psgraph
psmatch2 did $xlist, out(y) llr ate ties logit common quietly
bootstrap r(att) r(atu) r(ate), reps(500):psmatch2 did $xlist, out(y) llr ate ties logit common
set seed 10101
gen ranorder = runiform()
sort ranorder
psmatch2 did $xlist , out(y) n(1) ate ties logit common
bootstrap r(att) r(atu) r(ate),reps(500):psmatch2 did $xlist , out(y) neighbor(1) ate ties logit common
qui psmatch2 did $xlist , out(y) neighbor(1) ate ties logit common
pstest $xlist, both graph
psgraph
psmatch2 did $xlist, out(y) llr ate ties logit common quietly
bootstrap r(att) r(atu) r(ate), reps(500):psmatch2 did $xlist, out(y) llr ate ties logit common