catch22: CAnonical Time-series CHaracteristics
catch22 GitHub
  • Welcome to catch22
    • Citing catch22
    • Publications using catch22
  • LANGUAGE-SPECIFIC DOCS
    • Python
    • MATLAB
    • R
    • Julia
    • C-compiled
  • INFORMATION ABOUT CATCH22
    • Feature Descriptions
      • Feature Overview Table
      • Distribution shape
      • Extreme event timing
      • Linear autocorrelation structure
      • Nonlinear autocorrelation
      • Symbolic
      • Incremental differences
      • Simple forecasting
      • Self-affine scaling
      • Other
    • API Reference
      • Python API
      • Julia API
      • R API
      • MATLAB API
    • Contributing to catch22
      • Contributor Code of Conduct
    • Related Packages
    • License
Powered by GitBook
On this page
  • 1. trev
  • What it does
  • 2. ami2
  • What it does
  1. INFORMATION ABOUT CATCH22
  2. Feature Descriptions

Nonlinear autocorrelation

These features capture nonlinear autocorrelation properties of a time series.

PreviousLinear autocorrelation structureNextSymbolic

Last updated 11 months ago

catch22 contains 2 features which each capture some aspect of the nonlinear autocorrelation properties of a time series. Select one of the cards below to discover more information:


1. trev

What it does

computes computes the average across the time series of the cube of successive time-series differences. It will be close to zero for time series for which the distribution of successive decreases in the time series matches the distribution of successive increases, but will be positive if increases tend to be larger in magnitude and negative if decreases tend to be larger in magnitude.

It is computed as:

⟨(xi+1−xi)3⟩t ,\langle (x_{i+1} - x_i)^3\rangle_t\,,⟨(xi+1​−xi​)3⟩t​,

for time-series values, x, averaged across all possible time points, t (i.e., from index 1 to N-1, for a time series of length N).

It is based on a statistic used in nonlinear time-series analysis, cf. , Schreiber and Schmitz, Physica D, 142: 346 (2000).

The original hctsa implementation is the code CO_trev(x_z,1) , for a z-scored time series, x_z.

To give an intuition, below we plot some examples of the outputs of this feature for different scenarios:

This has increments that are approximately symmetric (blue histogram), as are the cubic increments (orange histogram), and so this statistic has a value (the mean of the orange distribution) of approximately zero:

Feature output: trev =-0.021

Feature output: trev =1.083

Feature output: trev =-3.497


2. ami2

What it does

is a nonlinear version of the autocorrelation function: using a nonlinear correlation metric (mutual information) instead of a conventional linear correlation metric, evaluated using a histogram with 5 bins and at a time delay Ï„ = 2 (from the hctsa code CO_HistogramAMI(x_z,2,'even',5)).

Explore the tabs below to see examples of the typical outputs of this feature for various time series:

which has clear dependence structure of the time-series value at the current point, xtx_txt​, and the value two time points ahead, xt+2x_{t+2}xt+2​ , yielding a high value for this feature of 1.25:

Feature output: ami2 =1.250

as seen in its embedding:

Feature output: ami2 =0.473

and its embedding:

Feature output: ami2 =0.25

and embedding:

Feature output: ami2 =0.019


Thishas a multi-modal distribution of successive increments (blue), with an asymmetry towards larger increases compared to smaller decreases. This is accentuated after taking a cube (orange), yielding a positive value of this statistic:

This is an example of the opposite behaviour: time-series decreases can be sudden and large in magnitude, whereas increases are relatively gradual. This leads to an asymmetry towards large negative values, leading to a negative value for this statistic:

This feature gives high values to time series like this :

This also has a clear (nonlinear) dependence of present time-series value with that two-steps into the future (and a moderate value of this feature):

This feature gives a moderate value for this heart rhythm ECG :

We obtain a low value for this :

simple flow
Lozi map
Chaotic Web map
Tent map
time series
earthquake time series

trev

ami2

Surrogate time series
Chua map time series
Click to enlarge image.
Click to enlarge image.
Click to enlarge image.
Page cover image