Multivariate t random values simulation:
Multivariate t random values simulation
Description
Multivariate t random values simulation.
Usage
rmvt(n, mu, sigma, v)
Arguments
n
The sample size, a numerical value.
mu
The mean vector in $R^d$.
sigma
The covariance matrix in $R^d$.
v
The degrees of freedom.
Value
A matrix with the simulated data.
Details
The algorithm uses univariate normal and chi-square random values and then generates multivariate t values via a spectral decomposition.This function is used by rcompt.
References
Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.