new_XS: constructor of subclass 'XS' in class 'ChangepointDetector'

Description Usage Arguments Details Value References Examples

View source: R/ocd.R

Description

constructor of subclass 'XS' in class 'ChangepointDetector'

Usage

1
new_XS(dim, thresh, p0, w)

Arguments

dim

Data dimension, all new data must be of this dimension

thresh

Detection threshold. A positive real number.

p0

A sparsity parameter between 0 and 1. It is the assumed fraction of nonzero coordinates of change. Default to 1/sqrt(dim).

w

Window size parameter. Number of most recent data points to keep track in memory. Default is 200.

Details

It is preferred to use ChangepointDetector for construction.

Value

An object of S3 subclass 'XS' in class 'ChangepointDetector'.

References

Xie, Y. and Siegmund, D. (2013) Sequential multi-sensor change-point detection. Ann. Statist., 41, 670–692.

Examples

1
detector <- new_XS(dim=100, thresh=55.1, p0=0.1, w=200)

ocd documentation built on Oct. 23, 2020, 5:56 p.m.

Related to new_XS in ocd...