cov_yfz_gen {lsasim}R Documentation

Generate latent regression covariance matrix

Description

Generates covariance matrix between Y, F and Z

Usage

cov_yfz_gen(n_ind, n_fac, Phi, n_z, sd_z, w_names, pr_grp_1)

Arguments

n_ind

number of indicator variables

n_fac

number of factors

Phi

latent regression correlation matrix

n_z

number of background variables

sd_z

standard deviation of background variables

w_names

names of W variables

pr_grp_1

scalar or list of proportions of the first group


[Package lsasim version 2.1.5 Index]