I want to add interaction terms in SAS Proc Panel. I checked some online materials and heard that I need to use the Class Statment.
So here below is my code:
proc panel data=rrd_come.city_ln_combo_8;
id City TimeID;
class event_level1 event_level2;
model LoanNum = StructureBreak event_level1 event_level2 GDP_per_capita HHI event_level1*GDP_per_capita event_level2*GDP_per_capita
event_level1*HHI event_level2*HHI/ fixone printfixed;
run;
And the result looks like below:

It makes sense, but it looks ugly. I want to ask whether it is the optimal strategy to include interaction terms. Do we have to treat dummy variables as categorical variables? I mean SAS may treat the values of a categorical variable as text, which may explain the way it output the results. But a dummy variable has two numerical values, 0 and 1, so I think it is a waste to use a categorical-variable format to represent a dummy variable. Is there a better way to write the code? Thanks for your valuable suggestions!