Learn R Programming

cSEM (version 0.5.0)

calculateCorrectionFactors: Internal: Calculate PLSc correction factors

Description

Calculates the correction factor used by PLSc.

Usage

calculateCorrectionFactors(
 .S               = args_default()$.S,
 .W               = args_default()$.W,
 .modes           = args_default()$.modes,
 .csem_model      = args_default()$.csem_model,
 .PLS_approach_cf = args_default()$.PLS_approach_cf
 )

Value

A numeric vector of correction factors with element names equal to the names of the J constructs used in the measurement model.

Arguments

.S

The (K x K) empirical indicator correlation matrix.

.W

A (J x K) matrix of weights.

.modes

A vector giving the mode for each construct in the form "name" = "mode". Only used internally.

.csem_model

A (possibly incomplete) cSEMModel-list.

.PLS_approach_cf

Character string. Approach used to obtain the correction factors for PLSc. One of: "dist_squared_euclid", "dist_euclid_weighted", "fisher_transformed", "mean_arithmetic", "mean_geometric", "mean_harmonic", "geo_of_harmonic". Defaults to "dist_squared_euclid". Ignored if .disattenuate = FALSE or if .approach_weights is not PLS-PM.

Details

Currently, seven approaches are available:

  • "dist_squared_euclid" (default)

  • "dist_euclid_weighted"

  • "fisher_transformed"

  • "mean_geometric"

  • "mean_harmonic"

  • "mean_arithmetic"

  • "geo_of_harmonic" (not yet implemented)

See Dijkstra2013cSEM for details.

References