Dear Yves,
Thanks for your answer! SB.classic works fine in the previous example (first post of this thread). Version .5-16-dev lavTestLRT(fit,fit1,SB.classic=T) also worked fine. Same thing with my data with one exception. I compared a series of nested models and the first one is a completely saturated model. When I run anova(saturated.model, constrained.model) I get a chi square diff equal to the model chi square I get in summary(constrained.model), as it should. However, when I use lavTestLRT(saturated.model, constrained.model,SB.classic=T) I get :
Error in
if (any(cd1 < 0)) { : missing value where TRUE/FALSE needed
It is not very important as I can get the values anyway but it is still
practical to extract results from a series of comparisons…
Many Thanks for your work!
JB
Thanks Yves. That’s great. I just wanted to make sure.
Terrence D. Jorgensen (he, him, his)
Assistant Professor, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam
http://www.uva.nl/profile/t.d.jorgensen
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/edcf4838-a2b5-4320-b030-a0399bdb9617n%40googlegroups.com.