gen_Sigma | R Documentation |
Random covariance matrix generation. This routine uses either the method of diagonal dominance or an autoregressive time series structure. The Diagnoal dominance does not produce large correlations but a wider variety or struture.
gen_Sigma(d, ar1 = FALSE, phi = 0.5)
d |
The dimensionality of the desired Covariance matrix |
ar1 |
The method that should be used. If FALSE(default) then diagnal dominance is used. If TRUE then an AR time series matrix used. |
phi |
The AR parameter. Only needed or used when ar1=TRUE |
Sigma A positive definate Covariance matrix.
gen_Sigma(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.