Hello,
I am trying to estimate the mixlogit using the below syntax:
mixlogit choice distance fac_type alt_dum*, rand(oop) group(case_id)
where oop, distance, and fac_type are alternative-specific variables and I would like a random coefficient for the variable oop.
In addition, I also include dummies for alternatives, in the alt_dum* variables. When I run this, I receive the error message:
"At least one variable has been specified to have both fixed and random coefficients"
Could anyone please help explain why I had this error message?
The syntax works fine without the alternative dummies, or without all the alternative dummies.
Any help is very much appreciated.
Many thanks,
Yen.
Related Posts with Issue with dummy variables in mixlogit
 Mean of a variable by multiple variables in the same tableHi.
In my data there are 20 variables (var1- var20) which are deciles created based on different fa… Mean of a variable by multiple variables in the same tableHi.
In my data there are 20 variables (var1- var20) which are deciles created based on different fa…
 Do the regression for only one company each and saving them to an excel/doc (ASDOC)Hi everybody,
I do have a panel dataset where every company has a unique ID (-company-) and their r… Do the regression for only one company each and saving them to an excel/doc (ASDOC)Hi everybody,
I do have a panel dataset where every company has a unique ID (-company-) and their r…
 ivreghdfeHello all,
i try to do an iv regression with fixed effetcs (industry and year) and want to cluster … ivreghdfeHello all,
i try to do an iv regression with fixed effetcs (industry and year) and want to cluster …
 merging multiple excel file from a folder using key variable household id and monthI have many excel files in a folder and each data file contains variable VDS_ID and SUR_MON_YR.
I wa… merging multiple excel file from a folder using key variable household id and monthI have many excel files in a folder and each data file contains variable VDS_ID and SUR_MON_YR.
I wa…
 Panel DataHey everyone,
I'm fairly new to using Stata, so im still getting use to everything. I am using unbal… Panel DataHey everyone,
I'm fairly new to using Stata, so im still getting use to everything. I am using unbal…
Subscribe to:
Post Comments (Atom)
0 Response to Issue with dummy variables in mixlogit
Post a Comment