Learn R Programming

CDM (version 8.2-6)

IRT.marginal_posterior: S3 Method for Computation of Marginal Posterior Distribution

Description

Computes marginal posterior distributions for fitted models in the CDM package.

Usage

IRT.marginal_posterior(object, dim, remove_zeroprobs=TRUE, ...)

# S3 method for din IRT.marginal_posterior(object, dim, remove_zeroprobs=TRUE, ...) # S3 method for gdina IRT.marginal_posterior(object, dim, remove_zeroprobs=TRUE, ...) # S3 method for mcdina IRT.marginal_posterior(object, dim, remove_zeroprobs=TRUE, ...)

Value

List with entries

marg_post

Marginal posterior distribution

map

MAP estimate (individual classification)

theta

Skill classes

Arguments

object

Object of class din, gdina, mcdina

dim

Numeric or character vector indicating dimensions of posterior distribution which should be marginalized

remove_zeroprobs

Logical indicating whether classes with zero probabilities should be removed

...

Further arguments to be passed

See Also

IRT.posterior