Change-Point Detection by Sample-Splitting Methods

Implements multiple change searching algorithms for a variety of frequently considered parametric change-point models. In particular, it integrates a criterion proposed by Zou, Wang and Li (2020) to select the number of change-points in a data-driven fashion. Moreover, it also provides interfaces for user-customized change-point models with one's own cost function and parameter estimation routine. It is easy to get started with the cpss.* set of functions by accessing their documentation pages (e.g., ?cpss).


cpss

Change-Point Detection by Sample-Splitting Methods.

Installation

You can install the released version of cpss from CRAN with:

install.packages("cpss")

Or the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("ghwang-nk/cpss")

Getting started

It is easy to get started with the cpss.* set of functions by accessing their documentation pages (e.g., ?cpss).

library(cpss)
?cpss.mean
?cpss.var
?cpss.meanvar
?cpss.glm
?cpss.lm
?cpss.em
?cpss.custom

References

  1. Zou, C., Wang, G., and Li, R. (2020) Consistent selection of the number of change-points via sample-splitting. The Annals of Statistics, 48, 413–439.

  2. Wang, G., and Zou, C. (2022+) cpss: An R package for change-point detection by sample-splitting methods. To appear in Journal of Quality Technology.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("cpss")

0.0.3 by Guanghui Wang, 4 years ago


https://github.com/ghwang-nk/cpss


Report a bug at https://github.com/ghwang-nk/cpss/issues


Browse source code at https://github.com/cran/cpss


Authors: Guanghui Wang [aut, cre] , Changliang Zou [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp, magrittr, methods, stats, mvtnorm, Rfast, tibble, dplyr, tidyr, rlang, ggplot2, gridExtra

Suggests MASS

Linking to Rcpp, RcppArmadillo


See at CRAN