请教下为什么使用PSM任意一种匹配方法进行匹配后匹配前后的密度图完全没有变化?请问是匹配出错了吗?但是平衡性检验显示匹配效果好,偏误比例在匹配后降低至5%以内,匹配回归结果显示显著且与主回归结果一致。
使用的匹配语句如下:
bootstrap r(att),reps(300):psmatch2 x1 x2 x3 x4 x5 x6, out(y) kernel logit common
*核密度匹配图
//匹配前密度函数图//
twoway (kdensity _pscore if _treated==1,legend( label (1 "treat"))) (kdensity _pscore if _treated==0,legend( label (2 "control"))),xtitle("pscore") title("before matching") scheme (s1mono)
//匹配后密度函数图//
twoway (kdensity _pscore if (_treated==1),legend( label (1 "treat"))) (kdensity _pscore if (_weight!=1 &_weight!=.),legend( label (2 "control"))),xtitle("pscore") title("after matching")scheme (s1mono)