Package: ocd 1.1

Yudong Chen

ocd: High-Dimensional Multiscale Online Changepoint Detection

Implements the algorithm in Chen, Wang and Samworth (2020) <arxiv:2003.03668> for online detection of sudden mean changes in a sequence of high-dimensional observations. It also implements methods by Mei (2010) <doi:10.1093/biomet/asq010>, Xie and Siegmund (2013) <doi:10.1214/13-AOS1094> and Chan (2017) <doi:10.1214/17-AOS1546>.

Authors:Yudong Chen, Tengyao Wang, Richard J. Samworth

ocd_1.1.tar.gz
ocd_1.1.tar.gz(r-4.5-noble)ocd_1.1.tar.gz(r-4.4-noble)
ocd_1.1.tgz(r-4.4-emscripten)ocd_1.1.tgz(r-4.3-emscripten)
ocd.pdf |ocd.html
ocd/json (API)

# Install 'ocd' in R:
install.packages('ocd', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 6 scripts 173 downloads 31 exports 0 dependencies

Last updated 4 years agofrom:b21cde5960. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 01 2024
R-4.5-linuxNOTEDec 01 2024

Exports:baselineMeanbaselineSDChan_updateChangepointDetectorcheckChangedata_dimgetDataMC_ChanMC_MeiMC_ocdMC_XSMei_updaten_obsnew_Channew_Meinew_OCDnew_XSnormalisedStatisticsocd_updateocdMethodparampatienceresetsetBaselineMeansetBaselineSDsetStatusstatisticsstatusthresholdstrackedXS_update

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Accessor functions to attributes of class ChangepointDetectoraccessor baselineMean baselineSD data_dim n_obs ocdMethod param patience statistics status thresholds tracked
Processing a new data point for the 'Chan' classChan_update
Constructor for the ChangepointDetector S3 classChangepointDetector
Check if a mean change has occurred.checkChange
Processing a new data pointgetData getData.Chan getData.Mei getData.OCD getData.XS
Compute Monte Carlo thresholds for the Chan methodMC_Chan
Compute Monte Carlo thresholds for the Mei methodMC_Mei
Compute Monte Carlo thresholds for the OCD methodMC_ocd
Compute Monte Carlo thresholds for the XS methodMC_XS
Processing a new data point for the 'Mei' classMei_update
construtor for subclass 'Chan' in class 'ChangepointDetector'new_Chan
constructor of subclass 'Mei' in class 'ChangepointDetector'new_Mei
constructor of subclass 'OCD' in class 'ChangepointDetector'new_OCD
constructor of subclass 'XS' in class 'ChangepointDetector'new_XS
Compute maximum ratio between detection statistic and its thresholdnormalisedStatistics
ocd: A package for high-dimensional multiscale online changepoint detectionocd-package ocd
Processing a new data point for the 'OCD' classocd_update
Parkfield seismic sensor dataParkfieldSensors
Printing methods for the 'ChangepointDetector' classprint.ChangepointDetector
Reset changepoint detector to initial statereset reset.Chan reset.Mei reset.OCD reset.XS
Set baseline meansetBaselineMean
Set baseline standard deviationsetBaselineSD
Set changepoint detector statussetStatus
compute new mean and sd from old ones with one additional observationupdate_param
Processing a new data point for the 'XS' classXS_update