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

Plot joint distribution? #33

Open
ebachelet opened this issue Mar 6, 2023 · 3 comments
Open

Plot joint distribution? #33

ebachelet opened this issue Mar 6, 2023 · 3 comments

Comments

@ebachelet
Copy link

Hello

Thanks for the nice package. This is not an issue, but a request. Is there, or would it be possible to add, an option to plot the joint distribution? For example, plot in a different color the joint distribution of Planck and WMAP?

Thanks

@SebastianBocquet
Copy link
Owner

Thanks for the feedback!

To make sure I understand: so you have two chains (e.g., Planck and WMAP), and you want to plot both of them (which is already possible) but you also want to plot the joint constraint?
In general, one could try and do this via importance sampling, but if the two distributions do not have much overlap this won't work well. So typically, it might be better to explicitly run the joint analysis. Is that an option?

@ebachelet
Copy link
Author

Yes. So you recommend to generate manually the joint sampling and adding it as a third component? I will give it a try.

@SebastianBocquet
Copy link
Owner

Sounds good. Please don't hesitate to reach out with more questions!

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

2 participants