addplot(line @b @at):增加点之间的连线,也就是绿色那个线 ciopts(recast(rcap)):绘制置信区间,并且设置样式为带封顶尖峰的范围图rcap rescale:重新调整点估计和置信区间 结果展示 示例2(推荐) 中国碳排放交易体系试点的碳价格稳定机制: 上海(2013):通过拍卖部分碳配额来干预碳价格。拍卖的碳价格没有明确规定。
75)) ytitle("coefficients") xtitle("Time") msymbol(O) msize(small) mcolor(gs1) ciopts(recast(rcap) lwidth(thin) lpattern(dash) lcolor(gs2)) //rarea rline rcap legend(order(1 "entre_activation" 2 "produserv") region(lstyle(none)) position(6)) graphregion(color(white)); 如果不...
replace. coefplot,vertical msymbol(smcircle_hollow) yline(0, lp(dash)) xtitle("number of periods forwarded as fake treatment time") ytitle("placebo effect") title("In-time Placebo Test") legend(order(2 "Placebo Effect" 1 "95% Confidence Interval")) ciopts(recast(rcap)) addplot(line @...
. reghdfe dins b2013.Dyear, absorb(stfips year) cluster(stfips) noconstant . local plotopts ytitle("Estimate and 95% Conf. Int.") title("Effect on dins") . coefplot, vertical yline(0) ciopts(recast(rcap)) xlabel(,angle(45)) `plotopts' 3. 使用相对偏离程度限制进行敏感性检验...
("number of periods forwarded as fake treatment time") ytitle("placebo effect") title("In-time Placebo Test") legend(order(2 "Placebo Effect" 1 "95% Confidence Interval")) ciopts(recast(rcap)) addplot(line @b @at) coeflabels(F.ATT=1 F2.ATT=2 F3.ATT=3 F4.ATT=4 F5.ATT=5 F6...
("number of periods forwarded as fake treatment time") ytitle("placebo effect") title("In-time Placebo Test") legend(order(2 "Placebo Effect" 1 "95% Confidence Interval")) ciopts(recast(rcap)) addplot(line @b @at) coeflabels(F.ATT=1 F2.ATT=2 F3.ATT=3 F4.ATT=4 F5.ATT=5 F6...
xtitle("政策时点", size(small)) ///加入X轴名称,大小small addplot(line @b @at) ///增加点之间的连线 ciopts(lpattern(dash) recast(rcap) msize(medium)) ///CI为虚线上下封口 scheme(s1mono) /// coeflabels(xnbl2="-2" xnbl3="-1" xnbl4="0" xnbl5="1" xnbl6="2" xnbl7="3")...
ciopts(recast(rcap)) /// rescale(100) /// ylabel(, nogrid) /// scheme(tufte) graphexport"figurename.png", replace *** **图2:安慰剂检验** *** cdC:\Users\user\Desktop\数据\placebo setmore off forvalues i=1(1)500 { use dodata...
ciopts(recast(rcap)):设置置信区间的样式为矩形帽。 addplot(line @b @at, lp(dash) lcolor(red)):添加一条红色虚线,表示系数的估计值。 根据需要调整图形样式和参数: coefplot命令提供了许多选项来调整图形的样式和参数,例如改变标签、颜色、线条样式等。你可以根据需要调整这些选项,以获得更满意的图形效果。
(,labsize(small)angle(horizontal)nogrid)yline(0,lwidth(vthin)lpattern(solid)lcolor(black))xtitle(政策实施相对时间,size(small))xlabel(,labsize(small))graphregion(fcolor(white)lcolor(white)ifcolor(white)ilcolor(white))ciopts(recast(rcap))xline(10.5,lwidth(vthin)lpattern(solid)lcolor(black...