powered by
This is a variant of vars::roots() for an object of class "varshrinkest", VAR parameters estimated by VARshrink().
vars::roots()
VARshrink()
roots_sh(x, modulus = TRUE)
A vector with the eigenvalues of the companion matrix, or their modulus (default).
An object of class "varshrinkest"
TRUE for modulus of the roots.
roots
data(Canada, package = "vars") y <- diff(Canada) estim <- VARshrink(y, p = 2, type = "const", method = "ridge") roots_sh(estim)
Run the code above in your browser using DataLab