bundles / scipy latest / scipy / stats / _multivariate / multivariate_hypergeom_gen / logpmf
function
scipy.stats._multivariate:multivariate_hypergeom_gen.logpmf
Signature
def logpmf ( self , x , m , n ) Summary
Log of the 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
logpmf: ndarray or scalarLog of the probability mass 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.logpmf