lca_ll: log likelihood for lca

View source: R/summarize_results.R

lca_llR Documentation

log likelihood for lca

Description

log likelihood for lca

Usage

lca_ll(dat, theta_mat, pi_vec)

Arguments

dat

a binary matrix with rows for observations and columns for features (of the same dimension as in the training data)

theta_mat

a J by K matrix of positive response probabilities

pi_vec

a K-vector that sum to one; latent class proportions.

Value

log likelihood


zhenkewu/lotR documentation built on April 24, 2022, 2:36 a.m.