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
Reshaping Data for Analyzing Experiments with Fractional Factorial Designs Dear Stata community, I need to reshape/reorganize my data for analyzing the results of a survey e…
Problems calculating the change in vote share from incumbent candidates (electoral data)Hi all. I have a dataset with electoral municipal information for Brazilian municipalities from 2000…
To construct a composite variable from multiple categorical variablesMy question may be simple. I tried to find a possible answer to my question, but failed to do so. I…
Calculating total or sum without own observation classHi, I have a crossection of electric vehicle (EV). charging stations, and can identify the network a…
Logistic regression interactions testHello! I have a logistic regression model that keeps failing the goodness of fit test. The unweight…
Subscribe to:
Post Comments (Atom)
0 Response to Adding coefficient when plotting coefficients from an event study
Post a Comment