Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bootstrap_irf

Empirical estimation of PVAR Impulse Response Confidence Bands


Description

Uses blockwise sampling of individuals (bootstrapping)

Usage

bootstrap_irf(model, typeof_irf, n.ahead, nof_Nstar_draws, confidence.band)

## S3 method for class 'pvargmm'
bootstrap_irf(
  model,
  typeof_irf = c("OIRF", "GIRF"),
  n.ahead,
  nof_Nstar_draws,
  confidence.band = 0.95
)

Arguments

model

A PVAR model

typeof_irf

"OIRF" or GIRF

n.ahead

n ahead steps

nof_Nstar_draws

Number of draws

confidence.band

Confidence band

Examples

## Not run: 
data("ex1_dahlbergdata")
bootstrap_irf(ex1_dahlberg_data, 
              typeof_irf = "OIRF", 
              n.ahead = 12, 
              nof_Nstar_draws = 2, 
              confidence.band = 0.95)

## End(Not run)

panelvar

Panel Vector Autoregression

v0.5.3
GPL (>= 2)
Authors
Michael Sigmund [aut], Robert Ferstl [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.