Hi there,
I am running three-level growth curve models and receiving the error message "WARNING: IGLS algorithm failed to converge. Increase the number of iterations. See the maxiterations() option."
I'm not sure why this is happening because I have set the maximum iterations to be 16000 using the syntax "set maxiter 16000,perm" at the start of my do-file but my models are all stopping after 20 iterations.
I know that I can specify the number of iterations for each model using the maxiter(#) subcommand but I'd like to be able to specify the iterations at the start to cover all the models in my do-file.
Many thanks,
Elisabeth
Maximising iterations
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: Maximising iterations
We currently don't use the Stata maxiter setting in runmlwin, so unfortunately what you are trying to do won't work. Probably the closest you can get would be to store the desired maximum in a local and then put that into all the runmlwin subcommands in your file. Alternatively you could write a short command of your own that calls runmlwin with this setting and then use that instead.
Re: Maximising iterations
Hi Chris,
Thanks for your response, that's cleared up my confusion,
Elisabeth
Thanks for your response, that's cleared up my confusion,
Elisabeth