Weights for Long-Run Variance
Compute some weights for long-run variance. This code comes directly from the
source code of cointReg; see getLongRunWeights
.
getLongRunWeights(n, bandwidth, kernel = "ba")
n |
Length of weights' vector |
bandwidth |
A number for the bandwidth |
kernel |
The kernel function; see |
List with components w
containing the vector of weights and
upper
, the index of the largest non-zero entry in w
CPAT:::getLongRunWeights(10, 1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.