[R] How can I fixe convergence=1 in optim
Peng, C
cpeng.usm at gmail.com
Sun Sep 5 06:08:38 CEST 2010
To change the default maximum number of iterations (mxit =100 for derivative
based algorithm), add mxit = whatever number you want.
In most cases, you need a very good initial value! This is a real challenge
in using optim(). Quite often, if the initial values is not well selected,
optim() can give you nonsense estimates even the algorithm converges after
number of iterations.
--
View this message in context: http://r.789695.n4.nabble.com/How-can-I-fixe-convergence-1-in-optim-tp2527034p2527087.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list