
Run pairwise models and compute decrease in fit
incrementalFit.RdRuns two MGCFA models for each possible pair of groups and computes change in fit.
Arguments
- ...
The arguments passed to
pairwiseFit. Required arguments are'model','data', and'group'.- level
Character. A model set to be computed. The function will compute a decrease in fit between two models:
- metric
(default) between configural and metric models.
- scalar
between metric and scalar models.
- at.once
between configural and scalar models.
- intercepts.first
between configural and model with equal intercepts/thresholds, but free loadings (Wu & Estabrook, 2017's step one). Appropriate when all the indicators are ordlinal.
- intercepts.scalar
between a model with equal intercepts/thresholds, but free loadings and a full scalar model (Wu & Estabrook, 2017's step two). Appropriate when all the indicators are ordlinal.
- quiet
Logical. If TRUE, suppresses the output messages.
Value
Returns a list with detailed output on every available fit index, and a large matrix used for plotting with plotDistances