Learn R Programming

MSBVAR (version 0.6-0)

plot.irf: Plots impulse responses

Description

Plots the m x m matrix of impulse responses produced by irf.

Usage

plot.irf(x, varnames = attr(x, "eqnames"), ...)

Arguments

Value

None. Draws a graph in the current device.

Details

Generates a plot in ther current plotting device of the impulse responses in irf. See below for functions that allow one to add error bands and confidence regions to the impulse responses. Impulses or shocks are in the columns and the rows are the responses.

References

Hamilton, James. 1994. Time Series Analysis, Chapter 11. Sims, C.A. 1980. "Macroeconomics and Reality" Econometrica.

See Also

irf to produce impulse responses from a VAR object, mc.irf, and plot.mc.irf for methods that allow frequentist and Bayesian error bands in the impulse responses

Examples

Run this code
data(IsraelPalestineConflict)
rf.var <- reduced.form.var(IsraelPalestineConflict, p=6)
plot(irf(rf.var, nsteps = 12))

Run the code above in your browser using DataLab