oirf: Orthogonal Impulse Response Function

View source: R/pvar-methods.R

oirfR Documentation

Orthogonal Impulse Response Function

Description

Orthogonal Impulse Response Function

Usage

oirf(model, n.ahead)

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.

Examples

data("ex1_dahlberg_data")
oirf(ex1_dahlberg_data, n.ahead = 8)

panelvar documentation built on Jan. 6, 2023, 1:17 a.m.

Related to oirf in panelvar...