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
Reshaping problemI have this dataset: Array Where REER is the real effective exchange rate and AE, AF, etc. ar…
In Stata can I estimate robust standard errors AND cluster?Hi all, A thought, in Stata is it possible to estimate a fixed effects linear probability model wit…
Non convergence in regression with Multiple ImputationI am trying to run my regressions, but it always Shows the error: convergence not achieved convergen…
Generating a composite variable to reflect the number of answered questionsHello, I want to generate a composite variable “ppe” from 10 variables which have been coded 0 “no” …
Var and Diebold-Yilmaz indexHi everybody, I have some issues in understanding how to calculate Diebold-Yilmaz spillover index (D…
Subscribe to:
Post Comments (Atom)
0 Response to Speeding up random parameter mixed-logit estimation (cmxtmixlogit) with large dataset
Post a Comment