Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

calculateDf

Degrees of freedom


Description

Calculate the degrees of freedom for a given model from a cSEMResults object.

Usage

calculateDf(
  .object     = NULL,
  .null_model = FALSE,
  ...
  )

Arguments

.object

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

.null_model

Logical. Should the degrees of freedom for the null model be computed? Defaults to FALSE.

...

Ignored.

Details

Although, composite-based estimators always retrieve parameters of the postulated models via the estimation of a composite model, the computation of the degrees of freedom depends on the postulated model.

See: cSEM website for details on how the degrees of freedom are calculated.

To compute the degrees of freedom of the null model use .null_model = TRUE. The degrees of freedom of the null model are identical to the number of non-redundant off-diagonal elements of the empirical indicator correlation matrix. This implicitly assumes a null model with model-implied indicator correlation matrix equal to the identity matrix.

Value

A single numeric value.

See Also


cSEM

Composite-Based Structural Equation Modeling

v0.4.0
GPL-3
Authors
Manuel E. Rademaker [aut, cre] (<https://orcid.org/0000-0002-8902-3561>), Florian Schuberth [aut] (<https://orcid.org/0000-0002-2110-9086>), Tamara Schamberger [ctb] (<https://orcid.org/0000-0002-7845-784X>), Michael Klesel [ctb] (<https://orcid.org/0000-0002-2884-1819>), Theo K. Dijkstra [ctb], Jörg Henseler [ctb] (<https://orcid.org/0000-0002-9736-3048>)
Initial release
2021-04-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.