plot.irf: Plots impulse responses

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

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

Usage

1
2
## S3 method for class 'irf'
plot(x, varnames = attr(x, "eqnames"), ...)

Arguments

x

Impulse response object produced by irf

varnames

Names of equations and shocks in the format c("name1","name2",...). Default is to use the names of the input variables from the estimation method.

...

other plot arguments

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.

Value

None. Draws a graph in the current device.

Note

This function should NOT be used for Monte Carlo samples of IRFs. Use plot.mc.irf for this purpose.

Author(s)

Patrick T. Brandt

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

1
2
3

Example output

##
## MSBVAR Package v.0.9-2
## Build date:  Tue Jul 11 08:30:47 2017 
## Copyright (C) 2005-2017, Patrick T. Brandt
## Written by Patrick T. Brandt
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0351179, SES-0351205, SES-0540816, and SES-0921051)
##

         [,1]      [,2]
[1,]  0.00000  3.386248
[2,] 60.58718 24.067998

MSBVAR documentation built on May 30, 2017, 1:23 a.m.

Related to plot.irf in MSBVAR...