Attachment | Size |
---|---|
MetaCFA_6_10_21.R [6] | 31.54 KB |
My colleagues and I are running into an issue where we are comparing a model between two groups of correlations. The two groups are categorically different (e.g. gender). So, for example, we have a set of correlations for boys and another set for girls. When we compare our two models, using anova (e.g. anova (fit1, fit2)) then we get an NA for our p value.
base comparison ep minus2LL df AIC diffLL diffdf p Boys Girls 5 22.42174 -5 32.42174 -17.81253 0 NA
Is this due to how we have specified the A and S matrix?
I have also went ahead and attached our code that includes the data.