| phyperMolenaar | R Documentation |
Compute Molenaar's two normal approximations to the (cumulative
hypergeometric distribution phyper().
phyper1molenaar(q, m, n, k)
phyper2molenaar(q, m, n, k)
q |
(vector of) the number of white balls drawn without replacement from an urn which contains both black and white balls. |
m |
the number of white balls in the urn. |
n |
the number of black balls in the urn. |
k |
the number of balls drawn from the urn, hence in |
Both approximations are from page 261 of Johnson, Kotz & Kemp (1992).
phyper1molenaar is formula (6.91), and
phyper2molenaar is formula (6.92).
a numeric vector, with the length the maximum of the
lengths of q, m, n, k.
Martin Maechler
Johnson, Kotz & Kemp (1992): p.261
phyper,
pnorm.
## TODO -- maybe see ../tests/hyper-dist-ex.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.