Learn R Programming

CDM (version 8.2-6)

IRT.itemfit: S3 Methods for Computing Item Fit

Description

This S3 method computes some selected item fit statistic.

Usage

IRT.itemfit(object, ...)

# S3 method for din IRT.itemfit(object, method="RMSEA", ...)

# S3 method for gdina IRT.itemfit(object, method="RMSEA", ...)

# S3 method for gdm IRT.itemfit(object, method="RMSEA", ...)

# S3 method for reglca IRT.itemfit(object, method="RMSEA", ...)

# S3 method for slca IRT.itemfit(object, method="RMSEA", ...)

Value

Vector or data frame with item fit statistics.

Arguments

object

Object of classes din, gdina, gdm, slca, reglca.

method

Method for computing item fit statistic. Until now, only method="RMSEA" (see itemfit.rmsea) can be used.

...

More arguments to be passed.

See Also

For extracting the individual likelihood or posterior see IRT.likelihood or IRT.posterior.

Examples

Run this code
if (FALSE) {
#############################################################################
# EXAMPLE 1: DINA model item fit
#############################################################################

data(sim.dina, package="CDM")
data(sim.qmatrix, package="CDM")

# estimate model
mod1 <- CDM::din( sim.dina, q.matrix=sim.qmatrix)
# compute item fit
IRT.itemfit( mod1 )
}

Run the code above in your browser using DataLab