Learn R Programming

TAM (version 4.2-21)

IRT.expectedCounts: Extracting Expected Counts

Description

Extracts expected counts for models fitted in TAM. See CDM::IRT.expectedCounts for more details.

Usage

# S3 method for tam
IRT.expectedCounts(object, ...)

# S3 method for tam.mml IRT.expectedCounts(object, ...)

# S3 method for tam.mml.3pl IRT.expectedCounts(object, ...)

# S3 method for tamaan IRT.expectedCounts(object, ...)

# S3 method for tam.np IRT.expectedCounts(object, ...)

Value

See CDM::IRT.expectedCounts.

Arguments

object

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

...

Further arguments to be passed

Examples

Run this code
if (FALSE) {
#############################################################################
# EXAMPLE 1: Dichotomous data data.sim.rasch - extract expected counts
#############################################################################

data(data.sim.rasch)
# 1PL estimation
mod1 <- TAM::tam.mml(resp=data.sim.rasch)
# extract expected counts
IRT.expectedCounts(mod1)
}

Run the code above in your browser using DataLab