Statistical reference / Distribution Tables

Hypergeometric Distribution Table

Exact probabilities for uniform sampling without replacement, with finite-population parameters, full supports and a worked comparison.

Jump to lookup ↓Formula cheat sheet

Count successes without replacement

N is the population size, K the number of success items, n the number drawn uniformly without replacement, and X the success count. Its support is max(0, n − (N − K)) through min(n,K), inclusive.

P(X=k)=(Kk)(N−Kn−k)(Nn).P(X=k)=\frac{\binom Kk\binom{N-K}{n-k}}{\binom Nn}.

The expected count is nK/N. For N > 1, the variance is n(K/N)(1 − K/N)(N − n)/(N − 1). Draws are dependent because the population composition changes. A binomial model uses a different sampling mechanism.

Cells show exact probabilities P(X = k), rounded to four decimals. Impossible outcomes appear as 0.0000, but other 0.0000 cells can be positive probabilities rounded down.

Exact probabilities: N = 20, n = 5

kK = 2K = 3K = 4K = 5K = 6K = 7K = 8K = 10
00.55260.39910.28170.19370.12910.08300.05110.0163
10.39470.46050.46960.44020.38740.32280.25540.1354
20.05260.13160.21670.29350.35220.38740.39730.3483
30.00000.00880.03100.06770.11740.17610.23840.3483
40.00000.00000.00100.00480.01350.02930.05420.1354
50.00000.00000.00000.00010.00040.00140.00360.0163

Exact probabilities: N = 50, n = 10

kK = 5K = 10K = 15K = 20K = 25
00.31060.08250.01790.00290.0003
10.43130.26620.10310.02790.0050
20.20980.33690.24060.10830.0316
30.04420.21780.29790.22590.1076
40.00400.07850.21570.28010.2181
50.00010.01610.09490.21510.2748
60.00000.00190.02550.10340.2181
70.00000.00010.00410.03060.1076
80.00000.00000.00040.00530.0316
90.00000.00000.00000.00050.0050
100.00000.00000.00000.00000.0003

Exact probabilities: N = 100, n = 10

kK = 5K = 10K = 15K = 20
00.58380.33050.18080.0951
10.33940.40800.35680.2679
20.07020.20150.29190.3182
30.00640.05180.12970.2092
40.00030.00760.03450.0841
50.00000.00060.00570.0215
60.00000.00000.00060.0035
70.00000.00000.00000.0004
80.00000.00000.00000.0000
90.00000.00000.00000.0000
100.00000.00000.00000.0000

Exact probabilities: N = 100, n = 20

kK = 5K = 10K = 15K = 20
00.31930.09510.02620.0066
10.42010.26790.11910.0433
20.20730.31820.23630.1259
30.04780.20920.27110.2159
40.00510.08410.20040.2437
50.00020.02150.10080.1920
60.00000.00350.03550.1091
70.00000.00040.00890.0456
80.00000.00000.00160.0142
90.00000.00000.00020.0033
100.00000.00000.00000.0006
110.00000.00000.00000.0001
120.00000.00000.00000.0000
130.00000.00000.00000.0000
140.00000.00000.00000.0000
150.00000.00000.00000.0000
160.00000.00000.00000.0000
170.00000.00000.00000.0000
180.00000.00000.00000.0000
190.00000.00000.00000.0000
200.00000.00000.00000.0000

Worked example

Select two items uniformly from a hypothetical box of ten containing three defective items. Exactly one defect has probability C(3,1)C(7,1)/C(10,2) = 21/45 ≈ 0.4667. The binomial value with p = 0.3 would be 0.42 and is not exact for this design.

For a cumulative probability, sum exact cells across the desired support. These finite-support tables cover the whole support in each column; rounded sums may differ slightly from 1. Do not infer an upper tail from a truncated set of rows without accounting for omitted outcomes.

Continue

Study sampling methods and discrete distributions. SciPy specifies the model, support and parameter convention.

Make sense of the result

A critical value is one step in a test. Check your assumptions and choose the right method before drawing a conclusion.

Choose the right statistical test →

Statistics formula sheet

Essential formulas and critical values. Available to read, print, or download.

Open the reference