Compute the loglikelihood of a CLCM

compute_loglike(X, item.type, param, eta, categories.j)

Arguments

X

matrix of item responses

item.type

character vector of item types

eta

matrix operationalizing the condensation rules

categories.j

numeric vector of number of categories per item

Value

matrix of N by 2^K