FilteredVariablesKStepAhead yields forecasts-ss! RMSE?

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

FilteredVariablesKStepAhead yields forecasts-ss! RMSE?

Postby Naizen » Sun Mar 12, 2017 5:56 pm

Hello everybody,

I would like to compute the RMSE of out-of-sample forecasts for an estimated model.
My approach: I use the option filter_step_ahead = [1 2 3 4 5 6 7 8], I get forecasts and I subtract the observables data.

My problem is that FilteredVariablesKStepAhead yields forecasts as deviations from the ss (right?).
But to evaluate the RMSE I need the forecasts non-in-deviations from the ss (or the estimated steady state for each Kalman Filter iteration).
Where can I find that / do anybody has an alternative way to compute true RMSE?

Thanks everybody, and have a nice evening !

Best,

Marco
Naizen
 
Posts: 2
Joined: Sun Mar 12, 2017 5:38 pm

Re: FilteredVariablesKStepAhead yields forecasts-ss! RMSE?

Postby jpfeifer » Sun Mar 12, 2017 7:10 pm

This is an unfortunate design problem in Dynare 4.4.3. Please try the unstable version. It should add the constant/trend to
Code: Select all
oo_.FilteredVariables

You should also be able to access the individual components in
oo_.Smoother


Sidenote: you are looking at the last period, I guess. Otherwise, you would be getting the "in-sample forecasts"
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: FilteredVariablesKStepAhead yields forecasts-ss! RMSE?

Postby Naizen » Mon Mar 13, 2017 1:31 am

Thank you for your answer Johannes. Your help is an invaluable service to the academic community.
About your sidenote yes, I have a 30 years long sample and I am evaluating the RMSE on the last 20.

Thanks again, and have a nice week.

Marco
Naizen
 
Posts: 2
Joined: Sun Mar 12, 2017 5:38 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests