Learn R Programming

matrixsampling

Simulation of matrix variate distributions

This package allows to simulate some matrix variate distributions: the matrix normal distribution, the matrix t-distribution, the matrix inverted t-distribution, the Wishart distribution, the Beta type I distribution, the Beta type II distribution, and more. A particular feature is the possibility to simulate the noncentral Wishart distribution with any fractional number of degrees of freedom.

Install

You can install:

  • the latest released version from CRAN
install.packages("matrixsampling")
  • the latest development version
devtools::install_github("stla/matrixsampling")

Find a bug ? Suggestion for improvement ?

Please report at https://github.com/stla/matrixsampling/issues.

Copy Link

Version

Install

install.packages('matrixsampling')

Monthly Downloads

272

Version

2.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Stc3<a9>phane Laurent

Last Published

August 24th, 2019

Functions in matrixsampling (2.0.0)

rmatrixCHIIkind2

Sampler of the matrix variate type II confluent hypergeometric kind two distribution
rmatrixt

Matrix t sampler
rmatrixit

Matrix inverted-t sampler
rmatrixbetaII

Matrix Beta II sampler
rwishart_chol

Sampling Cholesky factor of a Wishart matrix
rwishart

Wishart sampler
rmatrixgamma

Matrix Gamma sampler
rmatrixCHIkind2

Sampler of the matrix variate type I confluent hypergeometric kind two distribution
rmatrixCHkind1

Sampler of the matrix variate confluent hypergometric kind one distribution
rmatrixbeta

Matrix Beta sampler
rmatrixnormal

Matrix normal sampler
rinvwishart

Inverse-Wishart sampler