Computing Accurate Probabilistic Estimates of One-D Entropy from Equiprobable Random Samples

Hoshin V Gupta, Mohammed Reza Ehsani, Tirthankar Roy, Maria A Sans-Fuentes, Uwe Ehret +1 more
2/25/2021
stat.MEcs.IT

Official code: rehsani/Entropy (3 stars, Python, last commit 2021-06-17).

Abstract

We develop a simple Quantile Spacing (QS) method for accurate probabilistic estimation of one-dimensional entropy from equiprobable random samples, and compare it with the popular Bin-Counting (BC) method. In contrast to BC, which uses equal-width bins with varying probability mass, the QS method uses estimates of the quantiles that divide the support of the data generating probability density function (pdf) into equal-probability-mass intervals.

Show full abstract

Whereas BC requires optimal tuning of a bin-width hyper-parameter whose value varies with sample size and shape of the pdf, QS requires specification of the number of quantiles to be used. Results indicate, for the class of distributions tested, that the optimal number of quantile-spacings is a fixed fraction of the sample size (empirically determined to be ~0.25-0.35), and that this value is relatively insensitive to distributional form or sample size, providing a clear advantage over BC since hyperparameter tuning is not required. Bootstrapping is used to approximate the sampling variability distribution of the resulting entropy estimate, and is shown to accurately reflect the true uncertainty. For the four distributional forms studied (Gaussian, Log-Normal, Exponential and Bimodal Gaussian Mixture), expected estimation bias is less than 1% and uncertainty is relatively low even for very small sample sizes. We speculate that estimating quantile locations, rather than bin-probabilities, results in more efficient use of the information in the data to approximate the underlying shape of an unknown data generating pdf.

View on arXivView PDF

Code Implementations(1)

rehsani/EntropyOfficial100%

Quantile-spacing entropy estimation for 1-D samples, no hyperparameter tuning. Python + MATLAB (Entropy 2021).

31Python, MATLABMay 4, 20205 years ago
entropyentropy-estimationinformation-theoryinformation-theory-and-codemath+1 more

Similar Papers

Cite this paper

@article{gupta2021computing,
  title  = {Computing Accurate Probabilistic Estimates of One-D Entropy from Equiprobable Random Samples},
  author = {Hoshin V Gupta and Mohammed Reza Ehsani and Tirthankar Roy and Maria A Sans-Fuentes and Uwe Ehret and Ali Behrangi},
  year   = {2021},
  eprint = {2102.12675},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.12675}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.12675.svg)](https://codeofpaper.com/paper/2102.12675)

Discussion