Learn R Programming

TAM (version 4.2-21)

IRT.likelihood: Extracting Individual Likelihood and Individual Posterior

Description

Extracts individual likelihood and posterior for models fitted in TAM. See CDM::IRT.likelihood for more details.

Usage

# S3 method for tam
IRT.likelihood(object, ...)
# S3 method for tam
IRT.posterior(object, ...)

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

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

# S3 method for tamaan IRT.likelihood(object, ...) # S3 method for tamaan IRT.posterior(object, ...)

# S3 method for tam.latreg IRT.likelihood(object, ...) # S3 method for tam.latreg IRT.posterior(object, ...)

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

Value

See CDM::IRT.likelihood.

Arguments

object

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

...

Further arguments to be passed

Examples

Run this code
#############################################################################
# EXAMPLE 1: Dichotomous data data.sim.rasch - extracting likelihood/posterior
#############################################################################

data(data.sim.rasch)
# 1PL estimation
mod1 <- TAM::tam.mml(resp=data.sim.rasch)
lmod1 <- IRT.likelihood(mod1)
str(lmod1)
pmod1 <- IRT.posterior(mod1)
str(pmod1)

Run the code above in your browser using DataLab