I'm learning how to use lavaan package to do a LGM. I got a R script from a supervisor who did a LGM of the same nature of research study. But I'm having troubles comprehending the script.
One main problem is the use of start(). I don't quite understanding the meaning of starting value.
Here's part of the script:
# measurement model
int =~ 1*T1 + 1*T2 + 1*T3 + 1*T4
growth =~ 0*T1 + (-1)*T2 + start(-1.4)*T3 + start(-1.7)*T4
# factor variance and covariance
int ~~ start(13)*int
growth ~~ start(3)*growth
int ~~ start(3)*growth
Does "int ~~ start(13)*int" means that the variance of intercept is at least 13? How do we come up with an appropriate starting value?
Also, what does "start(-1.4)*T3" mean? Does it mean that the path loading of T3 must be at least -1.4? From where should we derive this value? Is it from the distribution of data itself?
Here's another part of the script:
# error variance
T1 ~~ T1
T2 ~~ T2
T3 ~~ T3
T4 ~~ T4
When I was watching some lavaan tutorials on LGM, most of the scripts did not specify error variance (just listing the latent factors and then fit the model directly). What is the meaning of specifying error variance in this case?
Thank you all!!