Questions tagged [latent-class]

A latent class model has a number of categorical manifest variables and one or more categorical latent variables.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Is it possible to fit a latent class regression where the latent class is grouped by 1 variable, but there is a random intercept by another variable?

The data generating process I am interested in is the following: $$y_i=\beta_g x_i+\epsilon_t+\epsilon_i$$ $$S(i)=s, G(s)=g$$ What this means is that that the $i$th observation, which is made of ...
Chechy Levas's user avatar
  • 1,255
0 votes
0 answers
75 views

Is there a way to make a latent class a predictor of a latent growth model?

I was wondering if it is possible to run a second-order latent growth model, where latent classes can be added as a covariate? I have three variables of which I have 7 repeated measures, say, variable ...
naz's user avatar
  • 23
1 vote
0 answers
52 views

Is it possible to implement Growth Mixture Models/Latent Class Mixed Models in Python? If so, how? R has packages such as lcmm and flexmix for this [closed]

R has lots of support for Finite Mixture Models, as well as specialized packages for more specific Mixture Models for approaches such as Latent Class Mixed Models (lcmm package) and Growth Mixture ...
JElder's user avatar
  • 919
1 vote
1 answer
203 views

When to use Mixture Models (e.g., Latent Class Analysis) vs. Cluster Analysis (e.g., K-Means) for segmenting subpopulations?

I have watched a video describing the differences between Cluster Analysis and Mixture Models. https://www.youtube.com/watch?v=HwsMZwhO7wU&t=2s Clustering determines compact clusters and assigns ...
JElder's user avatar
  • 919
1 vote
1 answer
177 views

Growth Mixture Model/Latent Class Growth Analysis for binary/binomial outcome in R?

Latent Class Growth Analysis and Growth Mixture Models (synonyous; henceforth referred to as GMM) explain between-subject heterogeneity in growth on an outcome by identifying latent classes with ...
JElder's user avatar
  • 919
0 votes
0 answers
289 views

Can Latent Class Analysis be included among the "Machine Learning" methods?

My question is a "semantic" point of view and it's very easy. Given that Latent Class Analysis (LCA) can be defined as a form of "unsupervised learning", I was wondering whether we ...
user89547235's user avatar
0 votes
1 answer
268 views

LCA with covariates: is it still worthwhile to use 1 step approach?

Dear statisticians' community, I am trying to compute a Latent Class Analysis through Stata and/or R. I built a 5 classes LCA model using poLCA on R and added a set of covariates. It seems from the ...
Irene 's user avatar
0 votes
0 answers
57 views

Estimating LCMM() in R for traumatic brain injury patients

How does one specify the model in the following question: Are there subgroups of patients for which the trajectories of five biomarker behave similar in relation to the outcome(s) while accounting for ...
Sean_TBI_Research's user avatar
1 vote
1 answer
82 views

When building a latent class model, what should be done with demographic variables?

To expand on the issue I'm having a bit: I am trying to build a latent class model. The dataset I am working with contains some scales related to shopping habits, plus several demographic items (age, ...
Sven Ferguson's user avatar
0 votes
0 answers
26 views

Best practices for item selection in Latent Class Cluster Analysis?

I'm interested in developing a set of clusters pertaining to shopping habits using a dataset from a survey that a colleague recently fielded. The survey contains a wide array of topics--some related ...
Sven Ferguson's user avatar
0 votes
1 answer
64 views

When performing a 3-step analysis in Latent Gold, should I use ML or BCH to model an ordinal outcome?

I'm performing a 3-step analysis in Latent Gold 5.1. In step 3 I estimate a model with an ordinal distant outcome. The documentation of Latent Gold gives advice for when to use ML (categorical ...
JJW's user avatar
  • 1
2 votes
1 answer
326 views

Latent Class Analysis - Interpretation and integration with survival analysis?

I am approaching to Latent Class Analysis to identify "classes" of patients based on some variables. Question 1: diagnostics of the results. I already gone through the discussion on whether ...
user89547235's user avatar
0 votes
0 answers
20 views

How to explore relationship between two set of LCA

I’ve performed 2 different LCA in r with poLCA package. 1st LCA to identify subgroups of children in my sample. Results showed 4 profiles. 2sd LCA to identify subgroup of parents. Results showed 2 ...
Stephanie P. 's user avatar
1 vote
0 answers
305 views

What does mixture refer to in LCMM and HLME in R

I am trying to use the HLME and LCMM functions to fit latent class mixed models to my data. Here are the documentations to both of them: https://www.rdocumentation.org/packages/lcmm/versions/1.8.1.1/...
TYL's user avatar
  • 213
0 votes
1 answer
116 views

BIC values in LCA models

I have been reading posts on this forum about how to assess LCA models. One question asked about BIC statistics to assess model fit. The answer said that you shouldn't really worry about the absolute ...
May Smith's user avatar
2 votes
0 answers
131 views

Is the term “latent effect” in statistics has the same meaning as “latent variable”?

Is the term “latent effect” in statistics has the same meaning as “latent variable”? If not, then what would be its substantive interpretation? UPDATE: There is a whole class of models called “Latent ...
Rustam's user avatar
  • 73
1 vote
0 answers
75 views

Latent Profile Analysis using clickstream data

I have some clickstream data about students' use of a learning management system. This data includes variables such as number of clicks on Content X, number of visits to Page Y, etc. I want to derive ...
renakre's user avatar
  • 857
0 votes
1 answer
278 views

Could decision tree classification be used to identify latent classes in data?

What are the differences in statistical assumptions between a decision tree classification and a LCA classification? Could a decision tree be deployed to do the same work as LCA - why not? It seems to ...
fmfrisch's user avatar
1 vote
0 answers
53 views

Cluster analysis for a whole sample and subgroups

I used Latent Gold for cluster analysis of a sample (N=~3000). Then I used the same variables to cluster a the two subgroups that constitute the sample. It performed well for one subgroup, but not for ...
Keren Tsuriel's user avatar
0 votes
1 answer
397 views

R mix function from DepmixS4 package provide different results with exactly same codes

I am testing the mix model from the Depmix4 package using simulating data. In the model, I provide the starting values to all parameters to be estimated. However, when I run the same code twice, I get ...
Jingy Niu's user avatar
4 votes
0 answers
245 views

LCA - how to include predictors (conceptual difference between one-step and bias-corrected three-step approach?)

I am trying to teach LCA as part of a modelling course, but I haven't quite made sense of how to deal with testing whether certain (demographic variables) predict class membership. Question: (Why) ...
Lukas Wallrich's user avatar
2 votes
1 answer
247 views

Specifying starting values from previous class in flexmix

I am using the flexmix package in R to perform latent class analysis with covariates using model with 1 to 3 classes/components. For model with 3 classes, I'd like ...
mandy's user avatar
  • 123
0 votes
0 answers
362 views

Sampling Weights with latent profile analysis package

Is there a package for latent profile analysis in R that can accommodate sampling weights? I am using tidyLPA and would prefer to use this package if anyone has knowledge about how methods such as ...
StatsAreHard's user avatar
1 vote
0 answers
462 views

Understanding and implementing the last step in the 3-Step Latent Class Analysis using covariates from Vermunt 2010

I am interested in implementing the 3-Step approach for LCA with covariates ($Z_i$) in R. According to Vermunt (2010), the "Standard" three-step approach would involve (mentioned in pages 5 ...
srikanth's user avatar
1 vote
0 answers
72 views

Multiple Correspondence Analysis probabilities class membership

Is it possible to get probabilities of class membership based on Multiple Correspondence Analysis which uses hierarchical clustering? I am thinking along the lines of Latent Class Analysis that ...
user2888990's user avatar
2 votes
1 answer
1k views

How to correctly address "ALERT: Iterations finished, maximum likelihood not found" in poLCA?

I intend to use Latent Class Analysis on a large dataset with 12 response categories and approximately 50,000 observations. I am getting an "ALERT: Iterations finished, maximum likelihood not ...
srikanth's user avatar
3 votes
1 answer
4k views

Average marginal effects by hand?

I'm having trouble calculating average marginal effects by hand. I have the coefficients from Latent Gold (so if anyone knows how to get AMEs from that program, that would be helpful!). Otherwise, I ...
Guest's user avatar
  • 31
1 vote
1 answer
640 views

Latent Profile Analysis - standardizing the variables and interpreting it

This is the first time I'm running an LPA and prior to running it, I standardized all variables because I read that would help interpret the profile structure later. And now I'm confused in the ...
llbia's user avatar
  • 331
1 vote
0 answers
110 views

Multi-level Latent Class Growth Curve Model of a double-repeated measures data structure

I have an interesting data structure I'm trying to analyze. I've decided that the best route is most likely using some type of LCGA, but am having trouble conceptualizing the model. Unfortunately, I'm ...
r_user's user avatar
  • 337
1 vote
0 answers
69 views

Effects package equivalent for LCMM [closed]

The effects package helps in the analysis of predictor effects from LMER models. Is there an equivalent for LCMM models? (i.e. understand predictor effects of class ...
nikarj's user avatar
  • 63
4 votes
1 answer
3k views

Difference Between Latent Class Analysis and Mixture Models

I have been trying to look into latent class analysis and don't exactly understand what it is. Is it basically the expectation maximization using and analyzing the classes formed? The resources on the ...
SR810's user avatar
  • 143
2 votes
2 answers
453 views

Can latent class analysis be used for path analysis?

I have been experimenting with latent class analysis (LCA), which I've recently learned is a form of structural equation modeling (SEM). I know some forms of SEM, I know path analysis can be done ...
Stan Shunpike's user avatar
1 vote
1 answer
84 views

Jointlcmm error when trying to use competing risks

I am still attempting to use jointLCMM to model trajectories of a risk variable while controlling for data missing not at random due to survival events. I am trying to control for multiple events ...
Ariel 's user avatar
  • 31
0 votes
1 answer
368 views

Jointlcmm survival term: Do variables need to be time-independent?

I have a large dataset of within-individual repeated measures, where each participant has varying number of observations (multiple rows of data for each participant). Data include a time-dependent ...
Ariel 's user avatar
  • 31
2 votes
1 answer
503 views

(How) do I need to account for censored data in LCMM?

I have a large dataset of within-individual repeated measures, where each participant has varying number of observations (multiple rows of data for each participant). Missing data is largeley non-...
Ariel 's user avatar
  • 31
1 vote
0 answers
260 views

Interpretation of effects plot in latent class regression

I'm fitting a latent class model with covariates using poLCA in R. It seems to work fine, but I have some trouble understanding ...
mpaladino's user avatar
  • 111
1 vote
2 answers
803 views

Use LCA memberships as independent variables in a linear regression model

I performed LCA using the "depmixS4" library in R and got a three cluster solution for my data; as such for each record in my data, I have three LCA memberships (probabilities) for the three clusters ...
abhinava barthakur's user avatar
2 votes
1 answer
1k views

Mixture model on binary + continuous data

If I have a dataset of continuous variables (that I can assume are normally distributed), I can identify subgroups using a Gaussian mixture model and implement. Likewise if I have binary data I can ...
Stuart Lacy's user avatar
6 votes
2 answers
202 views

Favored methods for overcoming selection bias (special attention to healthcare fields)?

I am frequently measuring the effect of behavioral health treatment interventions on outcomes of interest. However, comparing the relative efficacy of different types of treatment is tricky - more ...
ShannonC's user avatar
  • 604
3 votes
1 answer
2k views

How do we correctly select the final number of classes in latent class analysis?

Hope this is not too basic: What Statistical, Mathematical methods do we use to determine number of classes and class membership in Latent Class Analysis?
MSIS's user avatar
  • 549
1 vote
2 answers
2k views

Can Latent Class Analysis entropy be infinity? And what does it mean?

I recently ran a latent class analysis with polytomous outcome variables with the poLCA R package. The model ran fine converged from 2 to 6 classes (the model converged with more classes but fit ...
ssjjaca's user avatar
  • 221
2 votes
1 answer
910 views

Latent profile analysis - Gaussian models and which one to choose?

When performing LPA different models are possible depending on shape, volume and orientation (Figure 1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5096736/). Can someone, please, explain in simple ...
user avatar
2 votes
1 answer
770 views

latent class model on choice data with gmnl - choosing starting values

I want to run a LCMNL (using the gmnl-package) on choice data. I read that starting values can influence class allocation since LCMNL can have several optima. I found the following example code that I ...
colonus's user avatar
  • 192
1 vote
1 answer
490 views

When DV is dichotomous and IV is ordinal, should I use LPA or LCA?

Suppose my dependent/outcome variable is composed of 6 vignettes that has dichotomous outcomes of "Yes" (1) or "No" (0). Normally, I can just get a sum-score total so that it's a score from 0 (...
ssjjaca's user avatar
  • 221
1 vote
3 answers
4k views

Conducting a three-step Latent Class Analysis in R [closed]

I'm trying to conduct a Latent Class Analysis in R using the poLCA package, and I have now become stuck on two aspects of the process. I have conducted Latent Class Analysis separately for males and ...
Emmajyapp's user avatar
3 votes
2 answers
3k views

How can you implement latent class analysis with distal outcomes in R?

I am looking to fit a fairly straightforward latent class analysis (LCA) model to derive phenotypes / clusters of a disease (in R). My dataset contains the manifest variables used to derive the ...
claud's user avatar
  • 31
2 votes
1 answer
4k views

Why covariates are used in Latent class analysis (LCA)

I am trying to learn this relatively new statistical technique LCA. In literature i saw that for some LCA models, covariates are used. I am having a difficulty to understand why additional covariates ...
student_R123's user avatar
0 votes
2 answers
170 views

Latent class analysis and membership function

I'm running a latent class (profile) analysis, and there is still a thing not clear to me. What happens when I don't include the constant in the membership function? Is the interpretation different? ...
Andrea's user avatar
  • 437
0 votes
1 answer
2k views

Latent Class Analysis - negative degrees of freedom

I want to see how many profiles (latent classes) can be differentiated based on respondents’ patterns of responses to four binary variables (accepting or rejecting four different immigration policies)....
user avatar
2 votes
1 answer
124 views

Is this formula related to the energy function / boltzmann distribution?

I am reading research done in this thesis. On page 20-21 (section 2.1) of the thesis, it describes the following stochastic model: ... let us focus for the rest of this chapter on time-varying ...
guy's user avatar
  • 573