Learn R Programming

TAM (version 2.13-15)

IRT.factor.scores: Extracting Factor Scores in TAM

Description

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

Usage

# 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

Value

See CDM::IRT.factor.scores.

Examples

Run this code
# NOT RUN {
#############################################################################
# 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" )
# }

Run the code above in your browser using DataLab