Buenos dias,
I had the error below while I was trying to compare two models to see if the new model is better that the previous one.
anova(mod1.fit, mod2.fit)
Error in lavTestLRT(object = new("lavaan", version = "0.6.3", call = lavaan::lavaan(model = mod1, :
lavaan ERROR: some models (but not all) have scaled test statistics
lavTestLRT(mod1.fit, mod2.fit)
Error in lavTestLRT(mod1.fit, mod2.fit) :
lavaan ERROR: some models (but not all) have scaled test statistics
I am not sure what the message "some models (but not all) have scaled test statistics" means. I had the same error using anova or lavTestLRT
Gracias,
Dilys