{'fraction_non_alphanumeric': 0.01739788199697428, 'fraction_numerical': 0.0, 'mean_word_length': 5.096774193548387, '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}}
Testing for Structural Breaks via Ordinal Pattern Dependence

ABSTRACT We propose new concepts to analyze and model the dependence structure between two time series. Our methods rely exclusively on the order structure of the data points. Hence, the methods are stable under monotone transformations of the time series and robust against small perturbations or measurement errors. Ordinal pattern dependence can be characterized by four parameters. We propose estimators for these parameters, and we calculate their asymptotic distributions. Furthermore, we derive a test for structural breaks within the dependence structure. All results are supplemented by simulation studies and empirical examples. For three consecutive data points attaining different values, there are six possibilities how their values can be ordered. These possibilities are called ordinal patterns. Our first idea is simply to count the number of coincidences of patterns in both time series and to compare this with the expected number in the case of independence. If we detect a lot of coincident patterns, it would indicate that the up-and-down behavior is similar. Hence, our concept can be seen as a way to measure nonlinear “correlation.” We show in the last section how to generalize the concept to capture various other kinds of dependence.