What is going on?
The hypergeometric distribution counts matches when you draw randomly without replacement. Of the N items in the pool, K match. A sample of n items with exactly k matches contains k of those K items and n − k of the others. Divide the number of ways to make that sample by the number of ways to draw any sample of size n. C(a, b) means the number of ways to choose b items from a without regard to order.
Work through it
- Enter the size of the starting pool and how many items count as a match.
- Choose how many items to draw and how many matches you are interested in.
- Compare the exact and cumulative probabilities. “At least” and “at most” both include the target number.
Put numbers to the idea
A bag holds 4 red marbles and 6 blue marbles. You draw 5 and want at least one red. Without replacement, 6 of the 252 possible five-marble samples contain only blue, so the chance of at least one red is 1 − 6/252 ≈ 97.6190%. If you return each marble and mix the bag before the next draw, the chance is 1 − (6/10)⁵ = 92.2240%.
A little more clarity
When should I use the hypergeometric distribution?
Use it to count matches in a fixed-size random sample drawn without replacement from a pool with a known number of matching items. Cards dealt from one deck and samples drawn from a small batch are common examples.
What is the difference between hypergeometric and binomial probability?
In the hypergeometric model, removing an item changes the remaining pool. In the binomial model, each draw is independent and the chance of a match stays the same.
How do I find the chance of at least one match?
Set the target matches to 1 and read the “At least 1 match” row. The calculator adds the probabilities for one or more matches, which equals one minus the chance of zero matches.