Description Usage Arguments Value References
This function implements the getData
function to
perform the online changepoint detection for the 'Chan' class.
1 | Chan_update(x_new, X_recent, CUSUM, p0, w, lambda)
|
x_new |
a new data point |
X_recent |
matrix of |
CUSUM |
tail partial sums of different lengths to be tracked online |
p0 |
sparsity parameter |
w |
window parameter |
lambda |
a tuning parameter for the 'Chan' method |
a list of
stat: test statistic for the 'Chan' class.
X_recent: the updated X_recent matrix
CUSUM: the updated CUSUM matrix
Chan, H. P. (2017) Optimal sequential detection in multi-stream data. Ann. Statist., 45, 2736–2763.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.