Learn R Programming

mirt (version 0.5.0)

fitIndices: Compute Extra Model Fit Indices

Description

Compute additional model fit indecies 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)

Arguments

obj
an estimated model object from the mirt package

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 sparce so M2 would be more informative
(mod2 <- mirt(Science, 1))
fitIndices(mod2)

Run the code above in your browser using DataLab