Hi, all, I have a question.
I want to use the intercept and slope in latent growth model as predictors for regression.
the notation I used is
my.model3<-'i=~1*math0+1*math1+1*math2+1*math3
s=~0*math0+1*math1+2*math2+3*math3
i+s~x
y~x+i+s'
my.fit3<-growth(my.model3,data=my.df)
summary(my.fit3,fit.measures=TRUE,standardized=TRUE,rsquare=TRUE)
However, somehow, I keep getting a warning, like
“Warning message:
In lav_partable_check(lavpartable, categorical = categorical, warn = TRUE) :
lavaan WARNING: missing intercepts are set to zero: [y]”
While, if I changed function "growth" in the model fit to "sem", there would be no warning, but, the result of model fit is different.
Hope you guys could help me. thx!