I would like to rename coefficient labels for the interaction term i.industry#c.new_Surprise. I want each label to be only the industry name, instead of the interaction (eg. only nodur, or even better "nondurables", instead of nodur # new_Surprise). i.industry takes on values 1-11 and is named after 11 industries. My line of code for coeflabels does not work. I've attached my data. Also, market # new_Surprise doesn't show up on the coefplot, but it should. It shows up with a coefficient in the regression. Thank you in advance.

Code:
reg return i.industry#(c.new_Expected c.new_Surprise) i.industry if ScheduledMeeting == 1 coefplot, xline(0) keep(*rise) coeflabels(nodur # new_Surprise = "Nondurable" durbl # new_Surprise = "Durables")
Comment