Learn R Programming

cbsem (version 1.0.0)

subcheckw: Function for use in checkw

Description

subcheckw computes the sum of squared differences of two formulas for the covariancematrix of composites

Usage

subcheckw(w, indicator, S, L, Scomp)

Arguments

w

vector of weights

indicator

vector describing with which exogenous composite the indicators are connected

S

covariance matrix of errors resulling from regession for loadings

L

matrix of loadings

Scomp

covariance matrix of composites

Value

out scalar, sum of squared differences