I am currently running a regression of y on x, every year, for 100 years. I wish to display the coefficients on x, by year, and make use of the coefplot command as in:
Code:
forvalues i = 1900/200 { regress y x if year == `i' estimates store year`i' local allyears `allyears' year`i' || local labels `labels' `i' }
Code:
coefplot `allyears', keep(x) vertical bycoefs bylabels(`labels')
Many thanks,
CS
0 Response to Coefplot over different years
Post a Comment