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

improve posterior_to_prior test #513

Closed
aloctavodia opened this issue Aug 10, 2024 · 2 comments · Fixed by #515
Closed

improve posterior_to_prior test #513

aloctavodia opened this issue Aug 10, 2024 · 2 comments · Fixed by #515

Comments

@aloctavodia
Copy link
Contributor

A very basic test was introduced in #512, we should improve it. For instance, we should check that pz.posterior_to_prior(model, idata, alternative={"b": [pz.Gamma(mu=0)]}) returns a Gamma distribution for parameter "b" with the mu, sigma parametrization while pz.posterior_to_prior(model, idata, alternative="auto") returns the same but with the alpha, and beta parametrization.

@aloctavodia
Copy link
Contributor Author

@rohanbabbar04 Can you work on this?

@rohanbabbar04
Copy link
Contributor

Sure I will work on this

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

Successfully merging a pull request may close this issue.

2 participants