-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model fit and ppmc() with ordinal data #45
Comments
Hi Zezhen, thanks for the questions. I think that these issues are mostly due to the fact that ordinal models are very new to blavaan. I will have to look at 1 some more... it might well be that these metrics do not work well for ordinal data (they were developed for continuous data), but I cannot rule out a bug right now. I will let you know if I find something. For 2, this is a bug and should be fixed soon. For 3, the "MargLogLik" is the likelihood used for Bayes factors (marginal over all parameters, as opposed to marginal over only the latent variables... the And I would recommend upgrading blavaan to 0.4-1, or to the github version. |
Just some follow-ups, involving commit b0c191e from earlier today:
|
Hi Ed,
@bgoodri and I are working on a project together where we wish to build a Bayesian CFA model for a few measures with items on an ordinal scale (e.g., 1-4 Likert scale). We have a few questions:
blavFitIndices()
) is very different from that of the Frequentist CFA (given bylavaan::cfa()
). I understand that the Frequentist model may be overfitting the data by giving CFI = 0.99 and RMSEA = 0.04. But the Bayesian model fit is very different. I checked the predicted ordinal values from the model and they seem to correspond well with the raw distribution of the items. Could it be because these Bayesian fit indices do not work too well with ordinal data?ppmc()
on my fitted Bayesian CFA model, I got this error. Is this because ppmc() does not work too well with ordinal data? Would addingmcmcextra = list(data = list(emiter = 50))
inbcfa()
help? I am usingblavaan_0.3-18.853
.MargLogLik
is still NA after addingmcmcextra = list(data = list(llnsamp = 200))
. Is there another way to compute the likelihood?Thanks!
The text was updated successfully, but these errors were encountered: