{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / _cholesky_invwishart_rvs

function

scipy.stats._multivariate:_cholesky_invwishart_rvs

source: /scipy/stats/_multivariate.py :2123

Signature

def   _cholesky_invwishart_rvs ( df : float scale : np.ndarray size : int random_state : np.random.Generator )  →  np.ndarray

Summary

Samples the lower Cholesky factor of a matrix following an inverse Wishart distribution.

Notes

Intended to be used as a step in the process for computing random variates of a matrix t distribution by appealing to its alternative form as a matrix mixture .. math mathcal{T}_{m,n}( mathrm{df}, mathrm{M}, Sigma, Omega ) = mathcal{N}_{m,n}( mathrm{M}, mathcal{W}^{-1}_m(mathrm{df} + m - 1, Sigma), Omega ) = mathcal{N}_{m,n}( mathrm{M}, Sigma, mathcal{W}^{-1}_n(mathrm{df} - n + 1, Omega) ) where is a matrix normal distribution and is an inverse Wishart distribution. Accordingly, the degrees of freedom adjustment occurrs in the scope of this function.

Aliases

  • scipy.stats._multivariate._cholesky_invwishart_rvs