How can I include a regression using Lavaan when I am building a latent growth curve model?
I have a measurement model with one latent variable (LV) measured at 4 periods, where strong invariance is established. I omit that part of the syntax, for brevity. LV = the latent variable that was measured at four time points, and for which invariance was established.
The covariance among the latent variables is fixed to zero.
The variance of each latent variable is constrained to be equal over time.
Model <- '
int =~ 1*LV0 + 1*LV1 + 1*LV3 + 1*LV4
int ~~ int
int ~ 1
sl =~ 0*LV0 + 1*LV1 + 2*LV3 + 3*LV4
sl ~~ sl
sl ~ 1
sl ~~ int
#constrained variance of the LV over time
LV0 ~~ var*LV0
LV1 ~~ var*LV1
LV3 ~~ var*LV3
LV4 ~~ var*LV4
# regression
LV0 ~ X1
LV1 ~ X1
LV3 ~ X1
LV4 ~ X1
'
Is the part in bold correct? I aim to have it in the model as a simple predictor, such as in OLS. E.g.: Y = B0 + B1*X1
Would it make sense to regress: sl ~ X1 if the regressions in the syntax turn out insignificant?
Thank you for your help!