Questions tagged [latent-class]
A latent class model has a number of categorical manifest variables and one or more categorical latent variables.
117
questions
0
votes
0
answers
18
views
Latent Class Regression - Probability of Class Membership
I've been following a polytomous latent class regression routine in R called 'poLCA.'
My goal is to generate a visual analogue to the attached visual using the LCA coefficients and the formula:
$$p_{...
0
votes
0
answers
63
views
Definition of B/Initial Values in Latent Class Analysis (particularly lcmm)
I'm a beginner at using lcmm/hlme, and to latent class analyses in general. I'm trying to figure out how to understand the initial values (B in the packages), and what they mean exactly.
There are a ...
0
votes
0
answers
35
views
Some questions about Latent Classes and Latent Processes using R
I am learning latent processes and reading the paper "Estimation of Extended Mixed Models Using Latent Classes and Latent Processes: The R Package lcmm". I'm not a professional statistician. ...
0
votes
1
answer
17
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 ...
2
votes
1
answer
139
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 ...
0
votes
0
answers
15
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 ...
1
vote
0
answers
118
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/...
0
votes
0
answers
15
views
How to assign a specific distribution for the dependent variable in the lcmm's hlme function?
I am currently working on a project using group-based trajectory modeling. I have been using SAS PROC TRAJ for that purpose, but I am now interested in using R to do the same job. From my search, I ...
0
votes
0
answers
38
views
Why would a class in a linear mixed effect model (using the R package lcmm) be empty?
This is more of a theory question than a coding issue. I'm using the R package lcmm to run a linear mixed effect model, and it's working, only when I increase the number of groups it's returning a few ...
0
votes
0
answers
51
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 ...
2
votes
0
answers
112
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 ...
0
votes
0
answers
11
views
Single model combining prediction and latent-class analysis
I have a set of survey questions about covid-related beliefs and behaviors (e.g., do you believe covid vaccine is effective, have you avoided crowded events...) and general demographics. My goal is to ...
0
votes
0
answers
39
views
how does poLCA work differently when using a three-response format compared to a binary response format?
I am using poLCA on a dataset and I am comparing using binary indicators to a three-response format. Is there any reason why most LCA studies use binary indicators? How will poLCA work differently on ...
0
votes
0
answers
36
views
Are my models nested or non-nested? Using a latent class analysis
I have two separate models. Both models use the same variables, but different response formats (e.g. one is binary and the other uses three responses). Is this nested or non-nested?
1
vote
0
answers
63
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 ...
0
votes
0
answers
69
views
Assumption test in latent profile analysis (TidyLPA, R studio)
I'm planning on conducting an LPA of various personality traits and emotion regulation strategies however conducting after some hierarchal linear regressions beforehand I've found that many of the ...
0
votes
0
answers
28
views
When to consider classification error and entropy in LCA models?
I have good fit statistics in terms of G^2 (bootstrap) and bivariate residuals. However, all the models with good absolute fit statistics have poor classification error (.4) and entropy (.4-.5). If ...
0
votes
0
answers
146
views
Are the classes between groups in a multiple-group latent class analysis related?
For example, if I run an LCA grouped by sex, and I get male class 1 and 2, and female class 1 and 2- do male class 1 and female class 1 relate in any way? Do they make up some larger/overall class 1, ...
0
votes
1
answer
150
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 ...
1
vote
0
answers
49
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 ...
0
votes
1
answer
246
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 ...
3
votes
0
answers
153
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) ...
2
votes
1
answer
148
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 ...
0
votes
0
answers
226
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 ...
1
vote
0
answers
353
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 ...
1
vote
0
answers
53
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 ...
2
votes
1
answer
790
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 ...
2
votes
1
answer
3k
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 ...
1
vote
1
answer
393
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 ...
1
vote
0
answers
82
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 ...
1
vote
0
answers
57
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 ...
4
votes
1
answer
2k
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 ...
1
vote
2
answers
337
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 ...
1
vote
1
answer
75
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 ...
0
votes
1
answer
275
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 ...
2
votes
1
answer
391
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-...
1
vote
0
answers
196
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 ...
1
vote
2
answers
534
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 ...
2
votes
1
answer
943
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 ...
6
votes
2
answers
178
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 ...
3
votes
1
answer
1k
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?
1
vote
1
answer
1k
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 ...
2
votes
1
answer
641
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 ...
2
votes
1
answer
639
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 ...
1
vote
1
answer
380
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 (...
1
vote
3
answers
3k
views
Conducting a three-step Latent Class Analysis in R
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 ...
3
votes
2
answers
2k
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 ...
2
votes
1
answer
3k
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 ...
0
votes
2
answers
153
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? ...
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)....