Dear all, I get the following error message. And I cannot quite work out what is wrong. I think the optim gets infinite values. Certainly my data do not have any infinite values. How can I solve this? fitdistr(A1, "weibull") Error in optim(start, mylogfn, x = x, hessian = TRUE, ...) : non-finite value supplied by optim I am using R version 1.9.1 on RedHat Linux, Kernel 2.6.8. Ulrich
Hi. I think there may be one or more zeros in your data set, causing the problem: x <- rgamma(100) fitdistr(x, "weibull") fitdistr(c(x,0), "weibull") Maybe you should omit the zeros. Christian
Possibly Parallel Threads
- fitdistr, mle's and gamma distribution
- HELP ERROR Weibull values must be > 0
- Optimization failed in fitting mixture 3-parameter Weibull distri bution using fitdistr()
- Distribution fitting problem
- Fitting weibull, exponential and lognormal distributions to left-truncated data.