What's the best way to change the color of just the coefficient for the reference category?Ĭode: * Example generated by -dataex. But I think in this case, the graphs would end up next to each other rather than on top each other (like in the one from this example: ) Another way I could think of doing it is running the original regression, storing those estimates, and then running a regression that only graphs the baseline and then laying them on top of each other. I've tried something like (baselevel, mcolor(red)), where I get "invalid 'mcolor'". Recast(connected) lpattern(dash) xlabel(, angle(90))The baselevel option is the one that shows the coefficient for the reference year (2003). Xline(5, lpattern(solid) lcolor(black)) graphregion(fcolor(white)) /// ![]() Code: reghdfe lhsvar ib0.1#ib2003.year ///Ībsorb(country) vce(cluster country#year)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |