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
Generalized/Staggered DiD w/ state variationHello all, I'm considering running a generalize/staggered differences-in-differences model to analy…
skewed GARCHHello Statalist, I'm a Ph.D student and I'm currently working on my project, basically I'm trying to…
program mimrgns already defined (error occurred while loading MIMRGNS.ado)Hi Statalisters, I have mi data and I want to obtaing ajusted mean and CI after "mi estimate, post:…
Interpretation OLS residualHi, I don't know how interpret the OLS of residuals. There is my code : Code: *model 4 CD regress …
Is it okay to use lagged variable as my instrument when using control function?Hello, I am having a hard time dealing with endogeneity problems in my data, and recently I found a …
Subscribe to:
Post Comments (Atom)
0 Response to Interaction between categorical and continous variable - MNL
Post a Comment