bundles / scipy 1.17.1 / scipy / stats / _multivariate / dirichlet_multinomial_gen / cov
function
scipy.stats._multivariate:dirichlet_multinomial_gen.cov
Signature
def cov ( self , alpha , n ) Summary
Covariance matrix of a Dirichlet multinomial distribution.
Parameters
alpha: array_likeThe concentration parameters. The number of entries along the last axis determines the dimensionality of the distribution. Each entry must be strictly positive.
n: int or array_likeThe number of trials. Each element must be a non-negative integer.
Returns
out: array_likeThe covariance matrix of the distribution.
Aliases
-
scipy.stats._multivariate.dirichlet_multinomial_gen.cov