[R] number of iteration s exceeded maximum of 50

Berton Gunter gunter.berton at gene.com
Fri Jun 16 19:20:58 CEST 2006


My goodness! This is **NOT** a reproducible example. You need to give us the
exact data you fitted to reproduce your results/diagnose your problem.


-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
 
"The business of the statistician is to catalyze the scientific learning
process."  - George E. P. Box
 
 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Leaf Sun
> Sent: Friday, June 16, 2006 9:41 AM
> To: Uwe Ligges
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] number of iteration s exceeded maximum of 50
> 
> 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  gib4ve  a  reproducible  examle.
> 
> Uwe  Ligges
> 
> >  Leaf
> >  
> >   [[alternative  HTML  version  deleted]]
> >  
> >  ______________________________________________
> >  R-help at 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]]
> 
>



More information about the R-help mailing list