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

A potential workaround for out-of-bounds issues #2

Open
wlandau opened this issue Aug 23, 2023 · 1 comment
Open

A potential workaround for out-of-bounds issues #2

wlandau opened this issue Aug 23, 2023 · 1 comment

Comments

@wlandau
Copy link
Owner

wlandau commented Aug 23, 2023

On some datasets, the hierarchical model marginal posteriors are sometimes not strictly between those of the independent and pooled models. I think there may be a refactor which makes all these models more directly comparable.

@wlandau
Copy link
Owner Author

wlandau commented Aug 23, 2023

I will start by adding an optional l_tau hyper parameter to control the lower bound of the uniform prior on tau. Then different versions of the hierarchical model can be compared by setting different hyperparameters. Pooling should happen when l_tau is 0 and s_tau is close to 0, and borrowing should mostly disappear when l_tau and s_tau are very high. By using hbl_mcmc_hierarchical() with these hyperparameters instead of hbl_mcmc_pool() or hbl_mcmc_independent(), we will hopefully achieve a more direct apples-to-apples comparison because the dimensionality of the 3 models will agree.

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