Hello, I am running a panel fixed effects regression where I'd like to plot the interaction effects of a 0/1 dummy with a year fixed effect. The regression ultimately looks like:
.
I then store important estimates using
and then would like to plot using
.
This works fine except the labels are tedious. They read
and so on. I'd like for them just to say the year, but I can't quite figure it out without manually going through them and changing them one by one. I have to run many varieties of this equation, so a quick way of doing this would be great. Any suggestions?
(As a side note, I am on a restricted data portal and cannot post images/code here. I also cannot download any online packages that may be better).
Code:
xtreg inc i.year i.ogj#i.year, fe
I then store important estimates using
Code:
estimates store interaction
Code:
coefeplot (interactions), keep(1.ogj#*year)
This works fine except the labels are tedious. They read
"Overlays Large Field#1yearyear=1975"
(As a side note, I am on a restricted data portal and cannot post images/code here. I also cannot download any online packages that may be better).
Comment