Hypergeometric Distribution Calculator

Hypergeometric distribution graphing calculator

Probability mass function

Hover to compare all visible distributions at the same x. Dashed lines mark each mean.

Side-by-side summary

DistributionMeanStd. dev.ModeRangeSkewness

How hypergeometric distribution graphing calculator works?

The hypergeometric distribution graphing calculator draws up to 3 hypergeometric distributions on one chart, as a probability mass function (PMF) or a cumulative distribution function (CDF), with a side-by-side summary of each shape.

  1. Enter up to 3 setsN, K and n for each distribution; tick the sets to show.
  2. Pick the graphPMF for P(X = x) or CDF for P(X ≤ x).
  3. Pick the styleGrouped bars or lines with markers.
  4. Shared x-axisOne axis from the smallest to the largest possible x.
  5. CompareHover a value for exact probabilities; read the summary table.
How the hypergeometric distribution graphing calculator works

Hypergeometric distribution formula for graphing

The graph plots P(X = x) = C(K, x) · C(N − K, n − x) / C(N, n) for every x from max(0, n + K − N) to min(n, K), and the CDF adds the bars from the left.

P(X = x)=C(K, x)×C(N − K, n − x)÷C(N, n)
CDF: P(X ≤ x) = Σ P(X = i) for i ≤ x
  • C(K, x)Ways to draw x successes; sets the height of each bar together with the next term
  • C(N − K, n − x)Ways to draw the n − x failures
  • C(N, n)All samples; scales the bars so they add to 1
0.000.250.500.310600.431310.209820.044230.004041e-45
Skewed graph: N = 50, K = 5, n = 10 (P(X = 0) = 0.3106)
0.000.200.403e-400.005010.031620.107630.218140.274850.218160.107670.031680.005093e-410
Symmetric graph: N = 50, K = 25, n = 10 (P(X = 5) = 0.2748)

Hypergeometric distribution graphing calculator FAQ

How do you graph a hypergeometric distribution?

Plot x from max(0, n + K − N) to min(n, K) on the horizontal axis and P(X = x) on the vertical axis as bars. The graphing calculator draws up to 3 distributions at once, as a probability mass function (PMF) or a cumulative distribution function (CDF).

What does the shape of a hypergeometric graph depend on?

The shape depends on K/N and the sample size n. K close to N/2 gives a symmetric graph; K far from N/2 gives a skewed graph. A larger n spreads the graph, and the finite population correction keeps the spread below the binomial spread.

Can a TI-84 graph a hypergeometric distribution?

Yes, enter the PMF in Y= with nCr and view it as a table or a dot plot. Y1 = (20 nCr X)(30 nCr (10 − X))/(50 nCr 10) graphs N = 50, K = 20, n = 10. Set Xmin = 0, Xmax = 10 and TblStep = 1.

What is the difference between the PMF and CDF graphs?

The PMF graph shows P(X = x) for each value, and the CDF graph shows P(X ≤ x) as a rising step curve from 0 to 1. The x where the CDF first reaches 0.5 is the median.