kcpRS
Introduction
Description
In many scientific disciplines, researchers are interested in detecting whether a multivariate time series contains abrupt changes in one or more statistics, such as the means, the variances or the pairwise correlations. The kcpRS package assists researchers in this endeavor by performing Kernel Change Point (KCP) detection on user-selected Running Statistics of multivariate time series. The running statistics are extracted by sliding a window across the time series and computing the value of the statistic(s) of interest in each window. Next, the similarities of the running values are assessed using a Gaussian kernel, and change points that segment the time series into maximally homogeneous phases are located by minimizing a within-phase variance criterion. To decide on the number of change points, a combination of a permutation based significance test and a grid search is provided. kcpRS stands out among the variety of change point detection packages available in R because it can be easily adapted to uncover changes in any user-selected statistic without imposing any distribution on the data. Through the workflow function, the package further assists the user in inspecting (a subset of) four popular statistics (mean, variance, autocorrelation and correlation) in a single comprehensive analysis.
Authors
The kcpRS R package was created by Jed Cabrieto, Kristof Meers, Janne Adolf, Peter Kuppens, Francis Tuerlinckx and Eva Ceulemans of the Research Group of Quantitative Psychology and Individual Differences of the KU Leuven.
References
- Cabrieto, J., Meers, K., Schat, E., Adolf, J. K., Kuppens, P., Tuerlinckx, F., & Ceulemans, E. (2022). kcpRS: An R package for performing kernel change point detection on the running statistics of multivariate time series. Behavior Research Methods, 54(3), 1092-1113. https://doi.org/10.3758/s13428-021-01603-8

Getting started with kcpRS
What
Download R and install it on your computer and install the package using the install.packages("kcpRS") command. More information can be found in the reference manual.
Conditions
The kcpRS package is offered free of charge to anyone interested in kernel change point detection on the running statistics. Please cite the software and the paper mentioned above if you use it in academic research. kcpRS comes without warranty of any kind.