averageR2w: For use in boottestgscm.

Description Usage Arguments Value

View source: R/boottestgscm.r

Description

averageR2w computes the weighted average of average of coefficients of determination for the structural parts of a segmented GSC model

Usage

1
2
averageR2w(dat, B, indicatorx, indicatory, loadingx = FALSE,
  loadingy = FALSE, member)

Arguments

dat

(n,p)-matrix, the values of the manifest variables. The columns must be arranged in that way that the components of refl are (absolutely) increasing.

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

loadingx

logical TRUE when there are loadings for the X-variables in the model

loadingy

logical TRUE when there are loadings for the Y-variables in the model

member

vector of length n, indicating the cluster the observation belongs to

Value

r scalar, 'global' r2 coefficiet of determination


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

Related to averageR2w in cbsem...