We are running some models that sometimes fail to converge, e.g. in 1000 simulations 76 did not converge. We have found that changing the maximization options can often work wonders. However, I am wondering if this is all hit or miss or if some strategies tend to be more effective than others.
Specifically, Stata's default is
technique(nr)
When that hasn't worked, we have tried things like
technique(nr bhhh)
technique (nr bhhh dfp bfgs)
technique (nr bhhh dfp bfgs) difficult
All often help, some more than others, but rather than just improvise each time it would be nice to know if some options tend to be more successful than others.
Also, Stata defaults to 16,000 iterations. Has anybody ever actually had a model that converged on iteration 15,974? My own experience is that either a model converges in well under 100 iterations or it doesn't converge at all. My suspicion is that, rather than letting something iterate forever, you are better off limiting it to 100 iterations and then switching to different maximization techniques. But I don't know if my experiences are typical.
In case it matters, I am still using the hopelessly antiquated Stata 13.1. But if somebody tells me that the maximization techniques have dramatically improved in 14 I will upgrade ASAP. The models are being estimated with the sem command. Thanks for any suggestions.
Specifically, Stata's default is
technique(nr)
When that hasn't worked, we have tried things like
technique(nr bhhh)
technique (nr bhhh dfp bfgs)
technique (nr bhhh dfp bfgs) difficult
All often help, some more than others, but rather than just improvise each time it would be nice to know if some options tend to be more successful than others.
Also, Stata defaults to 16,000 iterations. Has anybody ever actually had a model that converged on iteration 15,974? My own experience is that either a model converges in well under 100 iterations or it doesn't converge at all. My suspicion is that, rather than letting something iterate forever, you are better off limiting it to 100 iterations and then switching to different maximization techniques. But I don't know if my experiences are typical.
In case it matters, I am still using the hopelessly antiquated Stata 13.1. But if somebody tells me that the maximization techniques have dramatically improved in 14 I will upgrade ASAP. The models are being estimated with the sem command. Thanks for any suggestions.
Comment