An Informational Test for Random Finite Strings

Entropy (Basel). 2018 Dec 6;20(12):934. doi: 10.3390/e20120934.

Abstract

In this paper, by extending some results of informational genomics, we present a new randomness test based on the empirical entropy of strings and some properties of the repeatability and unrepeatability of substrings of certain lengths. We give the theoretical motivations of our method and some experimental results of its application to a wide class of strings: decimal representations of real numbers, roulette outcomes, logistic maps, linear congruential generators, quantum measurements, natural language texts, and genomes. It will be evident that the evaluation of randomness resulting from our tests does not distinguish among the different sources of randomness (natural, or pseudo-casual).

Keywords: algorithmic information theory; incompressibility; informational indexes; k-entropy; k-mer multiplicity; pseudo-random generators; randomness test; typicality.