bundles / scipy 1.17.1 / scipy / stats / _multivariate / dirichlet_multinomial_gen / var
function
scipy.stats._multivariate:dirichlet_multinomial_gen.var
Signature
def var ( self , alpha , n ) Summary
The variance of the 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 variances of the components of the distribution. This is the diagonal of the covariance matrix of the distribution.
Aliases
-
scipy.stats._multivariate.dirichlet_multinomial_gen.var