What is the proper way to perform Latent Class Analysis in Python? What is the proper way to perform Latent Class Analysis in Python? python python

What is the proper way to perform Latent Class Analysis in Python?


At the moment, there is no package that provides LCA support in python. There are, however, many packages using different algorithms to perform LCA in R, for example (see the CRAN directory for more details):

  • BayesLCA Bayesian Latent Class Analysis
  • LCAextend Latent Class Analysis (LCA) with familial dependence in extended pedigrees
  • poLCA Polytomous variable Latent Class Analysis
  • randomLCA Random Effects Latent Class Analysis

Although not the same, there is a hierarchical clustering implementation in sklearn, you could check if that suits your needs.