[R] convergence value in optim
Brigitta Voss
voss at statistik.uni-dortmund.de
Sat Jul 1 17:42:53 CEST 2000
Dear all,
I have a problem with the value of the function optim
optim(startingvalues,fct,NULL,method="BFGS",
control=list(maxit=300,trace=TRUE,REPORT=1))
In the helpfile for it is said that
$convergence
is an integer code and
0 indicates successful convergence
1 indicates that the iteration limit maxit had been reached
So while using it, I played with different values for maxit and even if
I'm setting
maxit=2 ( so the algorithm can't be converged) the value of $convergence
is 0.
Can anyone give me a hint what's going wrong..
and is there another parameter who is indicating the convergence oof
the algorithm?
I am confused. Thanks for any help.
Brigitta Voss
--
Brigitta Voss ///////
Fachbereich Statistik U N I D O ///
Universität Dortmund ______///////
44221 Dortmund, Germany \_\_\_\/////
\_\_\_\///
Tel.: +49 (0)231 755 5409 \_\_\_\/
E-Mail: voss at .statistik.uni-dortmund.de
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list