IRT.classify.Rd
Computes individual classifications based on a fitted model.
IRT.classify(object, type="MLE")
Fitted model for which methods IRT.likelihood
and
IRT.posterior
are defined.
Type of classification: "MLE"
(maximum likelihood estimate) or
"MAP"
(maximum of posterior distribution)
List with entries
Individual classification
Class index of individual classification
Maximum value corresponding to individual classification
See IRT.factor.scores
for similar functionality.
if (FALSE) {
#############################################################################
# EXAMPLE 1: Individual classification data.ecpe
#############################################################################
data(data.ecpe, package="CDM")
dat <- data.ecpe$dat[,-1]
Q <- data.ecpe$q.matrix
#** estimate GDINA model
mod <- CDM::gdina(dat, q.matrix=Q)
summary(mod)
#** classify individuals
cmod <- CDM::IRT.classify(mod)
str(cmod)
}