predict | R Documentation |
Extracts predicted values from the posterior distribution for models fitted in TAM.
See CDM::predict
for more details.
## S3 method for class 'tam.mml'
predict(object, ...)
## S3 method for class 'tam.mml.3pl'
predict(object, ...)
## S3 method for class 'tamaan'
predict(object, ...)
object |
Object of class |
... |
Further arguments to be passed |
List with entries for predicted values (expectations and probabilities) for each person and each item.
See predict
(CDM).
#############################################################################
# EXAMPLE 1: Dichotomous data sim.rasch - predict method
#############################################################################
data(data.sim.rasch)
# 1PL estimation
mod1 <- TAM::tam.mml(resp=data.sim.rasch)
# predict method
prmod1 <- IRT.predict(mod1, data.sim.rasch)
str(prmod1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.