tukham | R Documentation |
Compute the Tukey-Hamming window to obtain consistent estimate of long-run variance of multivariate time series.
tukham(data,v)
data |
Data matrix for computing consistent long-run variance, normally, multivariate regression residuals. |
v |
Number of autocovariance terms in the kernel. |
Brillinger, David R. (1981) Time Series Data Analysis and Theory. San Francisco, CA: Holden-Day.
Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.
Brillinger, David R. (1981) Time Series Data Analysis and Theory. San Francisco, CA: Holden-Day.
data(macro)
e=apply(macro, 2, function(x) x-mean(x))
tukham(e,v=15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.