nvarOfAcfKP: Compute variances of autocorrelations under ARCH-type...

View source: R/autocovariances.R

nvarOfAcfKPR Documentation

Compute variances of autocorrelations under ARCH-type hypothesis

Description

Compute variances of autocorrelations under ARCH-type hypothesis.

Usage

nvarOfAcfKP(x, maxlag, center = FALSE, acfscale = c("one", "mom"))

Arguments

x

time series.

maxlag

a positive integer, the maximal lag.

center

logical flag, if FALSE, the default, don't center the time series before squaring, see Details.

acfscale

character string, specifying what factor to use for the autocovariances. "one" stands for 1/n, "mom" for 1/(n-k), where n is the length of x and k is lag.

Details

nvarOfAcfKP computes estimates of n times the variances of sample autocorrelations of white noise time series. It implements the result of \insertCitekokoszka2011nonlinearitysarima which holds under weak assumptions. In particular, it can be used to test if the true autocorrelations of a time series are equal to zero in GARCH modelling.

Value

a numeric vector

Author(s)

Georgi N. Boshnakov

References

\insertAllCited

See Also

whiteNoiseTest

Examples

## see examples for whiteNoisTest()

sarima documentation built on Aug. 11, 2022, 5:11 p.m.