problem of simulation with permanent shock

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.

problem of simulation with permanent shock

Postby threetom » Tue Nov 01, 2011 12:25 am

Hello all!

When I use the code in Chapter 3 of the User Guide, which is a deterministic case with permanent shock (as in page 26 of the User Guide), I find an interesting thing: when I change the time notation of the .mod file (for example, in the code, I change equation (a) and (b) to (a)-1 and (b)-1), then the simulation results are not the same. For example, the two paths of consumption are:

c c2
0.707986 0.707986
0.708271 0.711416
0.708615 0.711602
0.708941 0.711778
0.709251 0.711945
0.709545 0.712103
0.709825 0.712254
0.71009 0.712397

So, I am confused, with the same model, but just with different time notation of the same equation, we may get different result. I also tried another code, the difference is much bigger than this one.

Why this may happen? Which one of the result is more reliable? What can I do to handle this problem?

Would anyone mind to help me to handle these problems?

Thank you, very much!

Threetom
Attachments
exap.mod
(969 Bytes) Downloaded 116 times
threetom
 
Posts: 1
Joined: Sun Apr 04, 2010 2:20 am

Re: problem of simulation with permanent shock

Postby MichelJuillard » Tue Nov 01, 2011 8:34 am

The Dynare timing convention is there for Dynare to understand the user's model. If you change timing in an equation, in most cases, you change the model. Don't forget that Dynare puts implicit expectation conditional on period t in front of each equation member. So a variable in period (t+1) doesn't have the same meaning as a variable in period (t)

Best

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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests

cron