library(lavaan)
ABC.model <- 'A =~ NA*A1 + A2 + A3 + A4
B =~ NA*B1 + B2 + B3 + B4
C =~ NA*C1 + C2 + C3 + C4
G =~ NA*A1 + A2 + A3 + A4 + B1 + B2 + B3 + B4 + C1 + C2 + C3 + C4'
fit <- cfa(ABC.model, data=Data, estimator="WLSMV", orthogonal=TRUE, std.lv=TRUE)
Thank you very much for your help!
When I apply a bi-factor model, two of indicators on a single factor show negative factor loadings, although they were originally positive. I am wondering if it is acceptable to constrain factor loadings of these indicators to positive (e.g., 0.1)?
When I apply a bi-factor model, two of indicators on a single factor show negative factor loadings, although they were originally positive. I am wondering if it is acceptable to constrain factor loadings of these indicators to positive (e.g., 0.1)?Yes, that will yield an equivalent solution (all positive vs. all negative loadings yield the same model-implied Sigma). You should only have to constrain one loading (per factor) to be positive in order for the rest to be positive in the solution.