-
Notifications
You must be signed in to change notification settings - Fork 22
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
parameterEstimates() credible interval #2
Comments
Thanks for the report. I think this is a side-effect of using lavaan code and will look at it soon. Also, I think the assumption there is that the posteriors are normal, as opposed to the priors.
In the meantime, blavInspect() can be used to extract HPD intervals of any percentage, i.e.,
blavInspect(fit, "hpd", level=.8)
where level can be changed as desired.
Ed
…________________________________________
From: David Phillips [[email protected]]
Sent: Tuesday, January 17, 2017 5:20 PM
To: ecmerkle/blavaan
Cc: Subscribed
Subject: [ecmerkle/blavaan] parameterEstimates() credible interval (#2)
Dear creators,
I noticed that there are differences between summary(fit) and parameterEstimates(fit).
The parameterEstimates() function seems to be identical to its lavaan counterpart, and thus assumes Gaussian priors for all parameters. It would be very useful to convert the ci.lower and ci.upper output from this function to HPD.
Thanks,
David
�
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#2>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEmGwsHPsuZYwQKxhgHGYnvh36D_HLvyks5rTUyigaJpZM4LmSeV>.
|
Yves has recently set "se" to FALSE when passing non-lavaan objects to parameterEstimates(). While the Bayesian results are not (yet) included here, this at least removes the issue of somewhat-confusing results being displayed by default. Ed |
Lost track of this one, but two possibilities here (more for myself than anyone else): see the boot.ci.type argument of parameterEstimates() for alternative ways of handling SEs and intervals. Alternatively, maybe change fit@Options$se to "mcmc", but it might break other lavaan commands. |
Dear creators,
I noticed that there are differences between
summary(fit)
andparameterEstimates(fit)
.The
parameterEstimates()
function seems to be identical to itslavaan
counterpart, and thus assumes Gaussian priors for all parameters. It would be very useful to convert theci.lower
andci.upper
output from this function to HPD.Thanks,
David
The text was updated successfully, but these errors were encountered: