oslocyclotronlab / ompy

A python implementation of the Oslo method
https://ompy.readthedocs.io
GNU General Public License v3.0
7 stars 7 forks source link

Store evidence #156

Open vetlewi opened 4 years ago

vetlewi commented 4 years ago

I've added an attribute to the ResultsNormalized to store the global evidence from the MultiNest results. Could be useful down the line.

vetlewi commented 4 years ago

Good idea.

How does this act when one employs the "stagewise" normalization? normalizeStagewise in EnsembleNormalizer? I havn't thought "enough" about it, but I assume the evidence should be multiplied somehow by the distance of the chosen B (-> Gg) from the experimental Gg. So this process here should modify the evidence I guess:

https://github.com/oslocyclotronlab/ompy/blob/32572d596cbab53d3bf5b6bbe19f3ed6be5765e0/ompy/ensembleNormalizer.py#L189-L194

Huh, haven't though about that. I guess it depends on the likelihood and prior to be separable (with regards to Gg)? I don't feel like I know enough Bayesian statistics to confidently give an answer :p

fzeiser commented 4 years ago

Unless this is very urgent, I'll think more about it after I've handed in my thesis in December. Writing on the main body of it now ;).

vetlewi commented 4 years ago

Unless this is very urgent, I'll think more about it after I've handed in my thesis in December. Writing on the main body of it now ;).

Not very urgent. Can always pull to a local branch for now.