Skip to content

dweibull retuns NaN instead of Inf (PR#9080)

1 message · Brian Ripley

#
This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--27464147-852712393-1152995865=:29235
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.LNX.4.64.0607152148581.29235 at gannet.stats.ox.ac.uk>

This is debatable: according to ?dweibull and ?dgamma both pdfs are 
defined with support (0, Inf), so in both cases the correct answer would 
appear to be 0.

This is in contrast to ?dexp which has the density defined on x >= 0.

It seems most references have the support as [0, Inf), in which case the 
problem is the evaluation of x log x or equivalent.

It seems we should change both the documentation and the result.
On Fri, 14 Jul 2006, goran.brostrom at gmail.com wrote: