Generate analytical covariance matrix
Arguments
- vcov_yxw
covariance matrix between Y, X and W
- w_names
name of the W variables
- Phi
latent regression correlation matrix
- pr_grp_1
scalar or list of proportions of the first group
- n_ind
number of indicator variables
- n_fac
number of factors
- Lambda
matrix containing the factor loadings
- var_z
vector of variances of the background variables