MaMeng666 发表于 2017-8-9 23:04 
请问大神可以提供一下匹配后密度图的指令么,感谢
//匹配前密度函数图//
twoway (kdensity _ps if _treat==1,legend( label (1 "treat"))) (kdensity _ps if _treat==0,legend( label (2 "control"))),xtitle("pscore") title("before matching") scheme (s1mono)
//匹配后密度函数图//
twoway (kdensity _ps if (_treat==1),legend( label (1 "treat"))) (kdensity _ps if (_treat==0 & _wei!=.),legend( label (2 "control"))),xtitle("pscore") title("after matching")scheme (s1mono)