
DeCAFS wrapper — changes amid drift and autocorrelated noise
Source:R/wrap-robust.R
decafs_wrapper.RdWraps DeCAFS::DeCAFS() (Romano, Rigaill, Runge and Fearnhead,
2022), which detects abrupt mean changes when the underlying signal also
drifts (random-walk fluctuations) and the noise is AR(1)-autocorrelated —
the two regimes in which plain change-in-mean methods over-detect. Model
parameters are estimated automatically unless supplied.
Arguments
- x
A numeric vector.
- penalty
Penalty \(\beta\) for adding a changepoint. Defaults to
2 * log(length(x)).- model_param
Optional list of model parameters (
sdEta,sdNu,phi) as accepted byDeCAFS::DeCAFS(); whenNULLthey are estimated from the data.- ...
Additional arguments passed to
DeCAFS::DeCAFS().