bundles / scipy latest / scipy / stats / _multivariate / multivariate_hypergeom_gen / pmf
function
scipy.stats._multivariate:multivariate_hypergeom_gen.pmf
Signature
def pmf ( self , x , m , n ) Summary
Multivariate hypergeometric probability mass function.
Parameters
x: array_likeQuantiles, with the last axis of
xdenoting the components.m: array_likeThe number of each type of object in the population. That is, is the number of objects of type .
n: array_likeThe number of samples taken from the population.
Returns
pmf: ndarray or scalarProbability density function evaluated at
x
Notes
m must be an array of positive integers. If the quantile contains values out of the range where is the number of objects of type in the population or if the parameters are inconsistent with one another (e.g. x.sum() != n), methods return the appropriate value (e.g. 0 for pmf). If m or n contain negative values, the result will contain nan there.
Aliases
-
scipy.stats._multivariate.multivariate_hypergeom_gen.pmf