
代码如下:
xtreg y did x1 x2 x3 x4 x5 i.year,fe robust coefplot,baselevels keep(pre_* current post_*) vertical coeflabels(pre_8="-8" pre_7="-7" pre_6="-6" pre_5="-5" pre_4="-4" pre_3="-3" pre_2="-2" pre_1="-1" current="0" post_1="1" post_2="2" post_3="3" post_4="4" post_5="5" post_6="6" post_7="7" post_8="8") yline(0,lcolor(edkblue*0.8)) xline(8,lwidth(vthin) lpattern(dash) lcolor(teal)) ylabel(,labsize(*0.75)) xlabel(,labsize(*0.75)) ytitle("政策效应",size(small)) xtitle("政策前后",size(small)) addplot(line @b @at) ciopts(lpattern(dash) recast(rcap) msize(medium)) msymbol(circle_hollow) scheme(s1mono)


雷达卡



京公网安备 11010802022788号







