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

90

Version

0.3.8

License

GPL-3

Maintainer

Sheila Goerz

Last Published

April 9th, 2025

Functions in robcp (0.3.8)

psi_cumsum

Cumulative sum of transformed vectors
plot.cpStat

Plot method for change point statistics
psi

Transformation of time series
scale_stat

Test statistic to detect Scale Changes
robcp-package

robcp: Robust Change-Point Tests
print.cpStat

Print method for change point statistics
modifChol

Revised Modified Cholesky Factorization
weightedMedian

Weighted Median
pKSdist

Asymptotic cumulative distribution for the CUSUM Test statistic
scale_cusum

Tests for Scale Changes Based on Pairwise Differences
zeros

Zero of the Bessel function of first kind
wmw_test

Wilocxon-Mann-Whitney Test for Change Points
wilcox_stat

Wilcoxon-Mann-Whitney Test Statistic for Change Points
cor_stat

Test statistic to detect Correlation Changes
CUSUM

CUSUM Test Statistic
lrv

Long Run Variance
medianDiff

Median of the set X - Y
hl_test

Hodges-Lehmann Test for Change Points
HodgesLehmann

Hodges Lehmann Test Statistic
kthPair

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

Huberized CUSUM test
cor_cusum

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

\(Q^{\alpha}\)