[Rd] nls (PR#1532)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Thu, 9 May 2002 14:29:27 +0200 (MET DST)


On Thu, 9 May 2002 scs10@st-andrews.ac.uk wrote:

> I'm having a problem with nls:
>
> it iterates the correct number of times according to nls.control, but
> mis-reports how many iterations have occured!
>
> It converges on the correct parameter values, but doesn't stop and report
> them until it's done all its iterations. Then it reports as an error that
> it's stopped becaue it's done all its iterations.
>
> Not sure what's going on....

But I suspect you have more idea than we do.  Please read the section on
BUGS in the FAQ and send us a reproducible example.

(The iteration count is a *limit*, so sounds as if nls is not converging
if it does that number of iterations.)

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._