Description Usage Arguments See Also Examples
View source: R/serial.test_sh.R
An extension of vars::serial.test() to the class "varshrinkest".
1 2 | serial.test_sh(x, lags.pt = 16, lags.bg = 5,
type = c("PT.asymptotic", "PT.adjusted", "BG", "ES"))
|
x |
An object of class "varshrinkest" obtained by VARshrink(). |
lags.pt, lags.bg, type |
Other arguments for vars::serial.test(). see help(serial.test) for details. |
1 2 3 4 | data(Canada, package = "vars")
y <- diff(Canada)
estim <- VARshrink(y, p = 2, type = "const", method = "ridge")
serial.test_sh(estim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.