These models include example Mplus code. Mplus and its corresponding documentation is available at www.statmodel.com. Note that we recommend the “combination add-on” version.

LCA: LCA with a grouping variable and without measurement variance

Description This code fits a 4-class, latent-class model for marijuana use and attitudes using 7 binary indicators of the latent class variable. It includes a grouping variable for year, and observations came from 3 different years. Measurement invariance across groups is not imposed resulting in an unrestricted latent class model with multiple groups. Software Downloads Latent Gold Mplus SAS Stata Exercise Exercise 4 This exercise asks you to add a grouping variable for year to a 4-class model for marijuana use and attitudes that uses 7 binary indicators of the latent class variable. It asks you to fit a model...

LPA: Baseline LPA with all continuous indicators and a covariate

Description This code fits a baseline, latent-profile model for the “Big 5” personality traits using 5 continuous indicators of the latent class variable and biological sex as a covariate. Software Downloads Latent Gold Mplus Exercise Exercise 6 This exercise asks you to select and interpret a latent profile model for the “Big 5” personality traits using 5 continuous indicators of the latent class variable as well as add a covariate for biological sex. Then, it asks you to interpret all parameters in the model. Note that, by default in most software packages, the variances of the indicators are restricted to...

LPA: Baseline LPA with all continuous indicators and a grouping variable with measurement invariance

Description This code fits a baseline, latent-profile model for the “Big 5” personality traits using 5 continuous indicators of the latent class variable and biological sex as the grouping variable. It also imposes measurement invariance across the groups. Software Downloads Latent Gold Mplus Exercise Exercise 6 This exercise asks you to select and interpret a latent profile model for the “Big 5” personality traits using 5 continuous indicators of the latent class variable as well as add a grouping variable for biological sex. Then, it asks you to interpret all parameters in the model. Please be sure to impose measurement...

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.