Hello, I have got the following error message (translated from French to English) using "fitdistr" :
" Error in fitdistr(nira, "weibull") : optimization failed Furthermore : There are 50 warnings or more (use warnings() to see the first 50) " I used "fitdistr" in a loop and I think the loop stopped after 50 warnings. At that point of the loop, more than 2000 "fitdistr" had been done. So it seems that sometimes the optimization fails. Is it because of a bad starting point ? The mistakes were the following : "In dweibull(x, shape, scale, log) : production of NaN". Thank you very much P.S. : should I use better "survreg" ? [[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.