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
Saving part of a datasetHi, I have 33 variables and 1000 participants. The 33rd variable has 20 participants with data enter…
Splitting string into column vectorDear Statalist, I am currently working with a dataset consisting of research articles, where a give…
Command for matching*across*a dummy-variable?Dear Statalisters, I want to match (pscores of) observations across pre- and post-intervention. Thi…
R-sq and adj R-sq in xtreg, fixed effectDear all, I am currently working on a panel data set in which i create a regression by code xtreg x…
Unbalanced panel with xtregHello I am using unbalanced panel for the first time. I would like to know if it is possible to use …
Subscribe to:
Post Comments (Atom)
0 Response to Adding coefficient when plotting coefficients from an event study
Post a Comment