MatrixT | R Documentation |
Density and sampling for the Matrix-t distribution.
dMT(X, Lambda, SigmaR, SigmaC, nu, log = FALSE) rMT(n, Lambda, SigmaR, SigmaC, nu)
X |
Argument to the density function. Either a |
Lambda |
Mean parameter Either a |
SigmaR |
Between-row covariance matrix. Either a |
SigmaC |
Between-column covariance matrix Either a |
nu |
Degrees-of-freedom parameter. A scalar or vector of length |
log |
Logical; whether or not to compute the log-density. |
n |
Integer number of random samples to generate. |
The Matrix-T distribution X ~ Matrix-T(Λ, Σ, Ψ, ν) on a random matrix X_(p x q) is the marginal distribution of X in (X, V) ~ MNIW(Λ, Σ, Ψ, ν), where the Matrix-Normal Inverse-Wishart (MNIW) distribution is defined in mniw
.
A vector length n
for density evaluation, or an array of size p x q x n
for random sampling.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.