One of them (X_7) is simply the mean of the 6 others (X_1 ; X_2 ; X_3 ; X_4 ; X_5 ; X_6). There is determinism in my data.
X1 = 6 - x2 - x3 - x4 - x5 -x6; The mean of latent factor would be the mean of the items ?
Which option is the good One
How to code my SEM model using lavaan R package ?
In my opinion I can use a SEM to estimate a DAG
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/64907fa3-0250-4e4c-bf38-8dad9cac8ac4n%40googlegroups.com.
#####################
library(lavaan)
model <- '
# measurement model
Engag des élèves =~ score final ISQ 2018
Engag des enseignants =~ score final ISQ 2018
Engagement des parents =~ score final ISQ 2018
Efficience =~ score final ISQ 2018
Efficacité =~ score final ISQ 2018
Équité =~ score final ISQ 2018
# regressions
Efficacité ~ équité
Efficacité ~ engagement des parents
Efficience ~ efficacité
'
fit <-sem(model, data=data)
summary(fit, standardized = TRUE)
##################