getLongRunWeights {cointReg} | R Documentation |
Weights for Long-Run Variance
Description
Compute the weights corresponding to some kernel funtions.
Usage
getLongRunWeights(n, bandwidth, kernel)
Arguments
n |
[ |
bandwidth |
[ |
kernel |
[ |
Value
[list
] with components:
w
[numeric
]-
Vector of weights
upper
[numeric(1)
]-
Index to largest non-zero entry in w
See Also
Examples
lrw.ba = cointReg:::getLongRunWeights(100, kernel = "ba", bandwidth = 25)
plot(lrw.ba$w)
[Package cointReg version 0.2.0 Index]