# kcpRS 1.0.0

Kernel Change Point Detection on the Running Statistics

Released May 6, 2019 by Jedelyn Cabrieto

This package cannot yet be used with Renjin it depends on other packages which are not available:

roll 1.1.2
### Dependencies

roll 1.1.2
RColorBrewer 1.1-2
Rcpp
foreach 1.4.4
doParallel 1.0.14

The running statistics of interest is first extracted using a time window which is slid across the time series, and in each window, the running statistics value is computed. KCP (Kernel Change Point) detection proposed by Arlot et al. (2012) is then implemented to flag the change points on the running statistics (Cabrieto et al., 2018, ). Change points are located by minimizing a variance criterion based on the pairwise similarities between running statistics which are computed via the Gaussian kernel. KCP can locate change points for a given k number of change points. To determine the optimal k, the KCP permutation test is first carried out by comparing the variance of the running statistics extracted from the original data to that of permuted data. If this test is significant, then there is sufficient evidence for at least one change point in the data. Model selection is then used to determine the optimal k>0.