Frontiers in NeuroinformaticsNeurosciencePeer-reviewed journal article
A quick and easy way to estimate entropy and mutual information for neuroscience
Abstract
AO_SCPLOWBSTRACTC_SCPLOWCalculations of entropy of a signal or mutual information between two variables are valuable analytical tools in the field of neuroscience. They can be applied to all types of data, capture nonlinear interactions and are model independent. Yet the limited size and number of recordings one can collect in a series of experiments makes their calculation highly prone to sampling bias. Mathematical methods to overcome this so-called "sampling disaster" exist, but require significant expertise, great time and computational costs. As such, there is a need for a simple, unbiased and computationally efficient tool for estimating the level of entropy and mutual information. In this paper, we propose that application of entropy-encoding compression algorithms widely used in text and image compression fulfill these requirements. By simply saving the signal in PNG picture format and measuring the size of the file on the hard drive, we can estimate entropy changes through different conditions. Furthermore, with some simple modifications of the PNG file, we can also estimate the evolution of mutual information between a stimulus and the observed responses through different conditions. We first demonstrate the applicability of this method using white-noise-like signals. Then, while this method can be used in all kind of experimental conditions, we provide examples of its application in patch-clamp recordings, detection of place cells and histological data. Although this method does not give an absolute value of entropy or mutual information, it is mathematically correct, and its simplicity and broad use make it a powerful tool for their estimation through experiments.
- Citations
- 25
- FWCI
- 1.68
- Field percentile
- top 16%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Quantifying Evoked Responses through Information-Theoretical Measures
Julian Fuhrer, Kyrre Glette, … Alejandro Omar Blenkmann·Frontiers in NeuroinformaticsPeer-reviewed·May 23, 2023
- Calculating the Mutual Information Between Two Spike Trains
Conor J Houghton·Neural ComputationPeer-reviewed·Dec 21, 2018
- MINT: a toolbox for the analysis of multivariate neural information coding and transmission
Gabriel Matías Lorenz, Nicola Marie Engel, … Stefano Panzeri·PLoS Computational BiologyPeer-reviewed·Apr 15, 2025
- NIT: an open-source tool for information theoretic analysis of neural population data
Roberto Maffulli, Miguel A. Casal, … Stefano Panzeri·bioRxiv·Dec 11, 2022
- Information theoretic approaches to deciphering the neural code with functional fluorescence imaging
Jason R. Climer, Daniel A. Dombeck·eNeuroPeer-reviewed·Aug 25, 2021
- Estimating mutual information and Pearson correlation on neural evoked responses
Anni Hukari, Silvia Federica Cotroneo, Riitta H. Salmelin·NeuroinformaticsPeer-reviewed·Sep 16, 2026