person_item_lca_fit: Fit a Joint Person-Level Latent Class Model
Description
Fits one latent transition class per person across repeated items. Class
proportions are shared across items, while guessing probabilities are
item-specific. Parameters are estimated jointly by expectation-maximization.
An object of class guess_person_fit containing shared class
proportions, item-specific guessing probabilities, person-level posterior
probabilities, log-likelihood, and convergence information.
Arguments
pre_test
data frame of pre-test responses
pst_test
data frame of post-test responses
na_as
classification of NA responses
missing_action
structural missingness handling
item_fit
optional item-wise fit used to initialize the EM algorithm
max_iter
maximum EM iterations
tol
convergence tolerance
Details
This is distinct from item_lca_fit, which fits independent
class proportions for each item.