👉 In probability theory and statistics, a hypergeometric distribution is a discrete probability distribution that models the number of successes in a sample drawn from a larger population. It can be defined as:
P(X=k) = nCk
p^k
(1-p)^{n-k}
where:
- P(X=k) is the probability of k successes in a sample of size n,
- nCk is the number of combinations of choosing k items from n, which can be calculated using