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"
Regressions: ommisions due to collinearityDear statalist users, I am running a regression in which I have 2 fixed effects: year and 2-digit S…
Converting regular date to a monthly dateHi everyone, I wanted to convert a regular date to a monthly date. The regular date variable is name…
Investor turnoverHi all, First of all, thank you for help in advance. I'm trying to calculate the churn rate (CR) and…
Compute a composite measure of several variablesHi, I have a panel data. I want to perform principal component analysis over the three continuous va…
Recommendations for descriptive analysis?Hello, I am a STATA-beginner and looking for recommendations for good tutorials or codes on descrip…
Subscribe to:
Post Comments (Atom)
0 Response to Rename variables before run "coefplot"
Post a Comment