new_OCD: constructor of subclass 'OCD' in class 'ChangepointDetector'
Description
constructor of subclass 'OCD' in class 'ChangepointDetector'
Usage
new_OCD(dim, thresh, beta, sparsity)
Arguments
dim
Data dimension, all new data must be of this dimension
thresh
A numeric vector of length 3 (corresponding
to the diagonal statistic, off-diagonal dense statistic and off-diagonal
sparse statistic) should be specifiied.
beta
Lower bound on the l_2 norm of the vector of mean change to be
detected.
sparsity
If sparsity='sparse',
then only the diagonal and off-diagonal sparse statistics are used.
If sparsity='dense', then only the diagonal and off-diagonal sparse
statistics are used. If sparsity='auto', all three statistics are used
to detect both sparse and dense change adaptively.
Value
An object of S3 subclass 'OCD' in class 'ChangepointDetector'.