mniw: The Matrix-Normal Inverse-Wishart Distribution

Density evaluation and random number generation for the Matrix-Normal Inverse-Wishart (MNIW) distribution, as well as the the Matrix-Normal, Matrix-T, Wishart, and Inverse-Wishart distributions. Core calculations are implemented in a portable (header-only) C++ library, with matrix manipulations using the 'Eigen' library for linear algebra. Also provided is a Gibbs sampler for Bayesian inference on a random-effects model with multivariate normal observations.

Package details

AuthorMartin Lysy [aut, cre], Bryan Yates [aut]
MaintainerMartin Lysy <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the mniw package in your browser

Any scripts or data that you put into this service are public.

mniw documentation built on Aug. 22, 2022, 5:05 p.m.