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"
merge when value of one variable in dataset 1 matches either value of two variables in dataset 2Hi, I'm trying to merge two datasets by phone number. In dataset 1, each observation only has one ph…
Regression discontinuity, revising/improving code from version 8.2 for version 15.1I came across a clear introduction to regression discontinuity in chapter 16 of Khandker, Shahidur R…
Monthly QuintilesLastly we used this code to generates 5x5 = 25 size-idiovol independent portfolios using june values…
Calculating durations by IDDear Stata users, I have data in long format with dates of specific events for each unique identifi…
Need help on comparing variables accross t-testsI need help conducting t-tests with variables that have 2 things inside of them. For example, If I t…
Subscribe to:
Post Comments (Atom)
0 Response to Rename variables before run "coefplot"
Post a Comment