Learn R Programming

sparsevar (version 1.0.0)

impulse_response: Impulse Response Function

Description

A function to estimate the Impulse Response Function of a given VAR.

Usage

impulse_response(v, len = 20)

Value

irf a 3d array containing the impulse response function.

Arguments

v

the data in the for of a VAR

len

length of the impulse response function