Dear all,
I am currently working on an CFA analysis and I would like to compare two 1-factor-models where the second involvers an additional residual correlation among two measurement variables.
All measurement variables are categorical, therefore, I am using the WLSMV estimator. Therefore, I chose the lavTestLRT() function to compare the two models.
Here the Code for the two models:
mod1 <- “
F =~ ind1 + ind2 + ind3 + ind4 + ind5 + ind6
"
fit1 <- cfa(mod1, estimator = "WLSMV", data = data)
mod2 <- “
F =~ ind1 + ind2 + ind3 + ind4 + ind5 + ind6
ind1 ~~ ind2
"
fit2 <- cfa(mod2, estimator = "WLSMV", data = data)
I would be very grateful for clarifications.
Have a nice day and best wishes,
jsa
Is it correct to use the function lavTestLRT(fit1, fit2, method="Satorra.Bentler.2010") to compare the models?
In a literature search I found that the two models need to be nested at the parameter level to use the lavTestLRT() function.
Unfortunately, I was not able to figure out what exactly this means in my case.
Dear Terence
appropriate in a Group Invariance test of a CFA model? (configural model vs. weak model, weak model vs. strong model, etc. )?
Best wishes, Jsabel
Would therefore the function lavTestLRT with the method specification "satorra.2000" also beappropriate in a Group Invariance test of a CFA model?