Blanchard Kahn condition in NKM

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.

Blanchard Kahn condition in NKM

Postby Hoyd » Fri Mar 21, 2008 8:53 pm

Dear Prof. Juillard,

I got stuck with the problem of not satisfying the rank condition for quite a while, it is Chari Kehoe and McGrattan 2000 NK model, is the parameterization the main problem, or the way to write the model? Desperate for help! mod file attached...
Attachments
ckm2.mod
(1.65 KiB) Downloaded 133 times
Hoyd
 
Posts: 7
Joined: Thu Jan 03, 2008 8:58 pm

Postby MichelJuillard » Sat Mar 22, 2008 2:08 pm

I get the following error
Code: Select all
??? Subscript indices must either be real positive integers or logicals.

Error in ==> dr1 at 205
b = jacobia_(:,k0);


This indicates that one variable isn't present in the model at the current period. In your case it is the 'm' variable.

Glancing at the paper, I don't understand why you have both mbar and m in the model.

Best

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

Postby Hoyd » Sun Mar 23, 2008 10:34 pm

Many thanks for your point! m is the real money normalized by the sticky price and mbar is the one normalized by aggregate flex price. According to the paper sticky price is set before the period "t" starts (i.e. period "t-1") however the consumers make decision in period "t" when the shock is realized, therefore sticky price and henceforth m is always a state variable...I didnt know it was a problem..

I have brought all the m variables one period forward so the rigidity is still the same but set in period t, it works now!

Very grateful indeed!!
Hoyd
 
Posts: 7
Joined: Thu Jan 03, 2008 8:58 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests