Learn R Programming

CDM (version 4.991-1)

IRT.itemfit: S3 Methods for Computing Item Fit

Description

This S3 method computes some selected item fit statistic.

Usage

IRT.itemfit(object, ...)
"IRT.itemfit"(object, method="RMSEA", ...)
"IRT.itemfit"(object, method="RMSEA", ...)
"IRT.itemfit"(object, method="RMSEA", ...)
"IRT.itemfit"(object, method="RMSEA", ...)

Arguments

object
Object of classes din, gdina, gdm or slca.
method
Method for computing item fit statistic. Until now, only method="RMSEA" (see itemfit.rmsea) can be used.
...
More arguments to be passed.

Value

Vector or data frame with item fit statistics.

See Also

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

Examples

Run this code
## Not run: 	
# #############################################################################
# # EXAMPLE 1: DINA model item fit
# #############################################################################
# 
# data(sim.dina)
# data(sim.qmatrix)
# 
# # estimate model
# mod1 <- din(sim.dina, sim.qmatrix)
# # compute item fit
# IRT.itemfit( mod1 )
# ## End(Not run)

Run the code above in your browser using DataLab