causality_sh {VARshrink} | R Documentation |
Causality Analysis for class "varshrinkest"
Description
A modification of vars::causality() for the class "varshrinkest".
Usage
causality_sh(x, cause = NULL, vcov. = NULL, boot = FALSE,
boot.runs = 100)
Arguments
x |
An object of class "varshrinkest" obtained by VARshrink(). |
cause , vcov. , boot , boot.runs |
Other arguments for causality analysis; see help(causality) for details. |
See Also
Examples
data(Canada, package = "vars")
y <- diff(Canada)
estim <- VARshrink(y, p = 2, type = "const", method = "ridge")
causality_sh(estim, cause = "e")
[Package VARshrink version 0.3.1 Index]