[R] help error: In dweibull(x, shape, scale, log) : NaNs produzidos
pdalgd at gmail.com
Tue Feb 21 17:43:07 CET 2012
On Feb 21, 2012, at 16:36 , David Winsemius wrote:
> It suggests you managed to send negative or infinite numbers to dweibull, a distribution which only supports values when given positive, finite numbers. Look at your data more closely.
Zeros are a common cause, too. For a < 1 (the shape parameter), the Weibull density has a singularity at zero, and fitdistr() is not tolerant of observations rounded to zero in such cases.
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help