Description Usage Arguments Value References See Also Examples
Generate n random matrices, distributed according
to the Cholesky factorization of a Wishart distribution with
parameters Sigma
and df
, W_p(Sigma, df)
(known as the Bartlett decomposition
in the context of Wishart random matrices).
1 | rCholWishart(n, df, Sigma)
|
n |
integer sample size. |
df |
numeric parameter, "degrees of freedom". |
Sigma |
positive definite (p * p) "scale" matrix, the matrix parameter of the distribution. |
a numeric array, say R
, of dimension
p * p * n,
where each R[,,i]
is a Cholesky decomposition of a sample
from the Wishart distribution W_p(Sigma, df). Based on a
modification of the existing code for the rWishart
function.
Anderson, T. W. (2003). An Introduction to Multivariate Statistical Analysis (3rd ed.). Hoboken, N. J.: Wiley Interscience.
Mardia, K. V., J. T. Kent, and J. M. Bibby (1979) Multivariate Analysis, London: Academic Press.
A. K. Gupta and D. K. Nagar 1999. Matrix variate distributions. Chapman and Hall.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.