| estimate_lrv | R Documentation |
Estimates the long-run variance matrix of a multivariate time series using kernel-weighted autocovariances.
estimate_lrv(v, kernel = "bartlett", bandwidth = -1, prewhiten = FALSE)
v |
Matrix of residuals (T x n). |
kernel |
Character string specifying the kernel type:
|
bandwidth |
Bandwidth parameter. If |
prewhiten |
Logical. Whether to prewhiten the series before LRV
estimation. Default is |
A list containing:
Estimated long-run variance matrix (n x n).
Bandwidth used in estimation.
Kernel used.
Andrews, D. W. K. (1991). Heteroskedasticity and Autocorrelation Consistent Covariance Matrix Estimation. Econometrica, 59(3), 817-858. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2307/2938229")}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.