Original implementation in R of 'CUSUM' change detector, but now expecting the prechange mean and variance to be specified.
CUSUM_stream_jumpdetect_prechange(stream, BL, params, mu0, sigma0)
A vector of estimated changepoints.
The stream of observations.
The burn-in length - this won't actually be used, but is kept for historical reasons.
A list of parameters for the 'CUSUM' algorithm. Consists of
d
A control parameter also known as \(k\).
B
A control parameter also known as \(h\).
The prechange mean, which is assumed known in this context
The prechange standard deviation, which is assumed known in this context
Dean Bodenham
D. A. Bodenham and N. M. Adams (2016) Continuous monitoring for changepoints in data streams using adaptive estimation. Statistics and Computing doi:10.1007/s11222-016-9684-8