Table of Contents
Fetching ...

A Comparison of Different Representations of Ordinal Patterns and Their Usability in Data Analysis

Alexander Schnurr, Angelika Silbernagel

TL;DR

The paper addresses how to represent ordinal patterns in time-series analysis and compares three core representations—permutation, rank, and inversion—across digital implementation, inverse (space/time) transformations, and ties handling for ordinal patterns of length $d$. It formalizes these representations, introduces explicit numeric encodings such as the Lehmer-like $n_{LC}$ and KSE-based $n_{KSE}$ codes, and analyzes computational costs to guide practical choice. A case study on SPX and VIX demonstrates the trade-offs in readability and efficiency, showing that rank representations offer intuitive interpretation while inversion-based encodings excel for digital processing, and that generalized rank representations are advantageous when ties are frequent. The work provides concrete recommendations and guidelines for selecting ordinal-pattern representations in real-world time-series analyses, including scenarios with categorical data or many ties.

Abstract

We describe and analyze different approaches to represent ordinal patterns. All of these can be found in the literature. The most important representations (plus sub-classes) are compared in terms of their applicability from different angles. Namely we consider digital implementation, inverse patterns and ties between values. At the end we provide a guideline on which occasions which representation should be used.

A Comparison of Different Representations of Ordinal Patterns and Their Usability in Data Analysis

TL;DR

The paper addresses how to represent ordinal patterns in time-series analysis and compares three core representations—permutation, rank, and inversion—across digital implementation, inverse (space/time) transformations, and ties handling for ordinal patterns of length . It formalizes these representations, introduces explicit numeric encodings such as the Lehmer-like and KSE-based codes, and analyzes computational costs to guide practical choice. A case study on SPX and VIX demonstrates the trade-offs in readability and efficiency, showing that rank representations offer intuitive interpretation while inversion-based encodings excel for digital processing, and that generalized rank representations are advantageous when ties are frequent. The work provides concrete recommendations and guidelines for selecting ordinal-pattern representations in real-world time-series analyses, including scenarios with categorical data or many ties.

Abstract

We describe and analyze different approaches to represent ordinal patterns. All of these can be found in the literature. The most important representations (plus sub-classes) are compared in terms of their applicability from different angles. Namely we consider digital implementation, inverse patterns and ties between values. At the end we provide a guideline on which occasions which representation should be used.
Paper Structure (7 sections, 16 equations, 5 figures, 3 tables)

This paper contains 7 sections, 16 equations, 5 figures, 3 tables.

Figures (5)

  • Figure 1: Ordinal patterns of length $d=3$.
  • Figure 2: Ordinal pattern representations for $x = (9, 5, 4, 10, 8)$.
  • Figure 3: Ordinal patterns of $x = (9, 5, 4, 10, 8)$ (left) inversed in space (top right) and time (bottom right).
  • Figure 4: Generalized rank representations for ordinal patterns of length $d=3$.
  • Figure 5: 'Open prices' of VIX and SPX, respectively, in the time period 01/02/1990 to 31/01/2023 corresponding to $n=8313$ data points (top). First 10 data points corresponding to the time period 01/02/1990 to 14/02/1990 (bottom).

Theorems & Definitions (6)

  • Definition 1
  • Definition 2: Permutation Representation
  • Definition 3: Rank Representation
  • Definition 4: Inversion Representation
  • Definition 5: Number Representation
  • Definition 6: Generalized Rank Representation