Comments (4)
Hi,
I can't comment on the question of the convergence, since you don't show anything that would suggest the lack of convergence, but the importance weight graph looks fine to me. The fact that it has multiple peaks is perfectly fine.
It is easy to make the importance weight graph of "any" shape even if you consider posteriors shaped like Gaussian mixtures of the form
from dynesty.
Thank you for your comments! I'm sorry, the corner plot was in the attached .ipynb file.
While I understand that the importance weight can exhibit a multimodal distribution when the posterior distribution is multimodal, I have another point that concerns me.
I believe that the importance weight is the product of the likelihood and the decrease in volume. However, at the first peak of the importance weight, the likelihood is extremely low. In fact, I have looked at the observational and model images around this moment, and they were not modeled well at all. Compared to the run plot in the dynesty paper or example codes, the run plot I obtained has a high importance weight at a very early stage of sampling (where -ln X is close to 0). I am concerned about this. Do you think there might be a problem related to this?
from dynesty.
Thank you for your comments! I'm sorry, the corner plot was in the attached .ipynb file.
TBH I do not see anything suspicious in the corner plot
While I understand that the importance weight can exhibit a multimodal distribution when the posterior distribution is multimodal,
The posterior distribution does not need to be multimodal to show mutlimodality in the importance weigths. My example had only one one mode.
I have another point that concerns me. I believe that the importance weight is the product of the likelihood and the decrease in volume. However, at the first peak of the importance weight, the likelihood is extremely low. In fact, I have looked at the observational and model images around this moment, and they were not modeled well at all.
This seems to be a feature of your likelihood+prior. I.e. significant volume of your posterior seems to be there (at low logl values) . Whether that's how it should be, or you have incorrectly specified either the prior, or the likelihood I don't know. But those are the possibilities IMO.
Compared to the run plot in the dynesty paper or example codes, the run plot I obtained has a high importance weight at a very early stage of sampling (where -ln X is close to 0). I am concerned about this. Do you think there might be a problem related to this? !
Again on it's own the importance weight can show anything, it really depends on how the function log-likelihood vs prior volume above the logl value. For a typical Gaussian posterior, you only get one peak, for something very different you don't.
So personally I would check if your likelihood function is defined correctly.
from dynesty.
Thank you for the detailed advice! I will check my code again.
from dynesty.
Related Issues (20)
- Recover partial chains from the dynesty.save checkpoint file
- An issue about dynesty posterior HOT 6
- live point's likelihood not valid HOT 6
- Documentation incorrect for Pool helper object HOT 1
- Importing Nested Sampling chains from file to plot HOT 2
- Using dynesty with npdim HOT 8
- Questions about dyplot.cornerplot HOT 4
- Questions about DynamicNestedSampler setting HOT 4
- Periodic parameters improvement by rotating them
- Ellipsoid check failed HOT 2
- tqdm example HOT 4
- Discretised prior in Dynesty HOT 7
- Loglstar and logZ values HOT 1
- How to access posteriors? HOT 1
- Doubt on sampling methods HOT 6
- Run-to-run instability of logZ HOT 8
- Using weighted samples HOT 3
- blob issues when add_live HOT 4
- log means log_e or log_10? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynesty.