Learn R Programming

CDM (version 7.4-19)

IRT.IC: Information Criteria

Description

Computes several information criteria for objects which do have the logLik (stats) S3 method (e.g. din, gdina, gdm, ...) .

Usage

IRT.IC(object)

Arguments

object

Objects which do have the logLik (stats) S3 method.

Value

A vector with deviance and several information criteria.

See Also

See also anova.din for model comparisons. A general method is defined in IRT.compareModels.

Examples

Run this code
# NOT RUN {
#############################################################################
# EXAMPLE 1: DINA example information criteria
#############################################################################

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

#*** Model 1: DINA model
mod1 <- CDM::din( sim.dina, q.matrix=sim.qmatrix )
summary(mod1)
IRT.IC(mod1)
# }

Run the code above in your browser using DataLab