plot.forecast {MSBVAR}R Documentation

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

x First sample of forecasts
y Second sample of forecasts, default = NULL
varnames m x 1 list of variable names, e.g., c("name1","name2",...)
start Start date for the forecast period time series, default = c(0,1)
freq Time series frequency, in format consistent with ts. Default is 1
probs Probability limits for error bands. Default is 90% or c(0.05,0.95)
compare.level ~~Describe compare.level here~~
ylab ~~Describe ylab here~~
... ~~Describe ... here~~

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

Value

None. Plots forecasts on the current display device.

Author(s)

Patrick T. Brandt

See Also

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


[Package MSBVAR version 0.3.2 Index]