fit_measures {cSEM}R Documentation

Model fit measures

Description

Calculate fit measures.

Usage

calculateChiSquare(.object, .saturated = FALSE)

calculateChiSquareDf(.object)

calculateCFI(.object)

calculateGFI(.object, .type_gfi = c("ML", "GLS", "ULS"), ...)

calculateCN(.object, .alpha = 0.05, ...)

calculateIFI(.object)

calculateNFI(.object)

calculateNNFI(.object)

calculateRMSEA(.object)

calculateRMSTheta(.object)

calculateSRMR(
  .object = NULL,
  .matrix1 = NULL,
  .matrix2 = NULL,
  .saturated = FALSE,
  ...
)

Arguments

.object

An R object of class cSEMResults resulting from a call to csem().

.saturated

Logical. Should a saturated structural model be used? Defaults to FALSE.

.type_gfi

Character string. Which fitting function should the GFI be based on? One of "ML" for the maximum likelihood fitting function, "GLS" for the generalized least squares fitting function or "ULS" for the unweighted least squares fitting function (same as the squared Euclidean distance). Defaults to "ML".

...

Ignored.

.alpha

An integer or a numeric vector of significance levels. Defaults to 0.05.

.matrix1

A matrix to compare.

.matrix2

A matrix to compare.

Details

See the Fit indices section of the cSEM website for details on the implementation.

Value

A single numeric value.

Functions


[Package cSEM version 0.5.0 Index]