These models include example R code for latent class models. Information about the package needed to fit each model is available in that model’s description.

Models are currently in development and will be published soon. Please sign up to our mailing list below to be informed of when they are published. 

MLCA: Non-parametric approach with covariates at the day-level and person-level

This code fits a 2-level latent-class model with covariates using a “non-parametric approach.” This model simultaneously estimates day-level classes of substance-related consequences and person-level classes that group individuals based on proportion of each type of day. This model includes covariates at each level to estimate associations with both the day-level and person-level classes.

MLCA: Non-parametric approach without covariates

This code fits a 2-level latent-class model without covariates using a “non-parametric approach.” This model simultaneously estimates day-level classes of substance-related consequences and person-level classes that group individuals based on proportion of each type of day.

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.