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?
Related Posts with Interaction between categorical and continous variable - MNL
how to calculate monthly incomei have different income earnings by day, week . and fortnight what should i do to get it all to mont…
How to flag multiple duplicatesStata version 16.1 Hello Stata experts, I am using the following code to flag duplicates between da…
Panel-Data: Fixed vs. Random with Hausmann testHello Statalist, In a scientific paper I would like to examine the effects of public debt on real e…
Loop Regression - Multiple Xs and YsHi, I have a situation where i need to regress multiple dependent variables with multiple independen…
Code for Cost-Effectiveness Acceptability CurveHello Does anyone have simple code to create a cost-effectiveness acceptability curve? I have a dat…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction between categorical and continous variable - MNL
Post a Comment