statable Statistics for study and research

Are there groups with similar answers? (latent classes, latent class analysis)

In brief

Latent classes (latent class analysis) are the sister of latent profiles for answers that are categories, for example yes/no or answer steps. The assumption: each person belongs, unknown, to one of K classes, and in each class the questions have their own answer probabilities. Within a class the answers are no longer to be related (local independence). Statable calculates the solutions for 1 to K classes and shows BIC, AIC and entropy for each. The number of classes is chosen by the human.

An example with real data

Seven pathologists rate 118 tissue slides, each as cancer yes or no (Agresti 2002; example "carcinoma" from poLCA). The BIC (smaller is better):

An example with real data
ClassesBICEntropyParameters
11082.3-7
2706.10.98615
3697.10.92623
4726.50.90231

A second example in which the classes are less sharp: four questions from the General Social Survey 1982 (1202 respondents, opinion about surveys). With 2 classes (80.8% and 19.2%) the entropy is only 0.703; the BIC is smallest at 3 classes (5650.9), only 7.8 below the value at 2 classes. Here the classes are usable for describing, but the assignment of individual respondents stays uncertain.

When do I use it?

When you suspect that people can be divided into a few groups by their pattern of answers to several yes/no or step questions (for example types of use or types of attitude), and want probabilities of membership. For measured numbers you use the latent profiles under cluster analysis.

Requirements

How it works in Statable

  1. Open a file with at least three columns that contain yes/no or a few answer steps (at most eight values per column).
  2. Run the question "Do my questions measure the same thing? (scale analysis, Cronbach's alpha)" with these columns.
  3. Under the result open "Are there groups with similar answers? (latent classes, latent class analysis)", choose the highest number of classes (2 to 6) and "Calculate classes". Ctrl+K: "latent classes".
  4. In the table of the numbers of classes look at BIC, entropy and smallest class, then choose "Number of classes to look at": the picture and tables show the answer probabilities per class.
  5. With "As R script with data (.zip)" you take the calculation with you; it needs only base R.

Statable calculates each solution with many random starting values (60, 25 with very large data) and shows the best, because the calculation (EM algorithm, Dempster et al. 1977) can get stuck in a merely locally best solution. The class numbers are only labels, ordered by size. Classes with fewer than 2 people do not count.

Reading and reporting the result

A latent class analysis with seven yes/no judgements (N = 118) compared solutions with 1 to 4 classes. The BIC was smallest at 3 classes (697.1), only 8.9 below the value at 2 classes (706.1); at 2 classes the entropy was 0.986. The solution with 2 classes (50.1% and 49.9%) was chosen because it fits almost as well and assigns more clearly.

Limits

What is often misunderstood

Sources

Nylund, K. L., Asparouhov, T. & Muthén, B. O. (2007). Deciding on the number of classes in latent class analysis and growth mixture modeling: A Monte Carlo simulation study. Structural Equation Modeling, 14, 535-569. Weller, B. E., Bowen, N. K. & Faubert, S. J. (2020). Latent class analysis: A guide to best practice. Journal of Black Psychology, 46, 287-311. Linzer, D. A. & Lewis, J. B. (2011). poLCA: An R package for polytomous variable latent class analysis. Journal of Statistical Software, 42(10), 1-29. Dempster, A. P., Laird, N. M. & Rubin, D. B. (1977). Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society B, 39, 1-38. The example data (carcinoma, gss82) come from the R package poLCA (GPL).

Take away

  • Latent classes: each person belongs, unknown, to one of K classes, in each the questions have their own answer probabilities; probabilities of membership are calculated.
  • Read BIC (smaller is better), entropy (near 1 = clear assignment), smallest class and meaning together; if two numbers of classes are close in the BIC, the simpler and clearer one counts.
  • Class numbers are only labels; classes are neither proven types nor true states.
  • For measured numbers use latent profiles, for yes/no and answer steps latent classes.

Related

Open in Statable