Computing Entropies with Nested Sampling
Abstract
The Shannon entropy, and related quantities such as mutual information, can be used to quantify uncertainty and relevance. However, in practice, it can be difficult to compute these quantities for arbitrary probability distributions, particularly if the probability mass functions or densities cannot be evaluated. This paper introduces a computational approach, based on Nested Sampling, to evaluate entropies of probability distributions that can only be sampled. I demonstrate the method on three examples: a simple Gaussian example where the key quantities are available analytically; (ii) an experimental design example about scheduling observations in order to measure the period of an oscillating signal; and (iii) predicting the future from the past in a heavy-tailed scenario.
- Publication:
-
Entropy
- Pub Date:
- August 2017
- DOI:
- arXiv:
- arXiv:1707.03543
- Bibcode:
- 2017Entrp..19..422B
- Keywords:
-
- information theory;
- entropy;
- mutual information;
- Monte Carlo;
- nested sampling;
- Bayesian inference;
- Statistics - Computation;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Computer Science - Information Theory;
- Physics - Data Analysis;
- Statistics and Probability
- E-Print:
- Accepted for publication in Entropy. 21 pages, 3 figures. Software available at https://github.com/eggplantbren/InfoNest