apaPatternRecognition.RegimeSegments.FromSeries(series, windowSize, topKChangePoints, minSpacing, minRegimeLength)
Excel
=apaPatternRecognition.RegimeSegments.FromSeries(series, windowSize, topKChangePoints, minSpacing, minRegimeLength)Result
Calculates change points from a time series and returns contiguous regime segments.
Syntax
series: r x 1 or 1 x r data vector containing a time series
windowSize: length of the subsequences (window size)
topKChangePoints: number of top change points to extract. Default value: 3
minSpacing: minimum spacing between change points. Default value: −1, i.e. windowSize
minRegimeLength: minimum regime length, shorter regimes are merged with a neighbor. Default value: 1
Algorithm
The change points are calculated (see apaPatternRecognition.ChangePoints.FromSeries).
Remarks
The result has the same columns as apaPatternRecognition.RegimeSegments.FromChangePoints.
