Learn R Programming

robcp

R package robcp

Provides robust methods to detect change-points in uni- or multivariate time series. They can cope with corrupted data and heavy tails. Focus is on the detection of abrupt changes in location, but changes scale or dependence structure can be detected as well. This package provides tests for change detection in uni- and multivariate time series based on Huberized versions of CUSUM tests proposed in Duerre and Fried (2019) arXiv:1905.06201. Furthermore, robcp provides tests for change detection in univariate time series based on 2-sample U-statistics or 2-sample U-quantiles as proposed by Dehling et al. (2015) DOI:10.1007/978-1-4939-3076-0_12 and Dehling, Fried and Wendler (2020) DOI:10.1093/biomet/asaa004.

Copy Link

Version

Install

install.packages('robcp')

Monthly Downloads

151

Version

0.3.10

License

GPL-3

Maintainer

Sheila Goerz

Last Published

January 10th, 2026

Functions in robcp (0.3.10)

print.cpStat

Print method for change point statistics
psi

Transformation of time series
robcp-package

robcp: Robust Change-Point Tests
plot.cpStat

Plot method for change point statistics
scale_cusum

Tests for Scale Changes Based on Pairwise Differences
scale_stat

Test statistic to detect Scale Changes
modifChol

Revised Modified Cholesky Factorization
psi_cumsum

Cumulative sum of transformed vectors
pKSdist

Asymptotic cumulative distribution for the CUSUM Test statistic
weightedMedian

Weighted Median
wmw_test

Wilocxon-Mann-Whitney Test for Change Points
wilcox_stat

Wilcoxon-Mann-Whitney Test Statistic for Change Points
zeros

Zero of the Bessel function of first kind
medianDiff

Median of the set X - Y
cor_cusum

A CUSUM-type test to detect changes in the correlation.
cor_stat

Test statistic to detect Correlation Changes
lrv

Long Run Variance
CUSUM

CUSUM Test Statistic
kthPair

K-th largest element in a sum of sets.
HodgesLehmann

Hodges Lehmann Test Statistic
hl_test

Hodges-Lehmann Test for Change Points
huber_cusum

Huberized CUSUM test
Qalpha

\(Q^{\alpha}\)