The Multivariate Hypergeometric distribution is created by extending the mathematics of the Hypergeometric distribution. For the Hypergeometric distribution with a sample of size n, the probability of observing s individuals from a sub-group of size M, and therefore (n-s) from the remaining number (M-D):