Hi everyone,
I am not able to run the xtabond2 command when using an interaction between a dummy and continuous variable. The outcome shows "interactions not allowed and error r(101)". May I know the possible reasons and how can i solve it (without having to create a new variable x7 = dummy*x6)?
I am not able to run the xtabond2 command when using an interaction between a dummy and continuous variable. The outcome shows "interactions not allowed and error r(101)". May I know the possible reasons and how can i solve it (without having to create a new variable x7 = dummy*x6)?
Code:
xi: xtabond2 x1 l.x1 l.x3 l.x4 l.x5 dummy##l.x6 i.year, gmm (.x1 l.x3 l.x4 l.x6 ) iv( l.x5 i.year) noleveleq nodiffsargan twostep robust
Comment