A function to estimate the confidence intervals for irf and oirf.
errorBandsIRF(v, irf, alpha, M, resampling, ...)
a var object as from fitVAR or simulateVAR
irf output from impulseResponse function
level of confidence (default alpha = 0.01
)
number of bootstrapped series (default M = 100
)
type of resampling: "bootstrap"
or "jackknife"
some options for the estimation: verbose = TRUE
or FALSE
,
mode = "fast"
or "slow"
, threshold = TRUE
or FALSE
.
a matrix containing the indices of the impulse response function that are 0.