Dear Stata users,
I would like to generate interactions between categorical and continuous variable in MNL model. This is the code I am using:
xi: clogit choice Mov MovS Rst i.obs_MS#c.day1 i.obs_M#c.day1 i.obs_R#c.day1 , group(lp1)
Unfortunately this does not work.
This is the output I am getting
"interactions not allowed"
Is there a short way to gen such interactions?
0 Response to Interaction between categorical and continous variable - MNL
Post a Comment