Incremental differences
Properties of the 1-point incremental differences of the time series.
Last updated
Properties of the 1-point incremental differences of the time series.
Last updated
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:
high_fluctuation
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 ), 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. "The pNNx files: re-examining a widely used heart rate variability measure", J.E. Mietus et al., Heart 88(4) 378 (2002).
The Rossler attractor time series below has many near-constant stretches (Just 14.5% of all step increments are larger than ), yielding a low value for this statistic:
high_fluctuation
=
0.145
whiten_timescale
computes:
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).
Computes the first zero-crossing of the autocorrelation function for the residuals, tau_resid
, and for the original time series, tau
.
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:
whiten_timescale =
0.0667
These log returns of opening prices of a stock, on the other hand, fluctuate alot more: 95% of successive increments exceed the threshold, yielding a high value for this statistic:
high_fluctuation
whiten_timescale