I am doing a fixed effects panel analysis, and I want to include an interaction term.
Is it correct that when I add the interaction, I use the demeaned values (variable - mean of variable).
So if I do the fixed effect regression without interaction term:
dep var = indep var1 + indep var2 + control variables
And when I add an interaction term:
dep var = demeaned indep var1 + demeaned indep var2 + demeaned indep var1*demeaned indep var2 + control variables.
Is it correct that when I add the interaction, I use the demeaned values (variable - mean of variable).
So if I do the fixed effect regression without interaction term:
dep var = indep var1 + indep var2 + control variables
And when I add an interaction term:
dep var = demeaned indep var1 + demeaned indep var2 + demeaned indep var1*demeaned indep var2 + control variables.

Comment