class_probabilities: Extract latent class probabilities from a rater fit object
Description
Extract latent class probabilities from a rater fit object
Usage
class_probabilities(fit, ...)
# S3 method for mcmc_fit
class_probabilities(fit, ...)
# S3 method for optim_fit
class_probabilities(fit, ...)
Value
A I * K matrix where each element is the probably of item i being
of class k. (I is the number of items and K the number of classes).
Arguments
fit
A rater fit object.
...
Extra arguments.
Details
The latent class probabilities are obtained by marginalising out
the latent class and then calculating, for each draw of pi and theta, the
conditional probability of the latent class given the other parameters
and the data. Averaging these conditional probabilities gives the
(unconditional) latent class probabilities retuned by this function.