gscmcovff: 'gscmcovff' determines the covariance matrix of a GSC model...

Description Usage Arguments Value Examples

View source: R/CovGSCmodel_ff.r

Description

gscmcovff determines the covariance matrix of a GSC model belonging to scenario ff.

Usage

1
gscmcovff(B, indicatorx, indicatory, wx, wy, Sxixi, R2 = NULL)

Arguments

B

(q,q) lower triangular matrix describing the interrelations of the latent variables: b_ij = 1 regression coefficient of eta_j in the regression relation in which eta_i is the depend variable b_ij = 0 if eta_i does not depend on eta_j in a direct way (b_ii = 0 !)

indicatorx

vector describing with which exogenous composite the X-variables are connected

indicatory

vector describing with which endogenous composite the Y-variables are connected

wx

vector of weights for building exogenous composites or NULL when loadings are present

wy

vector of weights for building endogenous composites or NULL when loadings are present

Sxixi

covariance matrix of exogenous composites

R2

vector of coefficients of determination for regressions belonging to the structural model

Value

out list with components

S covariance matrix of manifest variables
B (q,q) lower triangular matrix with possibly modified coefficients of the structural model
Scomp covariance matrix of composites
wx vector of weights for building exogenous composites
wy vector of weights for building endoogenous composites

Examples

1
2
3
4
5
6
7
B <- matrix(c(0,0,0, 0,0,0, 0.7,0.4,0),3,3,byrow=TRUE) 
indicatorx <- c(1,1,1,2,2,2)
indicatory <- c(1,1,1)   
Sxixi <- matrix(c(1.0, 0.01, 0.01, 1),2,2)    
wx <- c(0.46, 0.31, 0.32, 0.34, 0.40, 0.37)
wy <- c(0.41, 0.39, 0.37)    
out <- gscmcovff(B,indicatorx,indicatory,wx,wy,Sxixi,R2=NULL)

cbsem documentation built on May 2, 2019, 5:56 a.m.

Related to gscmcovff in cbsem...