lrcov_est | R Documentation |
Use bartlett kernel to estimate long-run covariance where the bandwidth determined Andrews (1991, Eq. (6.2) and (6.4)). Part of the function adapted from the "bwAndrews" function in "sandwich" package
lrcov_est(x, y = NULL, type = 0)
y |
= NULL if computing the long run variance of x only |
type |
= 0 (default) for long-run covariance or 1 for one-sided long-run variance |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.