[R] Extended Hypergeometric Distribution

Martin Maechler maechler at stat.math.ethz.ch
Wed Sep 21 14:10:48 CEST 2005

>>>>> "Narcyz" == Narcyz Ghinea <Narcyz.Ghinea at swsahs.nsw.gov.au>
>>>>>     on Wed, 21 Sep 2005 08:33:59 +1000 writes:

    Narcyz> By extended I mean multivariate. Technically it
    Narcyz> seems to refer to a very particular type of
    Narcyz> hypergeometric distribution i.e. "the multivariate
    Narcyz> Fisher's noncentral hypergeometric distribution"
    Narcyz> [ http://www.agner.org/random/theory/nchyp2.pdf ]

Thank you, Narcyz, for the clarification.

The paper you reference above mentions an implemenation in C++;
that should not be hard to interface to R, in theory at least

Martin Mächler

 >>>>> "Narcyz" == Narcyz Ghinea <Narcyz.Ghinea at swsahs.nsw.gov.au>
 >>>>>     on Mon, 19 Sep 2005 12:38:27 +1000 writes:

    Narcyz> Dear R Users,

    Narcyz> There exists a non-central hypergeometric
    Narcyz> distribution function in the (MCMCpack) package, and
    Narcyz> a hypergeometric distribution function in the
    Narcyz> (stats) package.

    Narcyz> Is there a function for sampling from an extended
    Narcyz> hypergeometric distribution?

 MM> what is "extended" ?
 MM> Do you mean "extended to include non-central"?

More information about the R-help mailing list