ma: Covariance of an equal-weighted moving-average process

Description Usage Arguments Value

View source: R/ma.R

Description

Here, Sig[j,k] = 0 if |j-k|>K and Sig[j,k] = 1 - |j-k| / K otherwise.

Usage

1
ma(p, K)

Arguments

p

dimension of covariance matrix

K

moving-average bandwidth

Value

Returns the covariance matrix, Sig, and the symmetric square root, A, of this matrix.


hierband documentation built on May 19, 2017, 3:18 p.m.

Search within the hierband package
Search all R packages, documentation and source code