Learn R Programming

TAM (version 1.6-0)

IRT.likelihood: Extracting Individual Likelihood and Individual Posterior

Description

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

Usage

## S3 method for class 'tam':
IRT.likelihood(object, \dots)
## S3 method for class 'tam':
IRT.posterior(object, \dots)

## S3 method for class 'tam.mml':
IRT.likelihood(object, \dots)
## S3 method for class 'tam.mml':
IRT.posterior(object, \dots)

## S3 method for class 'tam.mml.3pl':
IRT.likelihood(object, \dots)
## S3 method for class 'tam.mml.3pl':
IRT.posterior(object, \dots)

## S3 method for class 'tamaan':
IRT.likelihood(object, \dots)
## S3 method for class 'tamaan':
IRT.posterior(object, \dots)

## S3 method for class 'tam.latreg':
IRT.likelihood(object, \dots)
## S3 method for class 'tam.latreg':
IRT.posterior(object, \dots)

Arguments

object
Object of class tam, tam.mml, tam.mml.3pl, tamaan or
...
Further arguments to be passed

Value

Examples

Run this code
#############################################################################
# EXAMPLE 1: Dichotomous data sim.rasch - extracting likelihood/posterior
#############################################################################
	
data(sim.rasch)
# 1PL estimation
mod1 <- tam.mml(resp=sim.rasch)
lmod1 <- IRT.likelihood(mod1)
str(lmod1)
pmod1 <- IRT.posterior(mod1)
str(pmod1)

Run the code above in your browser using DataLab