tukham: Tukey-Hamming Kernel for Consistent Estimate of Long-run...

View source: R/fm_kernel.R

tukhamR Documentation

Tukey-Hamming Kernel for Consistent Estimate of Long-run Variance

Description

Compute the Tukey-Hamming window to obtain consistent estimate of long-run variance of multivariate time series.

Usage

tukham(data,v)

Arguments

data

Data matrix for computing consistent long-run variance, normally, multivariate regression residuals.

v

Number of autocovariance terms in the kernel.

Value

Brillinger, David R. (1981) Time Series Data Analysis and Theory. San Francisco, CA: Holden-Day.

Author(s)

Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.

References

Brillinger, David R. (1981) Time Series Data Analysis and Theory. San Francisco, CA: Holden-Day.

Examples

data(macro)
e=apply(macro, 2, function(x) x-mean(x))
tukham(e,v=15)

COINT documentation built on Sept. 9, 2025, 5:51 p.m.

Related to tukham in COINT...