Michael Lap posted on Wednesday, March 21, 2018 - 2:42 pm
In a linear regression, the relationship between the predictor and the outcome is quadratic (looks like a curve and a quadratic coefficient is strongly significant).
1) If I use this predictor as a covariate and the outcome variable as a variable to form class trajectories in LCGA, would the quadratic relationship between them be a problem? In other words, does LCGA require linearity b/w covariates and predicted class trajectories?
All other covariates are nominal (binary).
2) If non-linearity is a problem, we can split the continuous covariate into categories if needed.
So you can have a regular multinomial logistic regression model
C on T1;
and have a piece-wise linear for the growth part. The quadratic effect of T1 on the outcomes could then be reflected by say high T1 values making a C class with high second-piece slope more likely.
Michael Lap posted on Thursday, March 22, 2018 - 4:07 pm
Thank you, Brent!
the quadratic part now works, I figured it out. The quadratic slope is significant in 2 out of 3 class trajectories.
So If I include the quadratic or piecewise part, then the quadratic relationship b/w the covariate measured at T1 only and the latent trajectories will be reflected in the "high T1 values making a C class with high second-piece slope more likely", right?
Michael Lap posted on Thursday, March 22, 2018 - 4:13 pm
Bengt, Sorry, reading your post again:
C on T1 (and other covariates) is reflected in the multinomial part of the output, right? Just want to make sure I understand you correctly.