I believe this has to do with numeric issues in nonlinear fitting and interpolation, and is neither concerned with R programming nor trivial to answer. I therefore suggest you post on the stats.stackexchange.com for a fuller discussion of the issues.
Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." H. Gilbert Welch On Mon, May 19, 2014 at 7:42 AM, Jun Shen <jun.shen...@gmail.com> wrote: > Dear list, > > I have this nls model and trying to calculate the confidence interval for > some parameter. I found if I use the default value level=0.95, confint can > calculate a value; when I change the level=0.9, then it return :Error in > prof$getProfile() : number of iterations exceeded maximum of 50. > > The strange thing is if I use level=0.8, it is working again. Why is that? > How do I get an CI value for any level? Thanks. > > Jun Shen > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.