Can SW07 RMSE exercise be reproduced with dynare_sensitivity

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.

Can SW07 RMSE exercise be reproduced with dynare_sensitivity

Postby schoderch » Wed Apr 19, 2017 9:57 pm

Dear all,

I try to compute the root mean square error (RMSE) for a couple of variables using a successively expanding sample, equivalently to Smets and Wouters 2007.

As I understand SW07, they estimate the model over a sample, compute a forecast, and store the forecast error. Then they expand the sample, estimate the model, and so on. Finally they compute the RMSE. The model needs to be estimated for every sample which is quite computationally intensive.

I came across the dynare_sensitivity command which has an option for RMSE. Yet, I do not fully understand it. Can the SW07 exercise be replicated using this command?

Thank you for your help!

Best, Christian
schoderch
 
Posts: 9
Joined: Tue Feb 17, 2015 1:07 pm

Re: Can SW07 RMSE exercise be reproduced with dynare_sensiti

Postby jpfeifer » Mon Apr 24, 2017 6:56 am

That might be doable, but would be cumbersome. What you would need to do is run a recursive simulation using
Code: Select all
nobs=sampleendpoint1:sampleendpointT

with the
forecast

option enabled. That will result in the estimation over the expanding sample, generating the required forecasts. You can then easily compute the RMSE yourself.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests