Method | Parameters | Description | |
rvs | M, n, N, loc=0, size=1, random_state=None | Generates random variates from a hypergeometric distribution. | |
pmf | k, M, n, N, loc=0 | Computes the probability mass function for a hypergeometric distribution. | |
logpmf | k, M, n, N, loc=0 | Computes the log of the probability mass function for a hypergeometric distribution. | |
cdf | k, M, n, N, loc=0 | Calculates the cumulative distribution function for a hypergeometric distribution. | |
logcdf | k, M, n, N, loc=0 | Computes the log of the cumulative distribution function for a hypergeometric distribution. | |
sf | k, M, n, N, loc=0 | Computes the survival function (also defined as 1 - cdf, but the sf is sometimes more accurate). |