The table below collects the full anatomy of the hypergeometric distribution into a single reference card — its three parameters, support bounds, the PMF and CDF, the mean and variance formulas (including the finite-population correction), mode and median behavior, the binomial approximation, and a canonical card-drawing example.
| Aspect |
Formula / statement |
Note / example |
| Parameters |
N (population size), K (successes in population), n (sample size, n ≤ N) |
draws are made without replacement; trials are not independent |
| Support |
k ∈ {max(0, n − N + K), ..., min(n, K)} |
bounded by physical availability of successes and failures |
| PMF |
P(X = k) = C(K, k) · C(N − K, n − k) / C(N, n) |
favorable combinations over total combinations (Vandermonde's identity) |
| CDF |
F(k) = ∑i ≤ k C(K, i) · C(N − K, n − i) / C(N, n) |
no closed form; computed numerically |
| Expected value |
E[X] = n · K / N |
sample size × population proportion of successes |
| Variance |
Var(X) = n · (K/N) · ((N − K)/N) · ((N − n)/(N − 1)) |
binomial variance with p = K/N times the finite-population correction |
| Finite population correction |
(N − n) / (N − 1) — always ≤ 1; → 0 as n → N |
shrinks variance vs binomial; full census has zero variability |
| Mode and median |
mode = ⌊(n + 1)(K + 1) / (N + 2)⌋; median ≈ mean, found numerically |
both sit near nK/N; symmetric when K = N/2 |
| Binomial approximation |
Hypergeometric(N, K, n) ≈ Binomial(n, K/N) when N ≫ n |
rule of thumb: n < 0.05·N — depletion becomes negligible |
| Canonical example |
draw 5 cards from 52, count hearts: N = 52, K = 13, n = 5 |
E[X] = 1.25; P(X = 2) ≈ 0.274 |