bundles / scipy latest / scipy / stats / _multivariate / _cholesky_invwishart_rvs
function
scipy.stats._multivariate:_cholesky_invwishart_rvs
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:2128
Signature
def _cholesky_invwishart_rvs(df: float, scale: np.ndarray, size: int, random_state: np.random.Generator) → np.ndarraySummary
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 occurs in the scope of this function.
Aliases
scipy.stats._multivariate._cholesky_invwishart_rvs