Learn R Programming

⚠️There's a newer version (1.0.2) of this package.Take me there.

mniw (version 1.0.1)

The Matrix-Normal Inverse-Wishart Distribution

Description

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.

Copy Link

Version

Install

install.packages('mniw')

Monthly Downloads

295

Version

1.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Martin Lysy

Last Published

August 22nd, 2022

Functions in mniw (1.0.1)

Hospitals

Hospital profiling data.
Wishart

Wishart and Inverse-Wishart distributions.
MNIW

Generate samples from the Matrix-Normal Inverse-Wishart distribution.
crossprodV

Matrix cross-product.
MatrixNormal

The Matrix-Normal distribution.
MatrixT

The Matrix-t distribution.
RxNormLM

Bayesian inference for a random-effects regression model.
mniw-package

Tools for the Matrix-Normal Inverse-Wishart distribution.
MultiNormal

The Multivariate Normal distribution.
rRxNorm

Conditional sampling for Multivariate-Normal Random-Effects model.