GetFitRobustG: Compute the Robust g test statistic

Description Usage Arguments Details Value Author(s) References

View source: R/GetFitRobustG.R

Description

The Robust g test statistic is computed for testing for periodicity.

Usage

1
GetFitRobustG(y, freqSet = c("An", "En"))

Arguments

y

Vector containing the series.

freqSet

The set to search frequencies.

Details

An refers to searching frequencies in the range twice as dense as the region of the fourier frequencies, i.e., An = {0,1/n,…,floor((2 n - 1)/2)/n}. En refers to searching frequencies in En = {j/101 | j=1,…,50 and j/101 ≥ 1/n}.

Value

Vector of length 2 containing the Robust g test statistic and the frequency for the maximum periodogram.

Author(s)

Yuanhao Lai

References

Ahdesmaki, M., Lahdesmaki, H., Pearson, R., Huttunen, H., and Yli-Harja O.(2005). BMC Bioinformatics 6:117. http://www.biomedcentral.com/1471-2105/6/117


ptest documentation built on May 29, 2017, 7:02 p.m.