Hello community members,
I can't run lavaan code with "not a parameterTable" message.
My model:
model_jes3 <- '
#latent:internal, institution observed:INFLU, COMPLEX, PARTY, ELECTION, CONGRESS
internal1 =~ 1*INFLU1 + COMPLEX1;
institution1 =~ 1*PARTY1 + ELECTION1 + CONGRESS1;
internal2 =~ 1*INFLU2 + COMPLEX2 ;
institution2 =~ 1*PARTY2 + ELECTION2 + CONGRESS2;
i
nternal2 ~ internal1 + institution1;
institution2 ~ internal1 + institution1;
'
#The observed variables are 4 or 5 scales ordinal variables
crossA_D <- jes3A_D %>%
sem(model_jes3, ordered = c("PARTY1","ELECTION1", "CONGRESS1",
"INFLU1", "COMPLEX1", "NOCARE1",
"PARTY2","ELECTION2", "CONGRESS2",
"INFLU2", "COMPLEX2", "NOCARE2"))
Then I get these messages;
lavaan::lavaan(model = ., data = model_jes3, ordered = c("PARTY1", でエラー: lavaan ERROR: model is a list, but not a parameterTable?
lavaan NOTE: missing column(s) in parameter table: [lhs, op, rhs, free]
What's the problem?
Any advice will help me!