getLongRunWeights: Weights for Long-Run Variance

Description Usage Arguments Value Examples

Description

Compute some weights for long-run variance. This code comes directly from the source code of cointReg; see getLongRunWeights.

Usage

1
getLongRunWeights(n, bandwidth, kernel = "ba")

Arguments

n

Length of weights' vector

bandwidth

A number for the bandwidth

kernel

The kernel function; see getLongRunVar for possible values

Value

List with components w containing the vector of weights and upper, the index of the largest non-zero entry in w

Examples

1
CPAT:::getLongRunWeights(10, 1)

CPAT documentation built on May 1, 2019, 6:51 p.m.

Related to getLongRunWeights in CPAT...