Guys,
I'm having an error when I use the command:
library(MASS) dados-read.table(inverno.txt,header=FALSE)
vento50-fitdistr(dados[[1]],densfun=weibull)Mensagens de aviso perdidas:1:
In dweibull(x, shape, scale, log) : NaNs produzidos2: In dweibull(x, shape,
scale, log) : NaNs produzidos3: In
On Feb 21, 2012, at 9:24 AM, Vanúcia Schumacher wrote:
Guys,
I'm having an error when I use the command:
library(MASS) dados-read.table(inverno.txt,header=FALSE)
vento50-fitdistr(dados[[1]],densfun=weibull)Mensagens de aviso
perdidas:1: In dweibull(x, shape, scale, log) : NaNs
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
On Feb 21, 2012, at 11:43 AM, peter dalgaard wrote:
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.
Hi,
then, If I replace the midpoint 0.0025 average values equal to 0there won't be
prejudice in the results?Would then be the best thing to do?
regards,
Subject: Re: [R] help error: In dweibull(x, shape, scale, log) : NaNs
produzidos
From: pda...@gmail.com
Date: Tue, 21 Feb 2012 18:55
by modifying the likelihood, but then you essentially
have to rewrite fitdistr().)
Att,
Van�cia Schumacher
Curso de gradua��o em meteorologia - UFPEL
Bolsista do Programa de Educa��o Tutorial - PET
Subject: Re: [R] help error: In dweibull(x, shape, scale, log) : NaNs
produzidos
From: pda
6 matches
Mail list logo