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
Two Stage Least Squares with multiple Fixed Effects (using reghdfe)Dear Statalist, I am trying to estimate a two stage least squares where both stages contain multipl…
Combining Shapefiles and the households survey dataHello! I am working with the household survey with the Household Geocodes displaced at 10km buffer a…
Subsetting twice with independent group t-testsI'm looking to use an independent group t-test to compare the difference between students' grade est…
Dropping repeated columns from a matrixDear statalist, I have a matrix in which two or more columns are exactly same. Is there some way of…
Inequality analysisHi, I’am new in this forum, I don’t know if I posted in good place for my question, this is my first…
Subscribe to:
Post Comments (Atom)
0 Response to Mixed Logit model issue
Post a Comment