[R] Problems with fitdistr

J. R. M. Hosking JRMH001 at gmail.com
Thu Jan 28 18:24:27 CET 2010


vikrant wrote:
> Hi,
> I want to estimate parameters of weibull distribution. For this, I am using
> fitdistr() function  in MASS package.But when I give fitdistr(c,"weibull") I
> get a Error as follows:- 
>      Error in optim(x = c(4L, 41L, 20L, 6L, 12L, 6L, 7L, 13L, 2L, 8L, 22L, 
> : 
>      non-finite value supplied by optim
> Any help or suggestions are most welcomed

Use function pelwei() in package lmom.


J. R. M. Hosking



More information about the R-help mailing list