Predict trait scores of Thurstonian IRT models
# S3 method for TIRTfit
predict(object, newdata = NULL, ...)
A data frame with predicted trait scores.
An object of class TIRTfit
.
Optional TIRTdata
object (created via
make_TIRT_data
) containing data of new persons
for which trait scores should be predicted based on the fitted
model. If NULL
(the default), trait scores are predicted
for the persons whose data was used to originally fit the model.
Further arguments passed to the underlying methods.
When predicting trait scores of new persons (via newdata
),
posterior medians of item parameters are used for predictions. This implies
that the uncertainty in the new trait scores is underestimated as the
uncertainty in the (posterior distribution of) item parameters is ignored.