Hi, all Stata lovers,
I am plotting coefficients from an event study and I would really like to have the coefficient from the base year 2014 in the same plot. The coefficient for the base year should be 0. Is it possible to just add it when I making the plot with coefplot?
Code event study:
xtreg income ib2014.aar##c.T_iv2 i.decile1#c.aar, fe (cluster couple)
Code plotting coefficients (using coefplot): coefplot, xline(0) levels(95 50) ciopts(recast(. rcap)) drop(_cons 2009.aar 2010.aar 2011.aar 2012.aar 2013.aar 2014.aar 2015.aar 2016.aar ab.decile1#c.aar 2.decile1#c.aar 3.decile1#c.aar 4.decile1#c.aar 5.decile1#.c.aar 6.decile1#.c.aar 7.decile1#.c.aar 8. .decile1#.c.aar 9. .decile1#.c.aar 100.decile1#co.aar)
(It's only the coefficients from aar#c.T_i_v2 I want.)
I have attached the results from the event study and plotting the coefficients.
Thank you so much in advance!
Related Posts with Adding coefficient when plotting coefficients from an event study
How to drop firm-years observations in which CEO turnover occurredHello everyone, I am a new user on Stata and I need some help with the first replication study I am …
Leave some imputed variables out of imputation of other variablesI'm working on running mi impute on a data set with an unfortunate structure, where I have: 1) Seve…
Summary statistics for subgroups of a categorical variableDear Statalist, I want to create a code giving me summary statistics (mean, min and max) of each su…
Understanding the "normal" function in StataI have z-scores on BMI, I created them using the egen function zanthro() and they look like the belo…
Question on Cluster Anlysis Partitioning Around Medoids (PAM) using clpamHello all, How are you? I hope your week is going well! Im conducting a k-medoids cluster analysis…
Subscribe to:
Post Comments (Atom)
0 Response to Adding coefficient when plotting coefficients from an event study
Post a Comment