Learn R Programming

BVAR (version 0.1.5)

bv_fcast: Forecast settings

Description

Provide forecast settings to bvar. Allows adjusting the horizon of the forecast.

Usage

bv_fcast(horizon = 12, conditional = FALSE)

Arguments

horizon

Integer scalar. Horizon for which forecasts should be computed.

conditional

Logical scalar. Not yet implemented.

Value

Returns a named list of class bv_fcast with options for bvar.

Details

As of now only unconditional forecasts are implemented and conditional must be set to FALSE. Conditional forecasts will require further settings, such as variable paths.

Examples

Run this code
# NOT RUN {
# Set the forecast-horizon to 20 time periods
bv_fcast(horizon = 20)
# }

Run the code above in your browser using DataLab