计量经济学吧 关注:6,128贴子:35,023
  • 1回复贴,共1

bootstrap计算标准误为什么会报错r(att)command not found

只看楼主收藏回复

求大佬帮忙看看,代码如下:
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


IP属地:湖北1楼2024-11-01 10:43回复
    在学PSM,用bootstrap命令计算标准误,在一对一匹配中没问题,但使用其他匹配方式就报错
    r(att) command not found
    r(111);
    不知道是为什么,还请各位路过的大佬指点


    IP属地:湖北2楼2024-11-01 10:45
    回复