This repository provides R code implementing Gibbs sampler for matrix generalized inverse Gaussian (MGIG) distributions, as proposed by the following paper.
Hamura, Y., Irie, K. and Sugasawa, S. (2023). Gibbs sampler for matrix generalized inverse Gaussian distribution. Journal of Computational and Graphical Statistics, in press. (arXiv:2302.09707)
The repository includes the following files.
MGIG-MCMC-function.R
: Implementation of Gibbs sampler and existing sampling algorithms to generate multiple random samples from MGIGMGIG-sampler.R
: Implementation of sampling algorithms for MGIG as one-step update (This can be implemented as a part of MCMC algorithm)PGGM-function.R
: Implementing MCMC algorithm for partial Gaussian Graphical models (PGGM)MVST-function.R
: Implementing MCMC algorithm for matrix-variate skew-t (MVST) distributionsExample-generation.R
: Comparison of sampling algorithms for MGIGExample-PGGM.R
: One-shot simulation study with PGGMExample-MVST.R
: Example of fitting MVST distributions to landsat satellite datasat.trn
: Landsat satellite data