Hi, I am running many regressions that look like this:
That is, for a given dependent variable, I run a regression varying the year of such a variable. There are 12 total years.
I want then to plot the estimates (and associated confidence intervals) attached to "var1" in a graph. As if it was an even study (like the picture attached).
I know that coefplot could do something like that, but it requires that all coefficients belong to the same model. Is it possible to do something similar in my case?
That is, I want the estimates and CIs associated with model1_1999 model1_2000 .... model1_2010 to be plotted together.
thank you for any help
Code:
forvalues j =1999/2010 { forvalues i=1/`n' { local a : word `i' of $depvar eststo model`i'_`j': reghdfe `a'_`j' var1 var2 var3 var4 , vce(robust) } }
I want then to plot the estimates (and associated confidence intervals) attached to "var1" in a graph. As if it was an even study (like the picture attached).
I know that coefplot could do something like that, but it requires that all coefficients belong to the same model. Is it possible to do something similar in my case?
That is, I want the estimates and CIs associated with model1_1999 model1_2000 .... model1_2010 to be plotted together.
thank you for any help
Comment