{'fraction_non_alphanumeric': 0.02112676056338028, 'fraction_numerical': 0.0012804097311139564, 'mean_word_length': 5.10546875, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multiscale Permutation Entropy: Statistical Characterization on Autoregressive and Moving Average Processes

Multiscale Permutation Entropy (MPE), an extension of Permutation Entropy (PE), was proposed to better capture the information content in long range trends. This technique has been extensively used in biomedical applications for diagnosis purposes. Although PE theory is well established and explored, there is still a lack of theoretical development for MPE. In the present paper, we expand the theory by formulating an explicit MPE model of first order Autoregressive (AR) and Moving Average (MA) processes, which are well known and used in signal modeling. We first build the autocorrelation function of coarse-grained AR and MA models, which are a prerequisite for MPE calculation. Next, we use the resulting autocorrelation functions to establish the theoretical value of MPE as a function of time scale and AR or MA parameters. The theoretical result is tested against MPE measurements from simulations. We found the MPE of the 1o order AR model to converge to the maximum entropy with increasing time scale. Nonetheless, the convergence is not always monotonic. For AR parameter values greater than the Golden Ratio, the MPE curve presents a local minimum at a time scale different than one, which implies a more regular structure than the one measured with PE. The MPE of the 1o order MA model converges rapidly to the maximum entropy with increasing time scales, regardless of the MA parameter value, which is in accordance to our expectations.