Returns a matrix containing the MDIFF values (Reckase, 2009). Only supported for items of class 'dich' and 'graded'.
Arguments
- x
an object of class 'SingleGroupClass', or an object of class 'MultipleGroupClass' if a suitable
group
input were supplied- which.items
a vector indicating which items to select. If NULL is used (the default) then MDISC will be computed for all items
- group
group argument to pass to
extract.group
function. Required when the input object is a multiple-group model
References
Chalmers, R., P. (2012). mirt: A Multidimensional Item Response Theory Package for the R Environment. Journal of Statistical Software, 48(6), 1-29. doi:10.18637/jss.v048.i06
Reckase, M. D. (2009). Multidimensional Item Response Theory. Springer.
Author
Phil Chalmers rphilip.chalmers@gmail.com
Examples
if (FALSE) { # \dontrun{
mod <- mirt(Science, 2)
MDIFF(mod)
mod <- mirt(expand.table(LSAT7), 2)
MDIFF(mod)
} # }