Learn R Programming

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.

Copy Link

Version

Install

install.packages('cpss')

Monthly Downloads

265

Version

0.0.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Guanghui Wang

Last Published

August 22nd, 2022

Functions in cpss (0.0.3)

SC_vals

Generic functions and methods: SC_vals
cps

Generic functions and methods: cps
dat

Generic functions and methods: dat
mdl

Generic functions and methods: mdl
ncps

Generic functions and methods: ncps
cpss.lm

Detecting changes in linear models
cpss.mean

Detecting changes in mean
plot,cpss-method

plot method
cpss-class

cpss: an S4 class which collects data and information required for further change-point analyses and summaries
summary,cpss-method

summary method
params

Generic functions and methods: params
update,cpss-method

update method
cpss.em

Detecting changes in exponential family
update_inputs

Generic functions and methods: update_inputs
cpss.var

Detecting changes in (co)variance
cpss.meanvar

Detecting changes in mean and (co)variance
well

Well-log data
cpss.glm

Detecting changes in GLMs
pelt_pen

Generic functions and methods: pelt_pen
%>%

Pipe operator
coef,cpss-method

coef method
S_vals

Generic functions and methods: S_vals
algo

Generic functions and methods: algo
SC

Generic functions and methods: SC
algo_param_dim

Generic functions and methods: algo_param_dim
cpss

cpss: Change-Point Detection by Sample-Splitting Methods
cpss.custom

Detecting changes in uers-customized models