Re: [Rd] qpois errors for degenerate distribution (PR#14135)

From: <maechler_at_stat.math.ethz.ch>
Date: Mon, 14 Dec 2009 15:35:22 +0100 (CET)


>>>>> "JL" == Jerry Lewis <Jerry.Lewis@biogenidec.com>
>>>>> on Mon, 14 Dec 2009 11:15:10 +0100 (CET) writes:

    JL> Full_Name: Jerry W. Lewis Version: 2.10.0 OS: XP     JL> Professional Submission from: (NULL) (96.237.55.233)

    JL> For a degenerate Poisson distribution (lambda==0),
    JL> qpois(p,0,lower.tail) should return 0 for any valid p,
    JL> but qpois(1,0) and qpois(0,0,F) incorrectly return Inf.

It's very much a borderline case.

But you are right. This will be fixed in the next versions of R, but not yet in R 2.10.1 released a few hours ago ... ;-)

Martin Maechler, ETH Zurich



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 14 Dec 2009 - 14:37:50 GMT

This archive was generated by hypermail 2.2.0 : Mon 14 Dec 2009 - 21:01:06 GMT