I'd like to model a data set using Latent Class Analysis (LCA) using Python. I've found the Factor Analysis class in sklearn, but I'm not confident that this class is equivalent to LCA.
Does a package or class for LCA exist in Python?
I'd like to model a data set using Latent Class Analysis (LCA) using Python. I've found the Factor Analysis class in sklearn, but I'm not confident that this class is equivalent to LCA.
Does a package or class for LCA exist 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):
Although not the same, there is a hierarchical clustering implementation in sklearn, you could check if that suits your needs.
StepMix provides LCA models in Python. Features include an sklean API and support for missing values.