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"
Looping certain commands?Evening everyone! I was wondering if it's possible to write a loop for the alpha command? Code: l…
short panel data ( micro panel)Hello, I am sorry for the long post. I am trying do a research on evaluating the performance of stoc…
Installing python packagesDear all, I'm having trouble installing python packages in stata 16 (numpy and pandas) using my mac…
Before After effectIs before and after effect of a corporate tax cut a good research objective for a paper? …
Index variable within two grouping variablesGood afternoon, I am attempting to create an indexing variable that takes into account two variables…
Subscribe to:
Post Comments (Atom)
0 Response to Rename variables before run "coefplot"
Post a Comment