The package uses fitting axes-aligned rectangles to a time series in order to find structural breaks. The algorithm enclose the time series in a number of axes-aligned rectangles and tries to minimize their area and number. As these are conflicting aims, the user has to specify a parameter alpha in [0.0,1.0]. Values close to 0 result in more breakpoints, values close to 1 in fewer. The left edges of the rectangles are the breakpoints. The package supplies two methods, computeBreakPoints(series,alpha) which returns the indices of the break points and computeRectangles(series,alpha) which returns the rectangles. The algorithm is randomised; it uses a genetic algorithm. Therefore, the break point sequence found can be different in different executions of the method on the same data, especially when used on longer series of some thousand observations. The algorithm uses a range-tree as background data structure which makes i very fast and suited to analyse series with millions of observations. A detailed description can be found in Paul Fischer, Astrid Hilbert, Fast detection of structural breaks, Proceedings of Compstat 2014.
|Author:||Paul Fischer [aut, cre, cph], Astrid Hilbert [ctb, cph]|
|Maintainer:||Paul Fischer <pafi at dtu.dk>|
|CRAN checks:||SBRect results|
|Windows binaries:||r-devel: SBRect_0.26.zip, r-release: SBRect_0.26.zip, r-oldrel: SBRect_0.26.zip|
|OS X El Capitan binaries:||r-release: SBRect_0.26.tgz|
|OS X Mavericks binaries:||r-oldrel: SBRect_0.26.tgz|
Please use the canonical form https://CRAN.R-project.org/package=SBRect to link to this page.