Page 1 of 1

Can SW07 RMSE exercise be reproduced with dynare_sensitivity

PostPosted: Wed Apr 19, 2017 9:57 pm
by schoderch
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

Re: Can SW07 RMSE exercise be reproduced with dynare_sensiti

PostPosted: Mon Apr 24, 2017 6:56 am
by jpfeifer
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.