model.sdll | R Documentation |
This function estimates the number and locations of change-points in the piecewise-constant mean of a noisy data sequence via the Steepest Drop to Low Levels method.
model.sdll( cptpath.object, sigma = stats::mad(diff(cptpath.object$x)/sqrt(2)), universal = TRUE, th.const = NULL, th.const.min.mult = 0.3, lambda = 0.9 )
cptpath.object |
A solution-path object, returned by a |
sigma |
An estimate of the standard deviation of the noise in the data |
universal |
If |
th.const |
Only relevant if |
th.const.min.mult |
A fractional multiple of the threshold, used to decide the lowest magnitude of CUSUMs from |
lambda |
Only relevant if |
The Steepest Drop to Low Levels method is described in "Detecting possibly frequent change-points: Wild Binary Segmentation 2 and steepest-drop model selection", P. Fryzlewicz (2020), Journal of the Korean Statistical Society, 49, 1027–1070.
An S3 object of class cptmodel
, which contains the following fields:
solution.path |
The solution path method used to obtain |
model.selection |
The model selection method used to return the final change-point estimators object, here its value is |
no.of.cpt |
The number of estimated change-points in the piecewise-constant mean of the vector |
cpts |
The locations of estimated change-points in the piecewise-constant mean of the vector |
est |
An estimate of the piecewise-constant mean of the vector |
P. Fryzlewicz (2020). Detecting possibly frequent change-points: Wild Binary Segmentation 2 and steepest-drop model selection. Journal of the Korean Statistical Society, 49, 1027–1070.
sol.idetect
, sol.idetect_seq
, sol.not
, sol.tguh
, sol.wbs
, sol.wbs2
, breakfast
f <- rep(rep(c(0, 1), each = 50), 10) x <- f + rnorm(length(f)) model.sdll(sol.wbs2(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.