Learn R Programming

mirt (version 0.8.0)

personfit: Person fit statistics

Description

personfit calculates the Zh values from Drasgow, Levine and Williams (1985) for unidimensional and multidimensional models. For Rasch models infit and outfit statistics are also produced. The returned object is a data.frame consisting either of the tabulated data or full data with the statistics appended to the rightmost columns.

Usage

personfit(x, method = "EAP", ...)

Arguments

x
a computed model object of class ExploratoryClass, ConfirmatoryClass, or MultipleGroupClass
method
type of factor score estimation method. See fscores for more detail
...
additional arguments to be passed to fscores()

References

Drasgow, F., Levine, M. V., & Williams, E. A. (1985). Appropriateness measurement with polychotomous item response models and standardized indices. Journal of Mathematical and Statistical Psychology, 38, 67-86. Reise, S. P. (1990). A comparison of item- and person-fit methods of assessing model-data fit in IRT. Applied Psychological Measurement, 14, 127-137.

See Also

itemfit

Examples

Run this code
#make some data
set.seed(1234)
a <- matrix(rlnorm(20),ncol=1)
d <- matrix(rnorm(20),ncol=1)
items <- rep('dich', 20)
data <- simdata(a,d, 2000, items)

x <- mirt(data, 1)
fit <- personfit(x)
head(fit)

Run the code above in your browser using DataLab