I am struggling with my data analysis and I would really appreciate insight into where I am going wrong.
I administered a 51 item Attitude questionnaire to 481 students.
Attitude is the overarching latent variable/construct.
I have clustered the 51 items into 13 Themes (latent variables/constructs).
These Themes are weakly to moderately correlated (0.3 to 0.6)
These 13 Themes can be further clustered into 4 higher order latent variables.
#13 Themes
SELF_PROF =~ ITEM6+ITEM17+ITEM22+ITEM32+ITEM41
SS_PROF =~ ITEM15+ITEM18+ITEM28+ITEM50
TIME =~ ITEM3+ITEM8+ITEM34
FOREIGNERS =~ ITEM9+ITEM11+ITEM24+ITEM44
POS_INCR_COURSES =~ ITEM1+ITEM12+ITEM33+ITEM51
NEG_INCR_COURSES =~ ITEM5+ITEM14+ITEM39+ITEM46+ITEM48
MATERIALS =~ ITEM23+ITEM26+ITEM43+ITEM45
DYNAMICS =~ ITEM21+ITEM31+ITEM35+ITEM36+ITEM47
PEDAGOGY =~ ITEM4+ITEM10+ITEM13+ITEM37
ENG_IMPR =~ ITEM2+ITEM16+ITEM42
NECESSITY =~ ITEM20+ITEM38+ITEM40
BEY_JAPAN =~ ITEM7+ITEM19+ITEM30
WORK =~ ITEM25+ITEM27+ITEM29+ITEM49
#These Themes are weak-to-moderately correlated
TIME~~SELF_PROF
PEDAGOGY~~SELF_PROF
PEDAGOGY~~TIME
POS_INCR_COURSES~~FOREIGNERS
MATERIALS~~FOREIGNERS
ENG_IMPROVEMENT~~FOREIGNERS
BEY_JAPAN~~FOREIGNERS
FOREIGNERS~~POS_INCR_COURSES
POS_INCR_COURSES~~MATERIALS
DYNAMICS~~POS_INCR_COURSES
ENG_IMPROVEMENT~~POS_INCR_COURSES
BEY_JAPAN~~POS_INCR_COURSES
MATERIALS~~FOREIGNERS
NEG_INCR_COURSE~~PEDAGOGY
ENG_IMPR~~MATERIALS
#4 higher order latent variables
#Easier for Lavaan to handle?
EngProfy =~ SELF_PROF + SS_PROF + ENG_IMPR
ClassEff =~ FOREIGNERS + MATERIALS + DYNAMICS + PEDAGOGY
DirEff =~ POS_INCR_COURSES + NEG_INCR_COURSES + TIME
EngNecJap =~ NECESSITY + BEY_JAPAN + WORK
I have tried FIRST coding SELF_PROF <- ITEM6+ITEM17+ITEM22+ITEM32+ITEM41 then putting these 4 higher orders into the SEM model – no luck – model won’t fit.
I have tried creating new variables in my dataset: SELF_PROF, SS_TYPE etc. with the sum of these items – no luck – model won’t fit.
I have 4 Dependent/Predictor variables:
GEN, AREA, ACAD_SUBJ, UNI_TYPE
EngProfy ~ d$GEN + d$AREA + d$ACAD_SUBJ + d$UNI_TYPE
ClassEff ~ d$GEN + d$AREA + d$ACAD_SUBJ + d$UNI_TYPE
DirEff ~ d$GEN + d$AREA + d$ACAD_SUBJ + d$UNI_TYPE
EngNecJap ~ d$GEN + d$AREA + d$ACAD_SUBJ + d$UNI_TYPE
I also have variables that I would like to control for (mediators):
ENG_PROF, ENG_COUNTRY, AGE, MTHS_THRU_ENG, SS_TYPE, EMI_REQ
There are interactions effects between some of the DVs and some of the control variables. I’ve tried coding ATT_DATA as the outcome, then regressing this onto these interacting variables – no luck, model won’t fit.
ATT_DATA ~ GEN*AGE
ATT_DATA ~ GEN*ENG_COUNTRY
ATT_DATA ~ AGE*ACAD_SUBJ
ATT_DATA ~ AGE*ENG_PROF
ATT_DATA ~ AGE*MTHS_THRU_ENG
ATT_DATA ~ AREA*UNI_TYPE
ATT_DATA ~ AREA*ENG_PROF
ATT_DATA ~ AREA*SS_TYPE
ATT_DATA ~ AREA*EMI_REQ
ATT_DATA ~ ENG_PROF*MTHS_THRU_ENG
ATT_DATA ~ ENG_PROF*ENG_COUNTRY
ATT_DATA ~ EMI_REQ*ENG_COUNTRY
As you can see I have MANY variables – and I think this is the root cause of my problem – no model is being fit.
Is there another way of coding that I am missing?
I also don't see how I can 'break the model up' and run separate models so that Lavaan can handle it.
Any help would be very much greatly appreciated.
Warning message:
In lav_object_post_check(object) :
lavaan WARNING: covariance matrix of latent variables
is not positive definite;
use inspect(fit,"cov.lv") to investigate.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/Q575w7AJ2fY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+unsubscribe@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.
I've tried running the model using the sem() command OR and the lavaan() command - but the model does not converge. It only converges with the cfa() command. Why would this be? Since the Lavaan tutorial says the cfa and sem commands are doing pretty much the same thing.
fit <- cfa(...)
fit@call