The main function of the package which estimates a set of structural change points for a dataset following multivariate (or univariate) linear model.
We consider the following problem. Assume we have observations \(y_t\in{R}^q\), \(x_t\in{R}^p\) over time \(t=1,...,N\) which follow linear model
$$ y_t= x'_t{\beta}(t)+{\epsilon}_t$$
where \(\epsilon_t\in{R}^d\) stands for the model noise and \(\beta\) is a \(p\times d\)-dimensional piecewise-constant function, i.e. \({\beta}(t)\in{R}^{p\times d}\) is a weight matrix for every \(t\). A change point is defined as a time instant \(\hat{t}\) where \(\beta\) shifts. More precisely, a set of points separating sequential regimes is a set of change points of the model and the objective of detectChanges function is to find this set.
The approach is based on the splitting procedure NSA gorskikh17changedetection and energy distance analysis rizzo-szekely10changedetection.