[R] help error: In dweibull(x, shape, scale, log) : NaNs produzidos

2012-02-21 Thread Vanúcia Schumacher
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

Re: [R] help error: In dweibull(x, shape, scale, log) : NaNs produzidos

2012-02-21 Thread David Winsemius
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

Re: [R] help error: In dweibull(x, shape, scale, log) : NaNs produzidos

2012-02-21 Thread peter dalgaard
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

Re: [R] help error: In dweibull(x, shape, scale, log) : NaNs produzidos

2012-02-21 Thread David Winsemius
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.

Re: [R] help error: In dweibull(x, shape, scale, log) : NaNs produzidos

2012-02-21 Thread Vanúcia Schumacher
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

Re: [R] help error: In dweibull(x, shape, scale, log) : NaNs produzidos

2012-02-21 Thread R. Michael Weylandt michael.weyla...@gmail.com
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