All of the models presented here add advanced features to “baseline” static and dynamic latent class models. This includes information about latent class moderation, adding inverse propensity score weights to models, multilevel latent class models, and associative latent transition analysis, among other topics. Note that these models fall under the broad classification of loglinear modeling with latent variables.

LCA: Latent class moderation

This code demonstrates how to use a latent class moderator to examine heterogeneity in intervention effects among adolescents receiving treatment for cannabis use. First, the code identifies latent classes of contextual and individual risk at baseline using LCA. Then, it uses an adjusted 3-step approach with BCH weights to regress the outcomes on level of care, latent class membership, the interaction between them, and covariates.

Let’s stay in touch.

We are in this together. Receive an email whenever a new model or resource is added to the Knowledge Base website.