mhyper | R Documentation |
Formula:
\mu = k \cdot \frac{m}{m + n}
\mathrm{Var}(X) = k \cdot \frac{m}{m + n} \cdot \frac{n}{m + n} \cdot \frac{m + n - k}{m + n - 1}
mhyper(m, n, k)
m |
Number of successes in the population |
n |
Number of failures in the population |
k |
Sample size |
List with mean and variance
dhyper
mhyper(m = 20, n = 30, k = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.