Dear all,
I am performing confirmatory factor analyses using the lavaan package in R. I have fitted two models (non-nested) and would like to assess which fits my data best. The models are as follows:
Model 1: x1, x2, x3, x4 and x5 are either binary or non-normally distributed categorical variables (specified as ordered in my df).
model_1 <- '
latent_var =~ x1 + x2 + x3 + x4 + x5
latent_var~~1*latent_var'
fit1 <- cfa(model_1, data=df, std.lv=TRUE)
Model 2: x1, x2, x3 are the same as above and x6 is a normally-distributed continuous variable.
model_2 <- '
latent_var =~ x1 + x2 + x3 + x6
latent_var~~1*latent_var'
fit2 <- cfa(model_2, data=df, std.lv=TRUE)
I have used the WLSMV (DWLS) estimator and both models seem to fit on the basis of (X2 significance, TLI, CFI, RMSEA, SRMR and WRMR). I have been looking for advice online about how to compare the fit of these two models, because information criterion indices like the AIC or BIC are unavailable and I understand that using a chi-square difference test is inappropriate. I have read that the WRMR is a good measure of fit for models using categorical variables, and that the smaller the value the better the fit. But I assume that it is not appropriate to base my comparison of model fit on the WRMR value alone.
Does anyone have any advice on how I might compare the fit of these two models? Any suggestions are greatly appreciated.
Many thanks in advance,
Olivia
I have fitted two models (non-nested) and would like to assess which fits my data best.