roots_sh: Eigenvalues of the companion coefficient matrix of a...

Description Usage Arguments See Also Examples

View source: R/roots_sh.R

Description

This is a variant of vars::roots() for an object of class 'varshrinkest', VAR parameters estimated by VARshrink().

Usage

1
roots_sh(x, modulus = TRUE)

Arguments

x

An object of class "varshrinkest"

modulus

TRUE for modulus of the roots.

See Also

roots

Examples

1
2
3
4
data(Canada, package = "vars")
y <- diff(Canada)
estim <- VARshrink(y, p = 2, type = "const", method = "ridge")
roots_sh(estim)

VARshrink documentation built on Oct. 9, 2019, 5:06 p.m.