Description Usage Arguments Details Value Author(s) Examples
Generates multivariate normal data from the RAM matices, and p dimensional vector of means.
1 | gendat_mvn_ram(n, A, S, F, I, mu = NULL, ...)
|
n |
Sample size. |
A |
Asymmetric paths, such as regression coefficients and factor loadings. |
S |
Symmetric matrix representing variances and covariances. |
F |
Filter matrix used to select the observed variables. |
I |
Identity matrix. |
mu |
p dimensional mean vector. Defaults to zeros if unspecified. |
... |
Arguments to pass to |
The function interally uses the
ram
function
to derive the
Σ_{p \times p}
matrix from the matices provided.
The generated
Σ_{p \times p}
matrix is then used together with the
p dimensional
vector of means to generate data using
gendat_mvn
.
Returns an n \times p multivariate normal data matrix generated using the variance-covariance matrix derived from the RAM matrices and the mean vector provided.
Ivan Jacob Agaloos Pesigan
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.