Learn R Programming

wbsts (version 2.1)

get.thres: Universal thresholds calculation

Description

The function returns universal thresholds and the method is described in Korkas and Fryzlewicz (2017) and Cho and Fryzlewicz (2012). See also the supplementary material for the former work. The function works for any sample size.

Usage

get.thres(n, q=.95, r=100, scales=NULL)

Arguments

n

The length of the time series.

q

The quantile of the r simulations.

r

Number of simulations.

scales

The wavelet periodogram scales to be used. If NULL (DEFAULT) then this is selected as described in the main text.

References

K. Korkas and P. Fryzlewicz (2017), Multiple change-point detection for non-stationary time series using Wild Binary Segmentation. Statistica Sinica, 27, 287-311. (http://stats.lse.ac.uk/fryzlewicz/WBS_LSW/WBS_LSW.pdf)

K. Korkas and P. Fryzlewicz (2017), Supplementary material: Multiple change-point detection for non-stationary time series using Wild Binary Segmentation.

Cho, H. and Fryzlewicz, P. (2012). Multiscale and multilevel technique for consistent segmentation of nonstationary time series. Statistica Sinica, 22(1), 207-229.