Hello,
I want to fix factor loadings across two factors to equality. However, lavaan seems to ignore that and estimates them freely. Below is an example code:
---------------------------------------------------------------
library(lavaan)
HS.model <- " visual =~ x1 + x2 + x3
textual =~ x4 + l2*x5 + x6
speed =~ x7 + l2*x8 + x9
"
# SEM
sem_fit <- sem(HS.model, data = HolzingerSwineford1939)
summary(sem_fit)
---------------------------------------------------------------
It can be seen that the factor loadings of x5 and x8 are equal (1.125).
However, using the sam() the loadings differ:
---------------------------------------------------------------
# SAM
sam_fit <- sam(HS.model, data = HolzingerSwineford1939, output = "list")
sam_fit$LAMBDA
--------------------------------------------------------------
Here, the factor loadings are 1.133 and 1.225.
Is there a way to fix the loadings to equality?
Kind regards
Manuel Rein