IRT.itemfit | R Documentation |
This S3 method computes some selected item fit statistic.
IRT.itemfit(object, ...)
## S3 method for class 'din'
IRT.itemfit(object, method="RMSEA", ...)
## S3 method for class 'gdina'
IRT.itemfit(object, method="RMSEA", ...)
## S3 method for class 'gdm'
IRT.itemfit(object, method="RMSEA", ...)
## S3 method for class 'reglca'
IRT.itemfit(object, method="RMSEA", ...)
## S3 method for class 'slca'
IRT.itemfit(object, method="RMSEA", ...)
object |
Object of classes |
method |
Method for computing item fit statistic. Until now,
only |
... |
More arguments to be passed. |
Vector or data frame with item fit statistics.
For extracting the individual likelihood or posterior see
IRT.likelihood
or IRT.posterior
.
## Not run:
#############################################################################
# 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 )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.