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
sample size for specificty/sensitivityHi all, I would like to conduct a study to investigate the potential use of a protein (continuous) i…
Predicted latent variables from SEM estimationHi all, I am estimating a model with SEM, using the following command: Code: sem (visual -> v1,…
RoundsHi, I have conducted propensity score matching using working hours as my treatment variable and the…
Notes on hbar graphDear Statalist I have what seems to be a pretty straightforward question but I have not been able t…
PPML with negative values.I want to use a PPML estimator to see if there is an effect of variables like gdp p.c. distance etc…
Subscribe to:
Post Comments (Atom)
0 Response to Mixed Logit model issue
Post a Comment