Learn R Programming

mirt (version 1.3)

M2: Compute M2 statistic

Description

Computes the M2 (Maydeu-Olivares & Joe, 2006) statistic and associated fit indicies. For now, only dichotomous models are supported.

Usage

M2(obj, calcNull = FALSE)

Arguments

obj
an estimated model object from the mirt package
calcNull
logical; calculate statistics for the null model as well? Allows for statistics such as the limited information TLI and CFI

References

Maydeu-Olivares, A. & Joe, H. (2006). Limited information goodness-of-fit testing in multidimensional contingency tables Psychometrika, 71, 713-732.

Examples

Run this code
dat <- expand.table(LSAT7)
(mod1 <- mirt(dat, 1))
M2(mod1)

Run the code above in your browser using DataLab