Syntax
| Parameter | Description |
|---|---|
| sample_s | Parameter of the HYPGEOMDIST function. |
| num_sample | Parameter of the HYPGEOMDIST function. |
| pop_s | Parameter of the HYPGEOMDIST function. |
| num_pop | Parameter of the HYPGEOMDIST function. |
Examples
3 red balls from a bag
=HYPGEOMDIST(3, 5, 10, 30)
1 woman on a 4-person committee
=HYPGEOMDIST(1, 4, 8, 20)
No tagged fish in recapture
=HYPGEOMDIST(0, 10, 50, 500)
Common Errors
Arguments must be non-negative integers within valid ranges. sample_s <= min(num_sample, pop_s) and num_sample <= num_pop.
Occurs when arguments are non-numeric.
Tips
HYPGEOMDIST always returns the exact (PMF) probability. Use HYPGEOM.DIST with cumulative=TRUE for 'at most k' questions.
This is the compatibility version. HYPGEOM.DIST is the modern replacement offering a cumulative parameter.
The order is: successes in sample, sample size, successes in population, population size. A common mistake is swapping sample size and population successes.
Try HYPGEOMDIST in Viztab
Import your data and use HYPGEOMDIST with 370+ other formulas. No signup required.
Open Viztab