Description Usage Arguments Details Value Examples
This function generate random samples from Wishart distribution based on Bartlett’s decomposition.
1 | gen_Wisha(d, n, Sigma)
|
d |
the dimension of the square matrix |
n |
degrees of freedom |
Sigma |
scale matrix |
Let T=(T[ij]) be a lower triangular d T[ij] T[ii] Then the matrix A=TT^T has a W[d](I[d],n) distribution Obtain the Choleski factorization Sigma=LL^T,where L is a lower triangular Then LAL^T
The generated samples from W[d](Sigma,n)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.