cov_yxz_gen: Generate analytical covariance matrix

View source: R/cov_yxz_gen.R

cov_yxz_genR 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


tmatta/lsasim documentation built on Aug. 25, 2023, 5:50 p.m.