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
Having time-specific control and IV variablesHello everyone, I am currently working on a data set that has both a year variable along with pertin…
Transform time series into panel dataDear Statalist experts, I have the following time series of the US population by city and state in 2…
Ask help for xttobit model with fixed effect.Stata cannot execute fixed effect panel tobit model of course, but what if I doubt the result of ran…
Exports at current or constant USD prices in gravity modelDear all. I am working in a gravity model with a large number of observations (133 exporters and 13…
Saving Colors from a Custom SchemeI am working on creating a custom color/graph scheme for my workplace. Everything has worked well ex…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction between categorical and continous variable - MNL
Post a Comment