--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/9f51d45f-bc65-4166-81df-e417b6d62cd0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/1c02eb85-9300-4714-81a1-c6b6dad34226n%40googlegroups.com.
no applicable method for 'anova' applied to an object of class "character"Can't think why this is coming up.
lavTestLRT(output) # anova() simply calls this functionlavTestLRT(SEM.model)The p-value is not significant (p=0.333); therefore, I conclude the parameters are invariant across models
I constrain only that parameter in the model: c(a,b)*x1
My question is this: shouldn't the models be nested given I included the constraint for x1's slope in model.3?
Thank you for the references, Dr. Jorgensen. Just to be clear, here is what I am doing: I want to test whether one variable’s regression coefficient, Z1, is invariant across two groups (Z4) in a structural model. In essence, I am attempting a moderation using multi-group analysis with SEM and categorical variables.
Here is the first model:Per your previous response, I then constrain the regression coefficients for Z1 on Y1 to be equal across both groups in model 2, or:
Y1 ~ Y2 + c(b1, b1)* Z1 + Z2 + Z3
Here is the fit code for structural invariance model, constraining equality for thresholds, lv.covariances plus the one regression path for Z1 noted above:
fit_model.2 <-sem(model.2, data=mydata,Now when I fit the model, the degrees of freedom are different; the chi-square test is not significant (p = 0.6745). No errors.
I conclude that the model is invariant with regard to the regression path for Z1 and there is no moderation concerning Z1. Does that look correct? (The Wu and Estabrook article was useful to understand the logic, but not the execution in Lavaan).
Does that look correct?
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/544154c6-61c5-4679-9b87-715d62945475n%40googlegroups.com.
Constraining loadings without constraining thresholds is not a useful test.
I came across this article that was very helpful, especially in explaining how thresholds figure into invariance testing: https://www.journals.uchicago.edu/doi/full/10.1086/681607
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/af804524-8229-4bff-b6f1-74bfa88f6c9do%40googlegroups.com.
I have some questions regarding comparison of non-nested models obtained by CFA:
Q1: Is it appropriate to compare (in a descriptive way) fit indexes like CFI, TLI, GFI, AGFI, RMSEA, SRMR?
Q2: Is it appropriate to compare (in a descriptive way) indexes like AIC and BIC?
Q3: What about the Vuong’s test? Do you recommend it?
Q4: Do you recommend any tutorial or papers to read about non-nested models comparison?
Q5: Do you recommend any package in R to make comparison of non-nested models?
Q6: If Vuong's test is appropriate, do you recommend any package in R to perform it?
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/c3050c44-0a73-4d11-962c-634db878cc53n%40googlegroups.com.
Is there any way to perform Vuong's test to compare non-nested models when MLM or MLR has been used to fit them?
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/c36aebda-927e-4673-a552-871ce648e108n%40googlegroups.com.