Description Usage Arguments Value See Also
View source: R/rwishart_extension.R
Generate a Covariance matrix with expected value Sigma, and a random effect controlled by random_effect parameter
1 | generate_random_effect_sigma(Sigma, random_effect = NULL)
|
Sigma |
Expected value of the covariance matrix |
random_effect |
the control on the random effect size. for 0 < random_effect <= Inf, a covariance matrix with distribution Wishart(Sigma, q)/q is generated with q = p * (1 + 1/random_effect), so a larger random_effect size means a larger variance in the results. |
a covariance matrix with Expected value Sigma and variance roughly proportional to random_effect
Other rWishart2:
rWishart2()
,
rWishart_ARMA()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.