cov_yxz_gen {lsasim}R Documentation

Generate analytical covariance matrix

Description

Generate analytical covariance matrix

Usage

cov_yxz_gen(vcov_yxw, w_names, Phi, pr_grp_1, n_ind, n_fac, Lambda, var_z)

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


[Package lsasim version 2.1.5 Index]