Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Mar 20.
doi: 10.1037/met0000728. Online ahead of print.

Bayesian nonparametric latent class analysis with different item types

Affiliations

Bayesian nonparametric latent class analysis with different item types

Meng Qiu et al. Psychol Methods. .

Abstract

Latent class analysis (LCA) requires deciding on the number of classes. This is traditionally addressed by fitting several models with an increasing number of classes and determining the optimal one using model selection criteria. However, different criteria can suggest different models, making it difficult to reach a consensus on the best criterion. Bayesian nonparametric LCA based on the Dirichlet process mixture (DPM) model is a flexible alternative approach that allows for inferring the number of classes from the data. In this article, we introduce a DPM-based mixed-mode LCA model, referred to as DPM-MMLCA, which clusters individuals based on indicators measured on mixed metrics. We illustrate two algorithms for posterior estimation and discuss inferential procedures to estimate the number of classes and their composition. A simulation study is conducted to compare the performance of the DPM-MMLCA with the traditional mixed-mode LCA under different scenarios. Five design factors are considered, including the number of latent classes, the number of observed variables, sample size, mixing proportions, and class separation. Performance measures include evaluating the correct identification of the number of latent classes, parameter recovery, and assignment of class labels. The Bayesian nonparametric LCA approach is illustrated using three real data examples. Additionally, a hands-on tutorial using R and the nimble package is provided for ease of implementation. (PsycInfo Database Record (c) 2025 APA, all rights reserved).

PubMed Disclaimer