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
Order of layersHi! If we consider different plots in a twoway graph as layers and if we don't change the order of p…
xline codeDear Statalists,
Hope you are all well. Is there any code to adjust the diagram (as shown below)? I…
Random selection of observations in a variableHi,
I have a dataset with 1500 each for 46 countries. But I want to make a random selection of coun…
Stata 16 undo redoHi all
I am sorry but I have a basic issue:
I just moved from a very old Stata version (Stata 11) to…
Correlated RE Ordered Probit modeld: meaning of option i(pid)Dear Statalist users,
I am estimating a Correlated RE Ordered Probit model in a panel context, whic…
Subscribe to:
Post Comments (Atom)
0 Response to Speeding up random parameter mixed-logit estimation (cmxtmixlogit) with large dataset
Post a Comment