[R] fitting weibull distribution

Christian Ritz ritz at dina.kvl.dk
Thu Sep 23 19:52:15 CEST 2004


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




More information about the R-help mailing list