# From a published fit table (no model object needed).
ecvi(chisq = 24.361, df = 8, npar = 13, n = 301)
fit <- lavaan::cfa(
"visual =~ t1_visual_perception + t2_cubes + t4_lozenges
verbal =~ t6_paragraph_comprehension + t7_sentence + t9_word_meaning",
data = holzinger_swineford, std.lv = TRUE)
ecvi(fit)
Run the code above in your browser using DataLab