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!
Related Posts with Mixed Logit model issue
Nearest Neighbor MatchingI am using Stata 16 for my analysis. I am trying to obtain treatment effects on the outcome variable…
sensitivity analysisDear all.. is there anyone who can guide we on sensitivity analysis on STATA..after performing prope…
Linear regression on estimation samlpe after multiple imputationI am conducting a multiple linear regression analysis on multiply imputed data. I wish to do a step…
How to export results from kmirnov test to latex?Hi! I am a new user of stata and I am unable to export results from "ks test" from stata to a latex …
Transformations of dependent variable or independent variable and growth ratesGood morning everyone I have two general questions that are confusing me for quite a while. Hopefu…
Subscribe to:
Post Comments (Atom)
0 Response to Mixed Logit model issue
Post a Comment