Extracts factor scores for models fitted in TAM. See CDM::IRT.factor.scores for more details.

# S3 method for tam
IRT.factor.scores(object, type="EAP", ...)

# S3 method for tam.mml
IRT.factor.scores(object, type="EAP", ...)

# S3 method for tam.mml.3pl
IRT.factor.scores(object, type="EAP", ...)

# S3 method for tamaan
IRT.factor.scores(object, type="EAP", ...)

Arguments

object

Object of class tam, tam.mml, tam.mml.3pl or tamaan.

type

Type of factor score to be used. type="EAP" can be used for all classes in TAM while type="WLE" and type="MLE" can only be used for objects of class tam.mml. Further arguments to the used function tam.wle can be specified with ....

...

Further arguments to be passed

Examples

if (FALSE) {
#############################################################################
# EXAMPLE 1: data.sim.rasch - Different factor scores in Rasch model
#############################################################################

data(data.sim.rasch)
# 1PL estimation
mod1 <- TAM::tam.mml(resp=data.sim.rasch)
# EAP
pmod1 <- IRT.factor.scores( mod1 )
# WLE
pmod1 <- IRT.factor.scores( mod1, type="WLE" )
# MLE
pmod1 <- IRT.factor.scores( mod1, type="MLE" )
}