Learn R Programming

mirt (version 0.8.0)

fitIndices: Compute Extra Model Fit Indices

Description

Compute additional model fit indices that do not come as direct results following parameter convergence. Will only compute the M2 (Maydeu-Olivares & Joe, 2006) statistic by default, and returns a list containing the requested statistics.

Usage

fitIndices(obj, prompt = TRUE)

Arguments

obj
an estimated model object from the mirt package
prompt
logical; prompt user for input if the internal matrices are too large?

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
#LSAT6 example
dat <- expand.table(LSAT6)
(mod1 <- mirt(dat, 1, itemtype = '1PL'))
fitIndices(mod1)

#Science data, much more sparse so M2 would be more informative
(mod2 <- mirt(Science, 1))
fitIndices(mod2)

Run the code above in your browser using DataLab