Hi,
I'm new with lavaan and confirmatory factor analysis, so I hope this is not a very dumb mistake I'm making. I'm exploring the validity of a 58 ordinal item questionnaire. To this end, I ran a CFA.
TriModel <- 'Boldness =~ TriPM1+TriPM4+TriPM7+TriPM10+TriPM13+TriPM16+TriPM19+TriPM22+TriPM25+TriPM28+TriPM32+TriPM35+TriPM38+TriPM41+TriPM44+TriPM47+TriPM50+TriPM54+TriPM57
Meanness =~ TriPM2+TriPM6+TriPM8+TriPM11+TriPM14+TriPM17+TriPM20+TriPM23+TriPM26+TriPM29+TriPM33+TriPM36+TriPM39+TriPM40+TriPM42+TriPM45+TriPM48+TriPM52+TriPM55
Disinhibition =~ TriPM3+TriPM5+TriPM9+TriPM12+TriPM15+TriPM18+TriPM21+TriPM24+TriPM27+TriPM30+TriPM31+TriPM34+TriPM37+TriPM43+TriPM46+TriPM49+TriPM51+TriPM53+TriPM56+TriPM58'
fit<-cfa(TriModel,data=data,
std.lv=T, std.ov=T)
modindices(fit)
When I request the modindices, I get values for all but the items that were made to load onto the factors. That is, for Boldness I get mod indices for the items that load on Meanness and Disinhibition. On the other hand, with the CFA example on the lavaan website, which used a similar model,the mod indices were displayed as they should: only for the items that load onto their own factors. What is the difference and how can I fix it?
Kind regards,
Sercan
Note: the same issue happens when data is converted to numeric values.