Re: (PR#7393) Re: [Rd] dhyper() does not allow non-integer values for

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Thu 25 Nov 2004 - 04:32:15 EST

tlumley@u.washington.edu writes:

> >
> > dhyper() does not allow non-integer values for input parameters m and n.
> >
> > this is in contrast to the other functions in the _hyper() "family",
>
> I would argue that the bug was in the other functions. If not, there is a=
> =20
> bug in the documentation, which gives no way to tell what the result=20
> should mean for non-integer m, n, k.

My initial reaction too (and surely it is not a bug that functions behave inconsistently in regions where they are not documented to work at all), but on the other hand, noninteger m,n do appear to give a well-defined distribution, and perhaps there's a way of making sense of it? I wouldn't think it corresponds to noncentral hypergeometric distributions.

> =09-thomas

(who is suddenly coming across in quoted-unreadable?)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Nov 25 05:12:49 2004

This archive was generated by hypermail 2.1.8 : Thu 25 Nov 2004 - 06:11:40 EST