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. high_fluctuation
  • What it does
  • 2. whiten_timescale
  • What it does
  1. INFORMATION ABOUT CATCH22
  2. Feature Descriptions

Incremental differences

Properties of the 1-point incremental differences of the time series.

PreviousSymbolicNextSimple forecasting

Last updated 1 year ago

catch22 contains 2 features which are each based on the properties of the 1-point incremental differences of the time series. Select one of the cards below to discover more information:


1. high_fluctuation

What it does

computes the proportion of difference magnitudes that are greater than 4% of the standard deviation of the time series.

This feature will give low values to series that have periods in which the series stays approximately constant (within 0.04σ0.04\sigma0.04σ), and high values to series that do (e.g., they 'jump around a lot' from point to point).

This is a common statistic to measure about heart rate time series, cf. "", J.E. Mietus et al., Heart 88(4) 378 (2002).

The time series below has many near-constant stretches (Just 14.5% of all step increments are larger than 0.04σ0.04\sigma0.04σ), yielding a low value for this statistic:

Feature output: high_fluctuation=0.145

These log returns of opening prices of a stock, on the other hand, fluctuate alot more: 95% of successive increments exceed the 0.04σ0.04\sigma0.04σ threshold, yielding a high value for this statistic:

Feature output: high_fluctuation=0.952


2. whiten_timescale

What it does

computes:

  1. The set of incremental differences between successive pairs of time-series values (imagining this as the set of residuals from a naive 1-point forecast).

  2. Computes the first zero-crossing of the autocorrelation function for the residuals, tau_resid, and for the original time series, tau.

  3. Returns the ratio of these two values, tau_resid/tau.

Here's an example of a time series, where the autocorrelation function (black, lower plot) decays slowly due to slower trends in the time series (black, upper plot), whereas the incremental differences (blue in the upper plot) are much noisier, leading to a rapid drop of the autocorrelation function, and reduction in the first zero-crossing from 15 -> 1:

Feature output: whiten_timescale =0.0667

Feature output: whiten_timescale =0.833


By contrast, in this time series, the increments are still highly autocorrelated, and we end up with a value of the feature near 1:

AR(2)

high_fluctuation

whiten_timescale

The pNNx files: re-examining a widely used heart rate variability measure
Rossler attractor
Page cover image