rmirror_wishart: Sample from the mirror-Wishart distribution.

Description Usage Arguments Details Value Author(s) References See Also

View source: R/equi_mcmc.R

Description

Given scale matrix Phi and degrees of freedom nu, rmirror_wishart will sample from the mirror-Wishart distribution.

Usage

1
rmirror_wishart(nu, Phi)

Arguments

nu

An integer. The degrees of freedom in the mirror-Wishart.

Phi

A matrix. The scale matrix of the mirror-Wishart.

Details

S is mirror-Wishart(ν,Φ) if

S = UV'VU',

where VV' is the lower triangular Cholesky decomposition of a Wishart(ν,I)-distributed random matrix and UU' is the upper triangular Cholesky decomposition of Φ. That is, V is lower triangular and U is upper triangular. For details on its applications, see Gerard and Hoff (2015).

Value

A matrix drawn from the mirror-Wishart distribution with nu degrees of freedom and scale matrix Phi.

Author(s)

David Gerard.

References

Gerard, D., & Hoff, P. (2015). Equivariant minimax dominators of the MLE in the array normal model. Journal of Multivariate Analysis, 137, 32-49. https://doi.org/10.1016/j.jmva.2015.01.020 http://arxiv.org/pdf/1408.0424.pdf

See Also

sample_right_wishart


dcgerard/tensr documentation built on Aug. 16, 2018, 9:56 a.m.