The function finds the value which yields the maximum inner product (CUSUM) of a a time series located between 100(1−p)%100(1-p)\%100(1−p)% and 100p%100p\%100p% of its support
Useful links