I'm trying to run an LTA with 4 time points and 3 classes for each time point and a single covariate (3 level variable modeled with dummy variables)influencing the transitions, which I modeled as an interaction. I can't seem to figure out if the transition probabilities average over the covariate or are calculated without the covariate. My goal is to determine if the transition probabilities differ by level of the covariate. Can I get this matrix by each level of the covariate?
Also, how do I interpret the estimate given for regression of the classes (e.g., C1#1, C1#2) on the covariate?
Thanks for your help. I'm now having trouble with setting my reference class. I tried changing the starting values, but that didn't work. I want no alcohol use to be the reference class (coded as 0 for all the alcohol variables), but with the output below Class 3 is the problem alcohol class (1s on all the alcohol variables). It is a 3 class model with 4 time points.
CLASSES = c1(3) c2(3) c3 (3) c4 (3); ANALYSIS: TYPE = MIXTURE MISSING; MODEL: %OVERALL% c2 on c1; c3 on c2; c4 on c3; MODEL c1: %c1#1% [alcopp6r$1 - alcsoc6$1*15] (1-7); %c1#2% [alcopp6r$1 - alcsoc6$1*1] (8-14); %c1#3% [alcopp6r$1 - alcsoc6$1*-15] (15-21);
Hi, I'm running a LTA with 2 time points and would like to know whether transition probabilities vary by gender while controlling for age; and vice versa. Age is categorical (65-74; 75-84;85+ years).
I tried regressing on both age and gender but then I can only estimate gender specific transition probabilities one age group at a time and not across age groups. Yes I read chapter 13...a thousand times. Did I miss something?
Instead, would it make sense to use a "known class" for gender and regress on knownclass and age to get my gender transition probabilities while controlling for age?
It sounds like you want the marginal transition effect for a certain covariate from a model with several covariates. If you create a gender knownclass, a transition probability table for c1 x c2 would give you what you want. I don't recall if this is what the output provides, but do try. Otherwise, perhaps you have to estimate say the gender effect at each age and then weight the transitions probabilities with the frequencies of the ages.
Exactly, I want the marginal transition effect. I did run the model and the output gives me the mean Cg#1 and the regression coefficients for each (C2#. on Cg#1) and (C1#. on Cg#1). It also gives me the overall transition probabilities (c1 x c2) and the (Cg classes x C1 classes).
Now, I’m not certain how to calculate the transition probabilities with a known class (e.g. gender). For example, to estimate transition probabilities from C1#1 to C2#1 when female=1. Do I just add the following terms to calculate the log odds (referring to your 2x2 table in chapter 13): a1 + b11 + (Cg#1) + (C2#1 on Cg#1)? For male, I would just use the table as it is since male=0.
The LTA dissertation by Karen Nylund on our web site under Papers, Latent Transition Analysis gives details on how to compute transition probabilities as a function of covariates.
xybi2006 posted on Tuesday, February 24, 2015 - 6:39 pm
Dear Dr. Muthen, I used latent class analysis to look at how individuals cluster into distinctive groups based on a set of symptoms. Besides only looking at it cross-sectionally, I wanted to know how consistent these clusters are over time (I have five waves data). Should I use latent transition analysis to modeling this question? Thank you,
I am running a power simulation for my LTA study with multiple covariates. As a result, I ran MC example 8.14 (LTA with a continuous covariate) with multiple covariates. I fixed the mean and variance of the other covariates. I also estimated the regression of c1 on all covariates and the regression of the c1-c2 transition (c2 regression under class-specific c1 commands) on all covariates. Apart from those changes in the model and model population statements, I did not make any other changes to the example.
However, when I run the program, it ignores the model population statements regressing the c1-c2 transition on any covariates except for the first and throws this as an error. Please let me know if you have any thoughts on what might be causing this error and thanks for understanding.
Alvin posted on Monday, August 10, 2015 - 11:48 pm
Hi Bengt/Linda, I wanted to do a subsidary analysis of crude predictors of the transitional classes. I did a three-model LTA across two time points with full measurement invariance. Then looked at covariates using the three-step approach, all within Mplus. My question is would be possible to extract class memberships of the transitional classes (I am particularly interested in those who transitioned from T1 asymptomatic to comorbid at T2). I tried to do this using (save cprob) but didn't work. Should I look at class memberships at each time point and then derive transition patterns (e.g. subset those who are in class 2 at T1 and class 3 at T1, assuming that class 2=asymptomatic and class 3=comorbid). Or is there a better way to do this? Your advice much appreciated.
Hi, I'm studying how to include covariates and distal outcomes in a LTA model using a 3-step approach. I actually succeeded in it (also requiring measurement invariance).
My only concern is about auxiliar variables. Am I correct in affirming that specifications about auxiliar variables like: (R) (E) (R3STEP) (DU3STEP) (DE3STEP) (DCON) (DCAT) have to be used only for LCA?
Instead for LTA models covariates are specified as: c1 ON x; c2 ON c1; while outcome are tested using model constraint in order to test means equality?
Dear Dr. Muthén, I am running a LTA using the three-step approach according to Web Note 13 and Nylund-Gybson et al (2014) paper. I have three classes at each of both times. I am specially interested in the interactions of the covariates on the transition probabilities and would also need to try out the model with other covariates.
I obtain the following message: ONE OR MORE MULTINOMIAL LOGIT PARAMETERS WERE FIXED TO AVOID SINGULARITY OF THE INFORMATION MATRIX....
Moreover, the output give estimates only for latent class patterns 1 1, 2 1 and 3 1. I am not sure why this happens, if my syntax is correct and how should I interpret the results.
My syntax is:
%OVERALL% T2 ON T1; T1 ON PIPRE MATCOUR; T2 ON PIPRE MATCOUR MKT; Model T1: %T1#3% [T1CLASSemail@example.com]; [T1CLASSfirstname.lastname@example.org]; T2 ON PIPRE MATCOUR MKT; %T1#2% [T1CLASSemail@example.com]; [T1CLASSfirstname.lastname@example.org]; T2 ON PIPRE MATCOUR MKT; %T1#1% [T1CLASS#1@-10.567]; [T1CLASS#2@-2.714]; T2 ON PIPRE MATCOUR MKT; Model T2: ... (has also fixed values)
Please send your full output to Support along with your license number.
Daniel Lee posted on Tuesday, February 12, 2019 - 8:58 pm
Hello, I too am having trouble with changing the reference class for an LTA model with covariate/interaction. In particular, I would like to set "C2#3" (in "C2#3 on rdea") as the reference class, not "C2#6" (which seems to be the default). Thank you for your help.
Model: %OVERALL% C2 on C1; C1 on sex eduea rdea strsea; Model C1: %C1#1% [centEA humEA pubEA prvEA assEA natEA minEA] (em1-em7); centEA humEA pubEA prvEA assEA natEA minEA (ev1-ev7); C2#1 ON rdea (g11); C2#2 ON rdea (g21); C2#3 ON rdea (g31); C2#4 ON rdea (g41); C2#5 on rdea (g51); %C1#2% [centEA humEA pubEA prvEA assEA natEA minEA] (em8-em14); centEA humEA pubEA prvEA assEA natEA minEA (ev8-ev14); C2#1 ON rdea (g12); C2#2 ON rdea (g22); C2#3 ON rdea (g32); C2#4 ON rdea (g42); C2#5 on rdea (g52); %C1#3% [centEA humEA pubEA prvEA assEA natEA minEA] (em15-em21); centEA humEA pubEA prvEA assEA natEA minEA (ev15-ev21); C2#1 ON rdea (g13); C2#2 ON rdea (g23); C2#3 ON rdea (g33); C2#4 ON rdea (g43); C2#5 on rdea (g53);
No I mean switch the parameters of the measurement model that give the classes their meaning, so the Y | C part of the model. E.g.
%C#1% [y*1]; %C#2% [y*-1];
Would be changed to
%C#1% [y*-1]; %C#2% [y*1];
JuliaSchmid posted on Wednesday, January 15, 2020 - 8:54 am
I'd like to run a LTA with a covariate. We have 5 patterns (with 6 indicators). I want to examine if the transition probabilities are influenced by a binary variable (= Interventiongroup vs. Controlgroup).
I created my input-file in accordance with the User Guide Chap. 8.13.:
I have three questions: 1) is my input file correct? 2) Could you please explain the logic overall- and model-command? 3) I have hard times to understand the output. Where can I see, if the covariate has a significant influence on the transition probabilities?
2) The Overall statements refer to model parameters that don't vary across classes. The Model C statements refer to model parameters that vary over classes but only the classes of the class variable mentioned in Model C. For instance, your Model c1 and Model c2 statements refer to parameters that vary over only those classes, not the cg classes. If you want full generality, you use the "dot" approach, for instance
and so on for each combination of classes.
3) You have 2 sets of c2 ON c1 and if their difference is significant it tells you that the transition probabilities are different. You can express those difference using Model Constraint, either in the logit scale provided in the output or in the scale of transition probabilities. This is described in the Mplus Web Note 13:
Muthén, B. & Asparouhov, T. (2011). LTA in Mplus: Transition probabilities influenced by covariates. Mplus Web Notes: No. 13. July 27, 2011.
shonnslc posted on Thursday, January 30, 2020 - 10:23 am
I am doing latent transition probabilities influenced by covariates using Mplus. I have some questions:
1. If I understand the web notes correctly, using Parameterization 2, g11 actually is not the coefficient for the interaction term since g11 is the sum of g1 and g11 using Parameterization 1. Therefore, on page 21 of the notes, although the estimate 1.963 is statistically significant, it doesn't mean the interaction term is significant. Am I right?
2. Using Parameterizaton 1 (pg 7), is b11 a dummy variable (1 = first class in C1, 0 = third class in C1) and b12 (1 = second class in C1, 0 = third class)?
1. Right. The interaction is captured by the difference between g11, g12, and g13 and between g21, g22, g23, that is, the difference between the rows.
2. Right. So for a 2 x 2 case without x, you have
a+b 0 a 0
where b is C2#1 on C1#1.
Nicole S posted on Thursday, April 02, 2020 - 6:12 pm
I am working with a model based on LTA syntax for a 2 level categorical variable at two time points.
I'd like to examine covariates in this model. However, although I have a very large total N (more than 10,000) there is a very large difference in the ns for each category (e.g. n = 700 vs. n > 10000), and the transition ns between categories are (relatively speaking) very small (around n = 150 or less). In other models, the situation is worse (e.g. transition n = 20).
Are there any clear guides on determining an appropriate number of covariates in these instances? or for LTA models in general? I've been looking myself but haven't come across anything, other than rules of thumb related to logistic regressions more generally.
I am not aware of such written guidelines and your case is quite specific. You can do your own MonteCarlo study in Mplus to she light on it.
shonnslc posted on Saturday, May 09, 2020 - 10:13 pm
I have a question about LTA with transition probabilities influenced by a covarite X. I read the Webnotes and UG 8.14. It seems that there is an assumption that the covariate X will influence the latent class formation of C1 and C2. I am wondering if this is the default assumption or can I not to influence the latent class formation when including covariate x in UG 8.14 model. Thank you!