Recurrence period density entropy
# Recurrence period density entropy

Recurrence period density entropy (RPDE) is a method, in the fields of dynamical systems, stochastic processes, and time series analysis, for determining the periodicity, or repetitiveness of a signal.

## Overview

Recurrence period density entropy is useful for characterising the extent to which a time series repeats the same sequence, and is therefore similar to linear autocorrelation and time delayed mutual information, except that it measures repetitiveness in the phase space of the system, and is thus a more reliable measure based upon the dynamics of the underlying system that generated the signal. It has the advantage that it does not require the assumptions of linearity, Gaussianity or dynamical determinism. It has been successfully used to detect abnormalities in biomedical contexts such as speech signal.

The RPDE value $\scriptstyle H_{\mathrm {norm} }$ is a scalar in the range zero to one. For purely periodic signals, $\scriptstyle H_{\mathrm {norm} }=0$, whereas for purely i.i.d., uniform white noise, $\scriptstyle H_{\mathrm {norm} }\approx 1$.

## Method description

The RPDE method first requires the embedding of a time series in phase space, which, according to stochastic extensions to Taken's embedding theorems, can be carried out by forming time-delayed vectors:

    $\mathbf {X} _{n}=[x_{n},x_{n+\tau },x_{n+2\tau },\ldots ,x_{n+(M-1)\tau }]$

for each value $x_n$ in the time series, where M is the embedding dimension, and τ is the embedding delay. These parameters are obtained by systematic search for the optimal set (due to lack of practical embedding parameter techniques for stochastic systems) (Stark et al. 2003). Next, around each point $\scriptstyle \mathbf {X} _{n}$ in the phase space, an $\varepsilon$-neighbourhood (an m-dimensional ball with this radius) is formed, and every time the time series returns to this ball, after having left it, the time difference T between successive returns is recorded in a histogram. This histogram is normalised to sum to unity, to form an estimate of the recurrence period density function P(T). The normalised entropy of this density:

    $H_{\mathrm {norm} }=-(\ln {T_{\max })}^{-1}\sum _{t=1}^{T_{\max }}P(t)\ln {P(t)}$

is the RPDE value, where $\scriptstyle T_{\max }$ is the largest recurrence value (typically on the order of 1000 samples). Note that RPDE is intended to be applied to both deterministic and stochastic signals, therefore, strictly speaking, Taken's original embedding theorem does not apply, and needs some modification.

## RPDE in practice

RPDE has the ability to detect subtle changes in natural biological time series such as the breakdown of regular periodic oscillation in abnormal cardiac function which are hard to detect using classical signal processing tools such as the Fourier transform or linear prediction. The recurrence period density is a sparse representation for nonlinear, non-Gaussian and nondeterministic signals, whereas the Fourier transform is only sparse for purely periodic signals.

