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

calculateParameterDifference

Internal: Parameter differences across groups


Description

Calculate the difference between one or more paramater estimates across all possible pairs of groups (data sets) in .object.

Usage

calculateParameterDifference(
  .object     = args_default()$.object,
  .model      = args_default()$.model
)

Arguments

.object

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

.model

A model in lavaan model syntax indicating which parameters (i.e., path (~), loadings (=~), or weights (<~)) should be compared across groups. Defaults to NULL in which case all parameters of the model are compared.

Value

A list of length equal to the number of possible pairs of groups in .object (mathematically, this is n choose 2, i.e., 3 if there are three groups and 6 if there are 4 groups). Each list elements is itself a list of three. The first list element contains the difference between parameter estimates of the structural model, the second list element the difference between estimated loadings, and the third the difference between estimated weights.


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.