compute_post: Posterior distribution

View source: R/compute_post.R

compute_postR Documentation

Posterior distribution

Description

Compute the posterior distribution of a CLCM

Usage

compute_post(X, item.type, param, lprior, eta, categories.j)

Arguments

X

matrix of item responses

item.type

character vector of item types

param

list of item parameters

lprior

N by 2^K matrix of log of prior distribution

eta

matrix operationalizing the condensation rules

categories.j

numeric vector of number of categories per item

Value

matrix of N by 2^K


CJangelo/CLCM documentation built on May 22, 2022, 9:27 a.m.