IRT.IC.Rd
Computes several information criteria for objects which do have
the logLik
(stats) S3 method
(e.g. din
, gdina
, gdm
, ...) .
IRT.IC(object)
Objects which do have the logLik
(stats)
S3 method.
A vector with deviance and several information criteria.
See also anova.din
for model comparisons.
A general method is defined in IRT.compareModels
.
#############################################################################
# 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)