Learn R Programming

RegimeChange (version 0.1.1)

not_detect: NOT - Narrowest-Over-Threshold Changepoint Detection

Description

Detects changepoints by finding the narrowest intervals that contain significant changes, providing excellent localization.

Usage

not_detect(
  data,
  threshold = NULL,
  min_segment = 5,
  contrast_type = "pcwsConst"
)

Value

List with changepoints and interval information

Arguments

data

Numeric vector

threshold

Detection threshold (NULL for automatic)

min_segment

Minimum segment length

contrast_type

Type of contrast function

References

Baranowski, R., Chen, Y., and Fryzlewicz, P. (2019). Narrowest-over- threshold detection of multiple change points and change-point-like features. Journal of the Royal Statistical Society Series B, 81(3), 649-672.