ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:1605.017] Surprise Calculator: Estimating relative entropy and Surprise between samples

The Surprise is a measure for consistency between posterior distributions and operates in parameter space. It can be used to analyze either the compatibility of separately analyzed posteriors from two datasets, or the posteriors from a Bayesian update. The Surprise Calculator estimates relative entropy and Surprise between two samples, assuming they are Gaussian. The software requires the R package CompQuadForm to estimate the significance of the Surprise, and rpy2 to interface R with Python.

Code site:
https://github.com/seeh/surprise
Used in:
https://ui.adsabs.harvard.edu/abs/2016PhRvD..93j3507S
Bibcode:
2016ascl.soft05017S

Views: 5113

ascl:1605.017
Add this shield to your page
Copy the above HTML to add this shield to your code's website.