Dear Stata Users,
I am wondering if anyone has a strategy to speed up the estimation of the cmxtmixlogit command?
I am estimating a set of choice models using a large panel dataset with approximately 60,000 cases and 200,000 observations. My preferred specification includes both fixed and random parameters, as well as a set of case-specific covariates.
Although I have also considered user-written commands such as mixlogit, I am using cmxtmixlogit due to its post-estimation capabilities with margins and its ease of specifying case-specific variables. I am aware that the cmxtmixlogit is not parallelized and hence using a multi-core computer with Stata MP (with e.g. 8 cores) or even a computing cluster would not improve the estimation speed. Due to the large sample size, it is also not feasible to set a small number of intpoints, as the models will not converge. The simulation procedure takes especially long when including additional (case-specific) covariates, such as week fixed effects (24 weeks x 5 alternatives) which amounts to a large number of covariates. So far, I have not been able to successfully estimate a model using all data and all covariates (and I have let the command run for up to a week).
I am hoping that there is something that I can tweak to be able to use the cmxtmixlogit command with my data. Any suggestions would be greatly appreciated.
Thanks,
Paul
Related Posts with Speeding up random parameter mixed-logit estimation (cmxtmixlogit) with large dataset
Thresholds displayed on ROC CurveI'm graphing a binary variable on a 7-category variable, and I'd like the 7 categories to be labeled…
How to use estat concordance in a validation sample Hi, I am trying to internally validate the Cox proportional hazard model. I have split data (70% on…
Transpose regression table, adding S.E. and P valueHello There, I am currently trying to transpose my regression results (i.e having one model in a ro…
Global macro for a directory using project fileThe following commands are fickle, not reliable, working sometimes and not at others. I use a projec…
nl with inequality constraints lead to bad local optima, with fixStataCorp has a helpful FAQ, How do I fit a linear regression with interval (inequality) constraints…
Subscribe to:
Post Comments (Atom)
0 Response to Speeding up random parameter mixed-logit estimation (cmxtmixlogit) with large dataset
Post a Comment