I am using coefplot to show the estimation coefficients. The independent variable is categorized into its deciles. How can I show the decile values (stored in x_deciles) on the chart x-axis label instead of the D_x levels?
Code:
xtile D_x=x, nq(10) pctile x_deciles= x , nq(10) mlogit y i.D_x, baseoutcome(1) rrr coefplot (., keep(2: 2.D_x 3.D_x 4.D_x)), vertical coeflabels("2.D_x"=x_deciles[_2] "3.D_x"=x_deciles[_3] "4.D_x"=x_deciles[_4] )
Comment