Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getLongRunWeights

Weights for Long-Run Variance


Description

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

Usage

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

CPAT:::getLongRunWeights(10, 1)

CPAT

Change Point Analysis Tests

v0.1.0
MIT + file LICENSE
Authors
Curtis Miller [aut, cre]
Initial release
2018-12-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.