Return correlation matrix using latent variable model
1 | gen.corrmat(g1, g2, lam1, lam2, rho)
|
g1 |
indexes for columns of corrmat-to-between. EG g1 = 1:4, g2 = 5:8 |
g2 |
see g1 |
lam1 |
loadings of g1 columns on first latent variable |
lam2 |
see lam1 |
rho |
correlation between latent variables |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.