Hello everyone.
I'm trying to perform a mixlogit model on a panel of firm-level data across 14 years. I'm using STATA 14 and I already installed the lates version of mixlogit - ssc install mixlogit, replace-
However if I type
global randvars "agg_manuf logvlm"
mixlogit choice int_agg_logis_qgis int_agg_manuf int_agg_retail logvlr logvlm loggdp log_mkt_pot agg_manuf agg_local_retail_tot if ind=="logistics" , rand($randvars) group(firm) id(id)
This error appears:
The variable logvlm is specified to have both fixed and random coefficients.
Someone happens to know the problem?
Two notes: the agg_manuf variable is a stock of past investments, the second is a variable in LOG. I gather that the issue might be the scarce variability of the variables, infact
. summ agg_manuf logvlm if ind=="logistics"
Variable | Obs Mean Std. Dev. Min Max
-------------+---------------------------------------------------------
agg_manuf | 942,964 1.156987 2.235137 0 39
logvlm | 941,559 10.62834 1.814011 -2.184482 13.74838
Any help is very much appreciated!
0 Response to Mixed Logit model issue
Post a Comment