Recurrence quantification analysis

From HandWiki

Recurrence quantification analysis (RQA) is a method of nonlinear data analysis (cf. chaos theory) for the investigation of dynamical systems. It quantifies the number and duration of recurrences of a dynamical system presented by its phase space trajectory.

Background

The recurrence quantification analysis (RQA) was developed in order to quantify differently appearing recurrence plots (RPs), based on the small-scale structures therein. Recurrence plots are tools which visualise the recurrence behaviour of the phase space trajectory [math]\displaystyle{ \vec{x}(i) }[/math] of dynamical systems:

[math]\displaystyle{ {R}(i,j) = \Theta(\varepsilon - \| \vec{x}(i) - \vec{x}(j)\|) }[/math],

where [math]\displaystyle{ \Theta: \mathbf{R} \rightarrow \{0, 1\} }[/math] is the Heaviside function and [math]\displaystyle{ \varepsilon }[/math] a predefined tolerance.

Recurrence plots mostly contain single dots and lines which are parallel to the mean diagonal (line of identity, LOI) or which are vertical/horizontal. Lines parallel to the LOI are referred to as diagonal lines and the vertical structures as vertical lines. Because an RP is usually symmetric, horizontal and vertical lines correspond to each other, and, hence, only vertical lines are considered. The lines correspond to a typical behaviour of the phase space trajectory: whereas the diagonal lines represent such segments of the phase space trajectory which run parallel for some time, the vertical lines represent segments which remain in the same phase space region for some time.

If only a time series is available, the phase space can be reconstructed by using a time delay embedding (see Takens' theorem):

[math]\displaystyle{ \vec{x}(i) = (u(i), u(i+\tau), \ldots, u(i+\tau(m-1)), }[/math]

where [math]\displaystyle{ u(i) }[/math] is the time series, [math]\displaystyle{ m }[/math] the embedding dimension and [math]\displaystyle{ \tau }[/math] the time delay.

The RQA quantifies the small-scale structures of recurrence plots, which present the number and duration of the recurrences of a dynamical system. The measures introduced for the RQA were developed heuristically between 1992 and 2002 (Zbilut & Webber 1992; Webber & Zbilut 1994; Marwan et al. 2002). They are actually measures of complexity. The main advantage of the recurrence quantification analysis is that it can provide useful information even for short and non-stationary data, where other methods fail.

RQA can be applied to almost every kind of data. It is widely used in physiology, but was also successfully applied on problems from engineering, chemistry, Earth sciences etc.

RQA measures

The simplest measure is the recurrence rate, which is the density of recurrence points in a recurrence plot:

[math]\displaystyle{ \text{RR} = \frac{1}{N^2} \sum_{i,j=1}^N {R}(i,j). }[/math]

The recurrence rate corresponds with the probability that a specific state will recur. It is almost equal with the definition of the correlation sum, where the LOI is excluded from the computation.

The next measure is the percentage of recurrence points which form diagonal lines in the recurrence plot of minimal length [math]\displaystyle{ \ell_\min }[/math]:

[math]\displaystyle{ \text{DET} = \frac{\sum_{\ell=\ell_\min}^N \ell\, P(\ell)}{\sum_{\ell=1}^{N}\ell P(\ell)}, }[/math]

where [math]\displaystyle{ P(\ell) }[/math] is the frequency distribution of the lengths [math]\displaystyle{ \ell }[/math] of the diagonal lines (i.e., it counts how many instances have length [math]\displaystyle{ \ell }[/math]). This measure is called determinism and is related with the predictability of the dynamical system, because white noise has a recurrence plot with almost only single dots and very few diagonal lines, whereas a deterministic process has a recurrence plot with very few single dots but many long diagonal lines.

The number of recurrence points which form vertical lines can be quantified in the same way:

[math]\displaystyle{ \text{LAM} = \frac{\sum_{v=v_\min}^{N}vP(v)}{\sum_{v=1}^{N}vP(v)}, }[/math]

where [math]\displaystyle{ P(v) }[/math] is the frequency distribution of the lengths [math]\displaystyle{ v }[/math] of the vertical lines, which have at least a length of [math]\displaystyle{ v_\min }[/math]. This measure is called laminarity and is related with the amount of laminar phases in the system (intermittency).

The lengths of the diagonal and vertical lines can be measured as well. The averaged diagonal line length

[math]\displaystyle{ \text{L} = \frac{\sum_{\ell=\ell_\min}^N \ell\, P(\ell)}{\sum_{\ell=\ell_\min}^N P(\ell)} }[/math]

is related with the predictability time of the dynamical system and the trapping time, measuring the average length of the vertical lines,

[math]\displaystyle{ TT = \frac{\sum_{v=v_\min}^{N} v P(v)} {\sum_{v=v_\min}^{N} P(v)} }[/math]

is related with the laminarity time of the dynamical system, i.e. how long the system remains in a specific state.

Because the length of the diagonal lines is related on the time how long segments of the phase space trajectory run parallel, i.e. on the divergence behaviour of the trajectories, it was sometimes stated that the reciprocal of the maximal length of the diagonal lines (without LOI) would be an estimator for the positive maximal Lyapunov exponent of the dynamical system. Therefore, the maximal diagonal line length [math]\displaystyle{ L_\max }[/math] or the divergence

[math]\displaystyle{ DIV = \frac{1}{L_\max} }[/math]

are also measures of the RQA. However, the relationship between these measures with the positive maximal Lyapunov exponent is not as easy as stated, but even more complex (to calculate the Lyapunov exponent from an RP, the whole frequency distribution of the diagonal lines has to be considered). The divergence can have the trend of the positive maximal Lyapunov exponent, but not more. Moreover, also RPs of white noise processes can have a really long diagonal line, although very seldom, just by a finite probability. Therefore, the divergence cannot reflect the maximal Lyapunov exponent.

The probability [math]\displaystyle{ p(\ell) }[/math] that a diagonal line has exactly length [math]\displaystyle{ \ell }[/math] can be estimated from the frequency distribution [math]\displaystyle{ P(\ell) }[/math] with [math]\displaystyle{ p(\ell) = \frac{P(\ell)}{\sum_{\ell=l_\min}^N P(\ell)} }[/math]. The Shannon entropy of this probability,

[math]\displaystyle{ \text{ENTR} = - \sum_{\ell=\ell_\min}^N p(\ell) \ln p(\ell), }[/math]

reflects the complexity of the deterministic structure in the system. However, this entropy depends sensitively on the bin number and, thus, may differ for different realisations of the same process, as well as for different data preparations.

The last measure of the RQA quantifies the thinning-out of the recurrence plot. The trend is the regression coefficient of a linear relationship between the density of recurrence points in a line parallel to the LOI and its distance to the LOI. More exactly, consider the recurrence rate in a diagonal line parallel to LOI of distance k (diagonal-wise recurrence rate or τ-recurrence rate):

[math]\displaystyle{ \text{RR}_k = \frac{1}{N-k} \sum_{j-i=k}^{N-k} {R}(i,j), }[/math]

then the trend is defined by

[math]\displaystyle{ \text{TREND} = \frac{\sum_{i=1}^\tilde{N} (i-\tilde{N}/2)(RR_i - \langle RR_i \rangle)}{\sum_{i=1}^\tilde{N} (i-\tilde{N}/2)^2}, }[/math]

with [math]\displaystyle{ \langle \cdot \rangle }[/math] as the average value and [math]\displaystyle{ \tilde{N} \lt N }[/math]. This latter relation should ensure to avoid the edge effects of too low recurrence point densities in the edges of the recurrence plot. The measure trend provides information about the stationarity of the system.

Similar to the $\tau$-recurrence rate, the other measures based on the diagonal lines (DET, L, ENTR) can be defined diagonal-wise. These definitions are useful to study interrelations or synchronisation between different systems (using recurrence plots or cross recurrence plots).

Time-dependent RQA

Instead of computing the RQA measures of the entire recurrence plot, they can be computed in small windows moving over the recurrence plot along the LOI. This provides time-dependent RQA measures which allow detecting, e.g., chaos-chaos transitions (Marwan et al. 2002). Note: the choice of the size of the window can strongly influence the measure trend.

Example

Bifurcation diagram for the Logistic map.
RQA measures of the logistic map for various setting of the control parameter a. The measures RR and DET exhibit maxima at chaos-order/ order-chaos transitions. The measure DIV has a similar trend as the maximal Lyapunov exponent (but it is not the same!). The measure LAM has maxima at chaos-chaos transitions (laminar phases, intermittency).

See also

Further reading

External links