Hypergeometric distribution is a kind of discrete probability distribution in statistics. It describes the number of successful extraction of n objects from a finite number of objects (including M objects of the specified class) without putting them back. It is called hypergeometric distribution because its form is related to the coefficient of series expansion of "hypergeometric function".
The parameters of hypergeometric distribution are M, N, n, which are denoted as X~H (N, M, n).
This page is about the calculation of hypergeometric distribution. There are N elements in two categories.
There are M belonging to the first category and the remaining N-M belonging to the second category. Sampling from the ground
Take n, n is not greater than M or greater than N-M, let X denote the first class of the n elements
For the number of primes, X obeys the hypergeometric distribution.
Powered by TorCMS (https://github.com/bukun/TorCMS).