MJDGGES returns the following error code: 10 (Dynare v4.2.0)

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.

MJDGGES returns the following error code: 10 (Dynare v4.2.0)

Postby cyepez » Sat Feb 26, 2011 5:49 am

Hello,

I've been working all day on this RBC model (attached) and although I've tried all sorts of tricks mentioned in this forum I haven't been able to figure out what's the deal with the BK indeterminacy issue message here.

I get this message: MJDGGES returns the following error code: 10.

If you skip the check command prior to initval, the error message is: Blanchard Kahn conditions are not satisfied: indeterminacy

I've checked the model with the original paper plenty of times and it should work.

Please help. Otherwise I'll have to switch to Uhlig's toolkit...

Carlos
Attachments
wedge.mod
(2.2 KiB) Downloaded 154 times
cyepez
 
Posts: 4
Joined: Thu Feb 04, 2010 7:59 pm

Re: MJDGGES returns the following error code: 10 (Dynare v4.2.0)

Postby jpfeifer » Sat Feb 26, 2011 8:47 am

Your problem is the stochastic discount factor. Its timing should always be m instead of m(+1). Also never put the check; command before the initval; and steady command as you are trying to test the BK-conditions at a point where all variables are 0. Only after the steady command do you compute them at the deterministic steady state.
------------
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: MJDGGES returns the following error code: 10 (Dynare v4.2.0)

Postby cyepez » Sat Feb 26, 2011 2:24 pm

Hello jpfeifer.
The timing on the SDF did the trick. Many Thanks.
However, this brings up the question. If the SDF is by definition a forward looking variable (i.e. t+1) why is it that we need to adjust the timing to contemporaneous for it to work on Dynare?
Please comment and thanks again!
Carlos
cyepez
 
Posts: 4
Joined: Thu Feb 04, 2010 7:59 pm

Re: MJDGGES returns the following error code: 10 (Dynare v4.2.0)

Postby jpfeifer » Sun Feb 27, 2011 8:28 am

Hi,
that is only partly correct. The SDF contains forward looking terms. However, m itself is just a definition of a new name. You want to define something called m. But when you define m(+1), you do not define m, but the conditional expectation of m at time t, i.e. E_t(m(+1)).
------------
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 7 guests