Skip to content
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

non-exact calculations in mem_exact #38

Open
lbau7 opened this issue Sep 20, 2022 · 0 comments
Open

non-exact calculations in mem_exact #38

lbau7 opened this issue Sep 20, 2022 · 0 comments

Comments

@lbau7
Copy link

lbau7 commented Sep 20, 2022

Hi there,

I currently use the mem_exact function a lot for simulations with a relatively small number of baskets (3-5). I noticed that the function only calculates the posterior probabilities exactly, but the posterior mean, median and HPD-intervals are still estimated from MCMC samples. This slows down computation a lot, since 100.000 samples are drawn and there is no way to change this. Drawing the posterior samples takes much longer than calculating the exact posterior probabilities for a small number of baskets.

Is there a specific reason that the rest of the output isn't also calculated exactly? Since the posterior weights are already calculated in the function, it seems that it would be much faster to also calculate the posterior mean and median exactly. It would be awesome if this could be changed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant