what is the main reason of no convergence after of alot of iterations?

Hi there

sometimes when I run command file which uses cmlmt, Despite,  more iterations, could not get convergence.

I want to know, how can I deal with this? do make some changes in Algorithm setting, can be useful or I have to do somethings else?

2 Answers


There are a few common possibilities. If the surface of the log-likelihood function is relatively flat, the algorithm can have trouble finding a real local minimum. Also if the data is scaled poorly, there can be catastrophic cancellation in the computation of the derivatives. In that case, the algorithm will not be able to find a correct search direction.

What are your CMLMT control settings?


// Algorithm settings
struct cmlmtControl c0;
//c0.Switch={3 1, 0.1 0.1, 1 1, .001 .001};

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy