arXiv:2610.35121nlin.CDOct 2026

Manuscript Offprint

arXiv:2610.35121

Revisiting entropy and entropy-related magnitudes of a symbolic sequence and their estimation

Efren Aragon-Perez, Ania Mesa-Rodriguez, Karel Garcia-Medina, Daniel Estevez-Moya, Amanda Mollineda-Rodriguez, Ernesto Estevez-Rams

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

E. Aragón-Pérez

Pleros, Parque Científico Tecnológico de la Habana,

Carretera a San Antonio, Boyeros. La Habana. Cuba.

A. Mesa-Rodríguez

Universidad de La Habana, San Lazaro y L. CP 10400. La Habana. Cuba. and MPI for the Physics of Complex Systems. Nöthnitzer Strasse 38. D-01187 Dresden.*

K. García-Medina

Universidad de La Habana, San Lazaro y L. CP 10400. La Habana. Cuba.

D. Estevez-Moya

MPI for the Physics of Complex Systems. Nöthnitzer Strasse 38. D-01187 Dresden.*

A. Mollineda-Rodríguez and E. Estevez-Rams†

Universidad de La Habana, San Lazaro y L. CP 10400. La Habana. Cuba. and

Pleros, Parque Científico Tecnológico de la Habana,

Carretera a San Antonio, Boyeros. La Habana. Cuba.

(Dated: October 27, 2026)

This article revisits entropy and related magnitudes—entropy density, effective measure complexity, and informational distance—for the analysis of sequential data. We present their mathematical foundations within information theory and ergodic theory, establishing connections between probabilistic Shannon entropy and algorithmic Kolmogorov complexity. A central result, Ziv's theorem, demonstrates the asymptotic equivalence between the normalised number of distinct words and entropy density, providing the theoretical basis for estimation via Lempel-Ziv factorisation. We examine the convergence properties of these magnitudes and introduce estimation procedures for finite sequences, including a method for the effective measure complexity and the transfer entropy rate. An open-source software library implementing parallel algorithms for efficient Lempel-Ziv factorisation is presented. The practical utility of the framework is illustrated through three case studies: functional brain connectivity analysis from fMRI data, characterisation of spatiotemporal dynamics in coupled nonlinear oscillators, and electrocardiogram-based classification of atrial fibrillation, demonstrating how entropic measures capture meaningful structural and dynamical properties across diverse domains.

  • Pleros, Parque Científico Tecnológico de la Habana, Carretera a San Antonio, Boyeros. La Habana. Cuba.

† estevez@fisica.uh.cu

Many complex systems are known to us through a single recorded signal, from which regularity, memory, and randomness must be disentangled. Entropy density, effective measure complexity, and informational distance measure exactly that – how unpredictable a signal is, how much memory it carries, how far two signals lie apart – yet their theory sits scattered across decades of literature, and their estimation is frequently done wrong. This article assembles that theory in one place, links Shannon's entropy to Kolmogorov's algorithmic complexity, and shows how Lempel-Ziv factorisation turns both into practical, parameter-free estimators, backed by open-source software that processes sequences of a billion symbols. Applied unchanged to fMRI recordings, a ring of coupled nonlinear oscillators, and electrocardiograms, the same measures recover task-related brain activity, detect collective behaviour near the onset of chaos, and separate healthy from arrhythmic heart rhythms with clinically relevant accuracy, showing that a single information-theoretic toolkit captures memory and unpredictability across strikingly different systems.

I. INTRODUCTION

Data from complex dynamical systems often appear as one or a few time series, from which the system's dynamics must be extracted [1]. In data analysis, the usual aims are to assess regularity versus randomness, to identify patterns, to discover governing laws, or to predict future system behaviour [2]. One useful approach is to treat the dynamical system as an information source and apply information-theoretic tools alongside statistical descriptions [3]. In general, a single or just a few data sets are insufficient to fully understand the underlying dynamical system that drives the information source, yet these are often the only available data. In such cases, assuming ergodicity becomes necessary to extract the relevant information from the data [4].

For most systems, a fundamental quest is to find the relation between randomness and pattern in the system signal [5]. Randomness can be considered noise or, in a more useful perspective, the intrinsic uncertainty of the system, while a pattern is related to the deterministic laws that govern the system's behaviour. It has been argued that for a complex dynamical system, the behaviour lies between complete predictability and total randomness [5]. Entropy density captures the irreducible unpredictability in a signal. Entropy density, also known as Kolmogorov-Sinai entropy, entropy rate, among other names, has been defined in several fields, including information theory, ergodic theory, and dynamical systems [3, 6]. A lesser-used measure of complexity is the effective measure of complexity, introduced by Grassberger [4], which aims to capture a system's intrinsic memory and, in time-series analysis, its reliance on the past to define its future. Both magnitudes can be theoretically justified by Kolmogorov's algorithmic complexity, which laid a solid foundation for the analysis of data beyond the ensemble-statistical point of view [7]. Kolmogorov's theory of complexity builds on the existence of a universal computational machine, as demonstrated by Turing, and on the computational theory of recurrent functions [8]. From Kolmogorov theory, several concepts emerge that are closely related to entropy density and effective measure complexity; significantly, it also allows us to define the informational distance as a measure of the distance between two data sets [9].

The informational theory related concepts have been used extensively in analyzing experimental and theoretical models and there is an extensive literature regarding their use [2, 3, 6, 10–14]. In particular there is abundant literature dealing with the estimation of entropy density, and in a much lesser extent, effective measure complexity and informational distance [15–22]. In spite of that, there persist some confusion in the validity of the estimation procedures, specially in the latter magnitudes, and its use, and the mathematics of the whole subject appears scattered in the scientific literature, some misconceptions also persist [20, 23].

This article revisits key concepts and their mathematical foundations, including estimation and practical use. It gathers work previously scattered across various sources, including new, unpublished results from the authors. The aim is to offer a comprehensive treatment, from theory to practice, in a single source. Publicly available software and a library for estimating these magnitudes are also introduced.

What this article is not, is a review, there are some important areas left out, specially the early work of Grassberger [4, 23] and the further studies by Crutchfield and Feldman [5] on entropy estimation for finite state automata, although some analytical results from their work will be used to compare estimated values of entropy density, and effective measure complexity with the exact values.

The article comprises three main parts: (1) mathematical foundations of information theory (sections II, III, IV, V); (2) analysis of Lempel-Ziv factorisation, complexity, and entropic magnitude estimation (sections VI, VII, VIII); and (3) case studies (section IX). Conclusions follow. The appendix contains additional material, including proofs and explanations of procedures. Table I collects the notation used throughout.