I am having some problems getting Lavaan to actually do the analysis for configural invariance in a multigroup CFA.
I have 2 groups: gender1 0 = men, women1 1 = women. My model is a 2-factor model, with correlated factors.
myModel <- ' # MEASUREMENT MODEL
ASI_BEN =~ ASI1 + ASI3R + ASI6R + ASI8 + ASI9 + ASI13R +
ASI17 + ASI19 + ASI20 + ASI22
ASI_HOS =~ ASI2 + ASI4 + ASI5 + ASI7R + ASI10 + ASI11 +
ASI12 + ASI14 + ASI15 + ASI16 + ASI18R + ASI21R
# COVARIANCES BETWEEN FACTORS
ASI_BEN ~~ ASI_HOS
'
#configural invariance
fit1 <- cfa(myModel, data = SEXISM1, group = "gender1", mimic = "mplus")
summary(object=fit1,fit.measures=TRUE, rsquare=TRUE)
The Lavaan website sepcified that configural invariance is tested by simply adding group = "gender1", to the model. However, when I run the model, the output shows that both factor loadings and intercepts are constrained to be equal across the two groups, which is instead a test of strong invariance. Anyone got a clue why this is happening? And/or any tips for making Lavaan provide output for configural invaraince (i.e., factor loadings and intercepts can vary across groups)?
Best, Camilla