Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/Finalised_coding.R
This function performs the windows-based variant of the Isolate-Detect methodology with the thresholding-based stopping rule in order to detect multiple change-points in the mean of a noisy data sequence, with noise that is Gaussian. It is particularly helpful for very long data sequences, as due to applying Isolate-Detect on moving windows, the computational time is reduced. See Details for a brief explanation of this approach and for the relevant literature reference.
1 2 |
xd |
A numeric vector containing the data in which you would like to find change-points. |
sigma |
A positive real number. It is the estimate of the standard deviation
of the noise in |
thr_con |
A positive real number with default value equal to 1. It is
used to define the threshold, which is equal to |
c_win |
A positive integer with default value equal to 3000. It is the length
of each window for the data sequence in hand. Isolate-Detect will be applied
in segments of the form |
w_points |
A positive integer with default value equal to 3. It defines the distance between two consecutive end- or start-points of the right- or left-expanding intervals, respectively. |
l_win |
A positive integer with default value equal to 12000. If the length of
the data sequence is less than or equal to |
The method that is implemented by this function is based on splitting the given
data sequence uniformly into smaller parts (windows), to which Isolate-Detect, based on the
threshold stopping rule (see pcm_th
), is then applied. An idea of the computational
improvement that this structure offers over the classical Isolate-Detect in the case of large data
sequences is given in the supplement of “Detecting multiple generalized change-points by isolating
single ones”, Anastasiou and Fryzlewicz (2018), preprint.
A numeric vector with the detected change-points.
Andreas Anastasiou, a.anastasiou@lse.ac.uk
pcm_th
, which is the function that win_pcm_th
is based on. Also,
see ID_pcm
and ID
, which employ win_pcm_th
. In addition,
see win_cplm_th
for the case of detecting changes in the slope of a
piecewise-linear and continuous signal via thresholding.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.