Dear Pat,
Thank you again for helping me!
Sorry, I am also new to google groups. As soon as I have realised that I only wrote to you, I already was googling how to get to the personal conversations so that I can copy my questions. And then your message already popped in.
I have two other questions that are still unclear about my model/lavaan:
- Coming back to the frequently asked question about the variance-covariance matrix not being positive definite. I only seem to get this warning when I do cluster="city", however when left out there is no warning. Does this mean that the model is in general identifiable? Or why does clustering cause this warning? (How can I tell a model is identifiable?)
- I used the factor loadings from the estimated model above to create some kind of index - see below. When I now use those factor loadings to "manually" create an index for an OLS regression, I get a different results then when using the SME. Should't the results from an OLS and SEM be the same in my case?
For question 2, I have attached the model:
OLS estimated:
F <- 0.2*Standardizedx1 + 0.16*Standardizedx2 + 0.27*Standardizedx3 + 0.34*Standardizedx4
lm(Y ~ F + Q28_1 + Female + GenderOther + nationality + Edu1+Edu2 + Edu3+ Edu4 + Edu5 + Eud6 + Edu7 + Edu1_f +Edu2_f + Edu3_f+ Edu4_f + Edu5 _f+ Eud6_f + Edu7_F + Public + Public_IDK + Time1 + Time2 + Notime + Envir1 + Q36_1 + CV1+ CV2 + CV2+ CV3 + CV4+ subjects_A + subjects_B + subjects_C + subjects_D+ subjects_E + subjects_F + subjects_G + subjects_H + city1 + city2 city3 + city4 + city5 + city6 + city7 + city8+ city9 + city10 + city11 + city12+ city13 + city14+ city15+ city16 + city17, data=data)