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"
which model is the best?hello everyone, i am novice. i want to know which model is best?and why? can anyone help me ? ffe is…
Creating a loop that references parts of other variable names to determine value of another variableHi all, My question is about how to create a loop that references the name of a variable in determi…
Testing: creating loop that references parts of other variable names to determine value of a variableHi all, My question is about how to create a loop that references the name of a variable in determin…
taboutDear Statalisters, I am trying to create tables for a couple of variables over two rounds of data 2…
Lag selectionHello, I am new to stata and statistics. I am running a panel model (t=17, N=130) with fixed effects…
Subscribe to:
Post Comments (Atom)
0 Response to Rename variables before run "coefplot"
Post a Comment