margarine: Posterior sampling and marginal Bayesian statistics
Abstract
Margarine computes marginal bayesian statistics given a set of samples from an MCMC or nested sampling run. Specifically, the code calculates marginal Kullback-Leibler divergences and Bayesian dimensionalities using Masked Autoregressive Flows and Kernel Density Estimators to learn and sample posterior distributions of signal subspaces in high dimensional data models, and determines the properties of cosmological subspaces, such as their log-probability densities and how well constrained they are, independent of nuisance parameters. Margarine thus allows for direct and specific comparison of the constraining ability of different experimental approaches, which can in turn lead to improvements in experimental design.
- Publication:
-
Astrophysics Source Code Library
- Pub Date:
- June 2023
- Bibcode:
- 2023ascl.soft06011B
- Keywords:
-
- Software