Solving stochastically the VAR model assuming a normal error distribution #120
nickcox896
started this conversation in
General
Replies: 1 comment 1 reply
-
|
The forecasts produced from fable are already probabilistic, taking account of the variation in future shocks. That's why we provide the forecast as a distribution. The point forecast is the mean of the distribution, which we also provide. By default, the errors are assumed normal, but setting bootstrap = TRUE allows for non-normality by resampling residuals. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In some software, like Eviews, we can solve stochastically the VAR model.
Solving a VAR model stochastically in EViews means running a forecasting simulation that
incorporates the model's random error terms (residuals) rather than setting them to zero (deterministic).
This technique simulates potential future shocks to generate confidence intervals for forecasts,
providing a range of likely outcomes rather than a single point estimate.
We can select to use Random Normal Residuals, or Bootstrap methods to simulate the errors.
If I want to simulate from a normal distribution how can I do that with the fable package? For example:
For point forecasts we can use:
fc %>% forecast(h = h)To solve stochastically the VAR assuming no particular error distribution we use bootstrapping
fc %>% forecast(h = h, bootstrap = TRUE, times=times)If we want to solve stochastically the VAR assuming normal error distribution how can we do that?
Beta Was this translation helpful? Give feedback.
All reactions