Hi,

I am trying to create a coefficient plot using just an interaction term that interacts a dummy variable and a year, but the labels are rather busy while I just want them to read as the year.

Below is the code I used for the regression and coefplot:

Code:
reg employed i.num_kids##i.year age i.statefip [pw=wtsupp]
est sto model9


coefplot model9, keep(*.num_kids#*.year) coeflabels(1.num_kids##2000year= "2000")
I've also attached the coefplot that was generated below. As opposed to "2 or more kids#year=1981" I want the label to just read "1981".

Thanks in advance for any help. Array