Learn R Programming

MSBVAR (version 0.2.1)

plot.forecast: Plots competing sets of VAR forecasts or a single set of VAR forecasts

Description

Produces a high level plot of two sets of VAR forecasts computed from a Markov Chain Monte Carlo (MCMC) posterior sample. Forecasts are the output of hc.forecast, forecast, and uc.forecast.

Usage

plot.forecast.VAR(x, y = NULL, varnames = NULL, start = c(0, 1), freq = 1, probs =
     c(0.05, 0.95), compare.level = NULL, ylab = NULL, ...)

Arguments

Value

None. Plots forecasts on the current display device.

Details

Plots the mean forecast and the pointwise empirical confidence region for a posterior sample of VAR forecasts. Overlays a second set of forecasts and error bands if requested in fcasts2

See Also

plot.forc.ecdf, and uc.forecast for an example.