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

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 without measurement invariance across groups, as well as a model with measurement invariance across groups. Then, it asks you to use a likelihood ratio test to determine whether measurement invariance holds across groups and interpret all parameters in the appropriate model. It is recommended that you complete the exercise for the baseline LCA with all binary indicators model before completing this exercise.

Model Features

Model Category
Model Type
Indicator Type
Available Software
Measurement Invariance

Not Applicable

Approach to Outcomes

Not Applicable

Contributors

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.