partialMI: partial MI model

Description Usage Arguments Value

View source: R/partialMI.R

Description

Estimate a single unidimensional partial MI model with a given anchor item set (aka cluster). Can currently deal with two-group models for metric items or dichotomous items (Rasch, 2PL, or probit model).

Usage

1
2
3
4
5
res <- partialMI(res_clusterItems = NULL,
                        anchor = NULL,
                        partialMIwhat = NULL,
                        silent = FALSE,
                        ...)

Arguments

res_clusterItems

Optional object generated by clusterItems. Alternatively, a MI model can be described using the arguments of testMI (see ...).

anchor

Either a number indicating which cluster from the results of clusterItems to use for anchoring, or a vector of item names which shall serve as anchors.

partialMIwhat

String, either "loadings", "difficulties", or c("loadings", "difficulties"). Has not to be specified when using res_clusterItems but when setting up a new MI model. This is an equivalent to clusterWhat in clusterMI.

silent

Do not print summary output? Defaults to FALSE.

...

Arguments of testMI, if testMI or clusterItems has not been called before to describe a measurement model.

Value

Parameter estimates of the model as defined by the model argument. Results are directly printed to the console but can be further inspected by l avaan's or mirt's functions.


Dani-Schulze/measurementInvariance documentation built on Jan. 28, 2022, 1:56 a.m.