Cholesky-variate Distributions
Distributions
#
Distributions.LKJCholesky
— Type
LKJCholesky(d::Int, η::Real, uplo='L')
The LKJCholesky
distribution of size with shape parameter is a distribution over LinearAlgebra.Cholesky
factorisations of real correlation matrices (positive-definite matrices with ones on the diagonal).
Variates or samples of the distribution are LinearAlgebra.Cholesky
objects, as might be returned by F = LinearAlgebra.cholesky(R)
, so that Matrix(F) ≈ R
is a variate or sample of LKJ
.
Sampling LKJCholesky
is faster than sampling LKJ
, and often having the correlation matrix in factorized form makes subsequent computations cheaper as well.
|
See LKJ
for more details.
External links
-
Lewandowski D, Kurowicka D, Joe H. Generating random correlation matrices based on vines and extended onion method, Journal of Multivariate Analysis (2009), 100(9): 1989-2001 doi: 10.1016/j.jmva.2009.04.008