Description Usage Arguments See Also Examples
This is a modification of vars::restrict() for the class "varshrinkest". Warning: THIS CODE IS NOT COMPLETE: this function may raise an error because it ignores shrinkage estimation.
1 | restrict_sh(x, ...)
|
x |
An object of class "varshrinkest" |
... |
Other arguments to vars::restrict() |
1 2 3 4 | data(Canada, package = "vars")
y <- diff(Canada)
estim <- VARshrink(y, p = 2, type = "const", method = "ridge")
restrict_sh(estim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.