restrict_sh: Restricted VAR

Description Usage Arguments See Also Examples

View source: R/restrict_sh.R

Description

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.

Usage

1

Arguments

x

An object of class "varshrinkest"

...

Other arguments to vars::restrict()

See Also

restrict

Examples

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

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