The hypergeometric distribution is a discrete probability distribution that describes the probability of \(k\) successes in \(n\) draws, without replacement, from a finite population of size \(N\) that contains exactly \(K\) successes.
The probability mass function of the hypergeometric distribution is given by:
\[P(X = k) = \frac{\binom{K}{k} \binom{N-K}{n-k}}{\binom{N}{n}}\]
Where:
Let's work through a practical example to understand the hypergeometric distribution better:
Problem: In a bag containing 20 marbles, 8 are red and 12 are blue. If we randomly draw 5 marbles without replacement, what is the probability of getting exactly 3 red marbles?
Given values:
Solution:
\[P(X = 3) = \frac{\binom{8}{3} \binom{12}{2}}{\binom{20}{5}} = \frac{56 \cdot 66}{15504} \approx 0.2378 \text{ or } 23.78\%\]
This diagram represents our example. The large circle represents the total population of 20 marbles, with the blue section showing the 8 red marbles. The smaller circle represents our sample of 5 draws, with the green section showing the 3 successful draws of red marbles.
We can create a free, personalized calculator just for you!
Contact us and let's bring your idea to life.