Hello,
I'm having trouble understanding why my model is resulting in "NA" values for the Scaled Robust CFI/TLI/RMSEA indicators. It is a partial mediation model with an outcome that is a measured variable. All of the measured variables with the exception of the outcome are ordinal, 6-point Likert-type items, so I am using the WLSMV estimator.
It is otherwise showing good fit.
I've pasted syntax for my model below, and also attached the code and an example data file.
Thanks in advance for any help you could provide,
Pete
ord_vars <- c("ecost_time", "ecost_otherthings", "ecost_giveup", "ecost_emotional",
"evalue_important", "evalue_value", "evalue_useful",
"eexpect_learn", "eexpect_successful", "eexpect_understand",
"commitment1", "commitment2", "commitment3", "commitment4",
"commitment5", "commitment6",
"emotion1", "emotion2", "emotion3", "emotion4", "emotion5",
"emotion6", "emotion7","emotion8", "emotion9",
"expression1", "expression2", "expression3", "expression4",
"social1", "social2", "social3", "social4", "social5",
"social6", "social7")
#### Partial Mediation Model: Ensemble ####
part_med_ens <- '
# Measurement model
ecost =~ ecost_time + ecost_otherthings + ecost_giveup + ecost_emotional
evalue =~ evalue_important + evalue_value + evalue_useful
eexpect =~ eexpect_learn + eexpect_successful + eexpect_understand
commitment =~ commitment1 + commitment2 + commitment3 + commitment4 +
commitment5 + commitment6
emotion =~ emotion1 + emotion2 + emotion3 + emotion4 + emotion5 +
emotion6 + emotion7 + emotion8 + emotion9
expression =~ expression1 + expression2 + expression3 + expression4
social =~ social1 + social2 + social3 + social4 + social5 +
social6 + social7
identity =~ commitment + emotion + expression + social
# Correlated error variance
commitment3 ~~ commitment4
# Structural model
composite_eintent ~ ecost + evalue + eexpect
ecost ~ evalue + eexpect
evalue ~ identity
eexpect ~ identity
# Correlated latent variable error variance
evalue ~~ eexpect
'