stability_sh {VARshrink}R Documentation

Stability function

Description

A variant of vars::stability(). Warning: this function has not been tested for small sample sizes yet.

Usage

stability_sh(x, type = c("OLS-CUSUM", "Rec-CUSUM", "Rec-MOSUM",
  "OLS-MOSUM", "RE", "ME", "Score-CUSUM", "Score-MOSUM", "fluctuation"),
  h = 0.15, dynamic = FALSE, rescale = TRUE, ...)

Arguments

x

An object of class "varshrinkest"

type, h, dynamic, rescale, ...

Other arguments to strucchange::efp()

See Also

stability

Examples

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

[Package VARshrink version 0.3.1 Index]