Solved – Mixing variable types in latent class/profile analysis

latent-classlatent-variablestata

Is there a way to use both binary and continuous variables in latent class/profile analysis? (Class being binaries, and profile being continuous, not sure what to call this.)

My lone continuous variable is really important, and making it dichotomous does not make sense theoretically.

(P.S. I'm using Stata 15's new gsem commands.)

Best Answer

Yes - below is an image taken from a LCA presentation by Chuck Huber from Stata. Note inclusion of a covariate.

enter image description here

You may be able to access the entire presentation from this link:

https://www.stata.com/training/webinar_series/latent-class-analysis/

Updated Response

Here is a general classification by indicator (manifest variable) and latent variable. 

Indicator    Latent           Analysis
Variable    Variable          Name
------------------------------------------
continuous  continuous    = (Latent) Factor Analysis
continuous  categorical   = Latent Profile Analysis
categorical continuous    = Latent Trait Analysis (also IRT)
categorical categorical   = Latent Class Analysis

From general structural models we know that both continuous and categorical can be used to predict latent variables, i.e.,

continuous -> latent variable
categorical -> latent variable

The question is whether one can mix indicator variables of different types to form the latent variable, i.e., 

latent variable -> continuous + categorical indicator variables

The answer is yes, and the general framework is sometimes call latent structure analysis or mixture models. Here are introductions.

https://www.statmodel.com/download/2006catcont1MBR.pdf
https://hummedia.manchester.ac.uk/institutes/methods-manchester/docs/lsa.pdf

Examples are shown in Mplus software. For instance, to see confirmatory factor analysis with both categorical and continuous indicators, see example 5.3 in user manual chapter 5. 

https://www.statmodel.com/ugexcerpts.shtml