Thanks to Douglas and all others who responded.
I applied nls(y ~ a*x^b, start = list(a = a1, b = b1), control =
list(maxiter = 500), trace=TRUE) to increase the number of iterations, found
it successful. The suggestion Douglas raised in plotting the data and then
tracing the
On 6/16/06, Leaf Sun [EMAIL PROTECTED] wrote:
Sorry, I thought it was a straightforward question inside which I was stuck .
I used nls( ) to estimate a and b in this function.
nls(y~ a*x^b,start=list(a=a1,b=b1)
seems the start list I gave was not able to reach convergence and it gave
Leaf Sun wrote:
Hi all,
I found r-site-research not work for me these days.
When I was doing nls( ) , there was an error number of iterations exceeded
maximum of 50. I set number in nls.control which is supposed to control the
number of iterations but it didn't work well. Could anybody
Sorry, I thought it was a straightforward question inside which I was stuck .
I used nls( ) to estimate a and b in this function.
nls(y~ a*x^b,start=list(a=a1,b=b1)
seems the start list I gave was not able to reach convergence and it gave
notes: number of iteration s exceeded maximum of 50.
process. - George E. P. Box
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leaf Sun
Sent: Friday, June 16, 2006 9:41 AM
To: Uwe Ligges
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] number of iteration s exceeded maximum of 50
Sorry, I
Hi all,
I found r-site-research not work for me these days.
When I was doing nls( ) , there was an error number of iterations exceeded
maximum of 50. I set number in nls.control which is supposed to control the
number of iterations but it didn't work well. Could anybody with this
experience