steady state mismatch

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.

steady state mismatch

Postby BLR » Sun Aug 18, 2013 2:05 pm

Hello,

I have encountered the following problem. I am trying to compute the steady state for a model manually in a separate m-file called modelName_steadystate.m.

When I run the simulation (mod file), I get an error that the steady state was not correctly computed for some of the equations. I can pinpoint the equations that do not hold with the residuals displayed by Dynare. However, when I stop the program inside the steady state file (using keyboard command) and check my equations from the mod file one-by-one, there is no error, the equations with previously significant residuals hold exactly. There is a mismatch between the steady state computed manually and computed by Dynare. I tried using steady, but nothing was changed.

I would appreciate any tip or suggestion from someone who has encountered similar problem. Thank you very much.

Best,

BLR

P.S. Unfortunately I cannot disclose the model and steady state files.
BLR
 
Posts: 2
Joined: Sun Aug 18, 2013 1:49 pm

Re: steady state mismatch

Postby MichelJuillard » Sun Aug 18, 2013 2:38 pm

The only possible explanation is that there is a slight difference between the model that you solve by hand and the one entered in Dynare. Parentheses mistake for example is often the source of such errors.

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: steady state mismatch

Postby BLR » Sun Aug 18, 2013 5:47 pm

Thank you very much for the response, also working Sunday evening? :)

managed to solve the problem. The problem was in one of the parameters that was computed numerically in the steady state file, there were a few digit differences in computed and originally supplied value. I should have declared it as a variable but did not want to split the mod file for a later switch.

Best,

BLR
BLR
 
Posts: 2
Joined: Sun Aug 18, 2013 1:49 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests