Description Usage Arguments Details Value Author(s) References See Also
Samples from the square root of an inverse-gamma.
1 | sample_sig(X, phi_inv)
|
X |
An array. The tensor data. |
phi_inv |
A list of the current values of inverse of the lower-triangular Cholesky square root of the the component covariance matrices. This is equivalent to the transpose of the upper-triangular Cholesky square root of the inverse component covariance matrices.
|
This function provides a Gibbs update for the total variation parameter from
the MCMC implemented in equi_mcmc
. This corresponds to the square root
of an inverse-gamma distributed random variable whose parameters depend on
the data and the component covariance matrices. Roughly, this is the update
for the standard deviation, not the variance.
A numeric. The update for the total variation parameter in the MCMC
implemented in equi_bayes
.
David Gerard.
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
equi_mcmc
for a Gibbs sampler where this function is
used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.