plotting the m-step ahead fitted values in the VAR models: Principles of forecasting #113
nickcox896
started this conversation in
General
Replies: 1 comment 1 reply
|
Please take the time to do some basic checking before asking a question. The first step when you have a problem with a graph is to look at the data you are trying to plot. Just type In this case, multi-step fitted values have not been implemented yet for VAR models. I'll update the function so you get a warning. |
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.
Suppose we have this VAR model:
I compute, say, the 4-step ahead fitted values
fits12<-fitted(fit, h=4)Now I am plotting both the real and the fitted values along with,say, the h=10 step ahead out-of sample forecasts
but my code does not work very well as I get the plots of the out of sample forecasts and of the real time series but
I do not get the plots of the fitted values.
All reactions