Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73277

Custom labels in a coefplot.

$
0
0
Dear All,

I am estimating a regression postestimation plot using a user written coefplot. Following is my code and attached graph it generates:

Code:
coefplot, drop(treated2 wk_* post _cons) ///
 title("(1) Prescriptions") xline(29.5) yline(0) /*xsc(r(-4))*/  ///
 ytitle(Change) xtitle(Week relative to KY's new laws) vertical omitted addplot(dot y x, mfcolor(white))  ///
 xlabel(1 10 20 30 40 50 60 70 80 90 100) coeflabels(t1="" t10="2012w10" t20="2012w20" t30="2012w30" t40="2012w40" t50="2012w50" t60="2012w60" ///
 t70="2012w70" t80="2012w80" t90="2012w90",  angle(45))
Despite specifying the custom coeflabels the resulting plot does not have the right labels. How much I change the labelling?

Sincerely,
Sumedha.
Array

Viewing all articles
Browse latest Browse all 73277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>