powered by
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)
List with mean and variance
Number of successes in the population
Number of failures in the population
Sample size
dhyper
mhyper(m = 20, n = 30, k = 10)
Run the code above in your browser using DataLab