Hello, I have a series of question regarding a confirmatory factor analysis.
The factor was measured using a likert-type scale.
Please check the notation of the R syntaxes below and let me know whether it is correct or incorrect. When incorrect, please also let me know how to correct.
I examined the following three models,
a multi-factor model with a syntax for it; Let's call it #model1
a higher-order model with 2 distinct syntaxes for it; Let's call it #model2 and #model3
a bi-factor model with 2 distinct syntaxes for it; Let's call it #model4 and #model5
#model1
m <- 'factor1 =~ the sum of factor1 items
factor2 =~ the sum of factor2 items
factor3 =~ the sum of factor 3 items
factor1 ~~ factor2 + factor3
factor2 ~~ factor3
factor1 ~~ 1*factor1
factor2 ~~ 1*factor2
factor2~~ 1*factor2'
#model2
m <- 'factor1 =~ the sum of factor1 items
factor2 =~ the sum of factor2 items
factor3 =~ the sum of factor 3 items
factor =~ 1*factor1 + 1*factor2+ 1*factor3
factor ~~ factor'
#model3
I also have an alternative higher-order model
m <- 'factor1 =~ the sum of factor1 items
factor2 =~ the sum of factor2 items
factor3 =~ the sum of factor 3 items
factor =~ NA*factor1 + factor2+ factor3
factor ~~ 1*factor'
#model4
m <- 'factor1 =~ NA*item 1 and the sum of the factor1 items
factor2 =~ NA*item 2 and the sum of the factor2 items
factor3 =~ NA*item 3 and the sum of the factor3 items
factor =~ NA*item1+ the sum of the factor1-3 items
factor1 =~ 0*factor2+ 0*factor3+ 0*factor
factor2 =~ 0*factor3 + 0*factor
factor3 =~ 0*factor
factor1 ~~ 1* factor1
factor2 ~~ 1* factor2
factor3 ~~ 1* factor3
factor ~~ 1* factor'
#model5
I also have an alternative bi-factor model
m <- 'factor1 =~ the sum of the factor1 items
factor2 =~ the sum of the factor2 items; each factor loading is fixed by a
factor3 =~ the sum of the factor3 items; each factor loading is fixed by b
factor =~ the sum of the factor1-3 items'
fit <- cfa(m, data=name,
std.lv=TRUE)
summary(fit, fit.measures=TRUE, standardized=TRUE)