Dear all,
I tried to run a path model with lavaan and want to compare the paths between 2 countries:
Model3<-"dass_dep_t2~age_t1+gender+eq_a_t1+eq_4_t1+stress_t1+angst_t1+dep_t1+social_sup_all_t1+resilience_all_t1+pmh9_all_t1+FASII+rhy10_all_t1+childwisht1
dep_t1~angst_t1+stress_t1+social_sup_all_t1+resilience_all_t1+pmh9_all_t1
angst_t1~dep_t1+stress_t1+social_sup_all_t1+resilience_all_t1+pmh9_all_t1
stress_t1~dep_t1+angst_t1+social_sup_all_t1+resilience_all_t1+pmh9_all_t1
pmh9_all_t1~dep_t1+angst_t1+stress_t1+social_sup_all_t1+resilience_all_t1
resilience_all_t1~dep_t1+angst_t1+stress_t1+social_sup_all_t1+pmh9_all_t1
social_sup_all_t1~dep_t1+angst_t1+stress_t1+resilience_all_t1+pmh9_all_t1"
fit1<-sem(Model3,data=Land2,group= "land",estimator="ML",
std.lv = TRUE)
Warning message:
In lav_model_vcov(lavmodel = lavmodel, lavsamplestats = lavsamplestats, :
lavaan WARNING: could not compute standard errors!
lavaan NOTE: this may be a symptom that the model is not identified.
fitMeasures(fit1, c("chisq","df","cfi", "rmsea", "srmr"))
chisq df cfi rmsea srmr
4534.628 54.000 0.834 0.132 0.107
But " fit2<-cfa(Model3,data=Land2,group= "land",group.equal="regressions",estimator="ML",
std.lv = TRUE)" can compute standard errors.
my questions are:
1.Does it mean, that Model3 is meaningless?
2. How can I get the standard errors for fit1?
Thank U all!
Chi