Hi there,
I am running a mixed logit model using the user written command mixlogit on Stata 16/MP8 with only one random coefficients and around 100 additional (constant) parameters to estimate. I have a very large number of observations (NXJ is more than 200 millions). Convergence is not an issue. The main problem is the time it takes to compute each iteration of the Sim Lik. I have tried with a few random sub-samples and have some questions on how to improve on speed for the overall sample:
1. I noticed that speed is quite sensitive to the number of halton draws -- nrep(#) option. How small is too small in order to increase speed at the cost of inducing noise and bias in the estimated coefficients?
2. Does the number of halton draws affect only the estimates of the random coefficients or also the other estimates of the model? I did not find any monte-carlo result on this, any suggestions?
3. Any other trick to improve speed in this case? What about the number of initial sequence elements to drop when creating Halton sequence? Can I reduce this to a very small number through the burn(#) option since I have only random coefficient?
Thanks a lot in advance for your attention and time. Best,
Matteo
Related Posts with Speeding up Mixlogit with large datasets
Collinearity with time dummies in FE, but not in REHey, I'm trying to fit a panel regression. I start by using: HTML Code: xtset Year country_id I th…
Repeated-Measure Ancova with Participants Randomized within Each Treatment/ConditionI think I want to use Repeated-Measure Anova command, "anova, repeated ()" or "wsanova" commands bas…
Linear Regression for pre-post testHi everyone, I would like some help for a linear regression model. I'm trying to compare the outcom…
New package: xtbreak - module for detecting and dating multiple structural breaks in time series and panel dataI am excited to announce a new package on SSC (thanks to Kit Baum): xtbreak. xtbreak provides resea…
Again on revisiting the role of p-valueDear All, those interested in this debate may find the following article interesting: https://ift.tt…
Subscribe to:
Post Comments (Atom)
0 Response to Speeding up Mixlogit with large datasets
Post a Comment