RS: 'RS' rescaled adjusted range statistic

Description Usage Arguments Value Examples

View source: R/specialfun.r

Description

RS rescaled adjusted range statistic

Usage

1
RS(x, k)

Arguments

x

univariate time series

k

length of the segments for which the statistic is computed. Starting with t=1, the segments do not overlap.

Value

(l,3)-matrix, 1. column: k, second column: starting time of segment, third column: value of RS statistic.

Examples

1
2
3
 
 data(TREMOR)
 R <- RS(TREMOR,10)  

tsapp documentation built on Oct. 30, 2021, 5:08 p.m.

Related to RS in tsapp...