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. Then I put  nls.control(maxiter = 50, tol = 1e-05, minFactor = 1/1024) in nls(.. ), and modified the argument of maxiter = 500. But it worked out as the same way and noted : number of iteration s exceeded maximum of 50. I have totally no idea how to set this parameter MAXITER.

Thanks for any information!

Leaf


>  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  tell  me  how  to  fix  it?  Thanks  in  advance!

We  cannot  make  suggestions  unless  you  tell  us  what  you  tried  yourself.
Id  possible,  please  gib´ve  a  reproducible  examle.

Uwe  Ligges

>  Leaf
>  
>   [[alternative  HTML  version  deleted]]
>  
>  ______________________________________________
>  R-help@stat.math.ethz.ch  mailing  list
>  https://stat.ethz.ch/mailman/listinfo/r-help
>  PLEASE  do  read  the  posting  guide!  http://www.R-project.org/posting-guide.html

	[[alternative HTML version deleted]]

