| forecast.dsge_fit | R Documentation |
Produces dynamic multi-step forecasts from a fitted DSGE model. Forecasts are generated by iterating the state-space solution forward from the last filtered state, with forecast-error variance computed analytically by iterating the state covariance.
## S3 method for class 'dsge_fit'
forecast(object, horizon = 12L, ...)
object |
A |
horizon |
Integer. Number of periods to forecast ahead. Default is 12. |
... |
Additional arguments (currently unused). |
An object of class "dsge_forecast" containing:
Data frame with columns period, variable,
value, and sd (one-step forecast standard deviation at each
horizon). Use value +/- qnorm(0.5+level/2)*sd to construct
a confidence band at any level.
The forecast horizon.
Matrix of forecasted state vectors.
Forecast point estimates in matrix form.
Matrix of forecast standard deviations (same shape
as obs_matrix).
Matrix of in-sample observed data (un-demeaned) for use in plotting forecasts alongside history.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.