Learn R Programming

TAM (version 1.6-0)

predict: Expected Values and Predicted Probabilities for Fitted TAM Models

Description

Extracts predicted values from the posterior disribution for models fitted in TAM. See predict (CDM) for more details.

Usage

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

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

## S3 method for class 'tamaan':
predict(object, \dots)

Arguments

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

Value

  • List with entries for predicted values (expectations and probabilities) for each person and each item. See predict (CDM).

Examples

Run this code
#############################################################################
# EXAMPLE 1: Dichotomous data sim.rasch - predict method
#############################################################################
	
data(sim.rasch)
# 1PL estimation
mod1 <- tam.mml(resp=sim.rasch)
# predict method
prmod1 <- IRT.predict(mod1, sim.rasch)
str(prmod1)

Run the code above in your browser using DataLab