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

girf

Generalized Impulse Response Function


Description

Generalized Impulse Response Function

Usage

girf(model, n.ahead, ma_approx_steps)

## S3 method for class 'pvargmm'
girf(model, n.ahead, ma_approx_steps)

Arguments

model

A PVAR model

n.ahead

Any stable AR() model has an infinite MA representation. Hence any shock can be simulated infinitely into the future. For each forecast step t you need an addtional MA term.

ma_approx_steps

MA approximation steps

Examples

data("ex1_dahlberg_data")
girf(ex1_dahlberg_data, n.ahead = 8, ma_approx_steps= 8)

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.