Unlike the binomial distribution, where trials are independent, the hypergeometric distribution describes scenarios where objects are drawn without replacement. Suppose an urn contains items of which are labeled as successes. Drawing items without replacement leads to dependent outcomes because removing one item affects the probabilities of future draws.
The probability of obtaining exactly successes in your sample equals
This expression counts the number of favorable combinations over the total number of ways to draw items from .
The CDF sums the probabilities for all values up to . It tells you how likely it is to see at most successes in your sample. This is useful for quality inspection, card games, and any situation involving finite populations.
Compute the Boltzmann factor e^(-E/kT) to evaluate the relative probability of a system occupying a higher energy state at a given temperature.
Perform the nonparametric Kruskal-Wallis test on three or more samples and understand the ranking method behind it.
Compute the Pearson correlation between two sets of numbers to see how strongly they move together.