如题,做的是did平行趋势图,以pre_1作为基期,但不知道如何将它在图中表示出来,求问各位大神该如何写代码呢?
这是原代码:
xtreg y pre_4 pre_3 pre_2 current time_1 time_2 $iv i.year i.diqu1, fe vce(cluster id)
est store reg
coefplot reg, keep(pre_* current time_*) levels(90) vertical yline(0,lcolor(edkblue*0.8)) xline(-1, 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)
本来是想通过图形编辑器进行修改坐标数值的,但是却不能更改,想请问有什么代码能够编辑吗?(主要是想pre_2与current的数值相差2,现在是相差1的)