Hi all,
I have a data set that has “treatment”, “year” variables
I use the below code to run a regression.
reghdfe labour i.treatment##ib(2011).year, absorb(global_id year ) vce(cluster global_id)
outreg2 using Output.xls, label ctitle("labour") word addtext(Year FE, YES Treat FE, YES) keep (1.treatment##i.year)
coefplot, vertical nolabel drop(_cons) keep(1.treatment*) yline(0) title("Labour-2011b_reghdfe")
I have an issue with coefplot command. The name of variables “1.treatment##i.year” is too long, so they overlap when they are displayed in X-axis
What do I do to rename the variables before I execute “coefplot” command?
Tks.
Hut
Related Posts with Rename variables before run "coefplot"
Robust Hausman TestHi, I was wondering if I have to run the Robust Hausman Test. Should I use the command 'xtoverid' o…
How to get residuals series of many regressions?Hello, I want to run 500 regression in one command. dependent series are Y1 to Y500 and three indepe…
Adding lincom postestimation results to esttab regression tableDear Statalisters, I am trying to add some postestimation results from lincom to a regression table…
Use of binary explanatory (control) variables in Difference-in-Difference EstimationHi all, I am conducting a Diff-in-Diff with the following data, which is copied in here by using th…
Multicollinearity and dummy variablesHello, first time poster here. Having a little trouble with something and was looking for a bit of h…
Subscribe to:
Post Comments (Atom)
0 Response to Rename variables before run "coefplot"
Post a Comment