Yes, your "optimx" result tells me that Nelder-Mead did not converge. It was terminated because it exceeded the maximum number of iterations allowed. In "optimx" you can increase the `itnmax' argument from its default value to accomplish this.
Ravi. ------------------------------------------------------- Ravi Varadhan, Ph.D. Assistant Professor, Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of LC-Bea Sent: Monday, March 21, 2011 9:12 AM To: r-help@r-project.org Subject: Re: [R] BFGS and Neldear-Mead Sorry for posting too much! i found that in Nelder-Mead the result is "1" i run this algorith too many times with several data maybe the problem is that i have to give a bigger number of iterations LucĂa -- View this message in context: http://r.789695.n4.nabble.com/BFGS-and-Neldear-Mead-tp3388017p3393527.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.