Hypergeometric Distribution#
The hypergeometric distribution models the probability of obtaining a specified number of successes in a fixed number of draws without replacement from a finite population containing a known number of successes and failures.
A hypergeometric random variable is denoted:
where
\(N\) = total number of objects available
\(M\) = total number of possible successes
\(n\) = sample size
\(x\) = number of successes in the sample
Probability Mass Function (PMF)#
The pmf of the hypergeometric distribution is as follows:
Expectation#
The expectation of the hypergeometric distribution is derived as follows.
Note the following:
In line (3), we the following: \(\binom{M}{x} = \frac{M}{x} \binom{M-1}{x-1}\).
In line (5), the variable \(x\) is substituted for \(y=x-1\)
When going from line (5) to line (6), we recognize that the summation is equal to \(1\) since \(Y \sim \text{Hypergeometric}(N-1,M-1,n-1)\)
Variance#
Here is the variance of the hypergeometric distribution: