Rank condition again...it is different user:)

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.

Rank condition again...it is different user:)

Postby samirhuseyn » Sat May 29, 2010 9:19 am

Hi guys

I have one order indeterminacy issue,id est :
"There are 4 eigenvalue(s) larger than 1 in modulus
for 5 forward-looking variable(s)." is the warning message I get :(

This model works well in Uhlig toolkit, but unfortunately it does not work in dynare. I lagged UIP condition or Euler eq. then it worked, but my professor says that this "trick" is wrong, as you are defining expectational equation as predetermined one.

I am attaching codes and data file

Any comments are welcome, as I am approaching to thesis deadline..:(

Best
Samir
Attachments
code.rar
(5 KiB) Downloaded 75 times
samirhuseyn
 
Posts: 6
Joined: Fri May 07, 2010 7:54 pm

Re: Rank condition again...it is different user:)

Postby cfp » Sat May 29, 2010 11:16 am

Try running your mod file, then placing a break-point at line 367 of dr1.m, running e.g. "check;" and looking at the value of condest(w1) when the break-point is hit. It may be marginal.
cfp
 
Posts: 60
Joined: Mon Mar 15, 2010 9:18 pm

Re: Rank condition again...it is different user:)

Postby samirhuseyn » Sat May 29, 2010 7:38 pm

cfp wrote:Try running your mod file, then placing a break-point at line 367 of dr1.m, running e.g. "check;" and looking at the value of condest(w1) when the break-point is hit. It may be marginal.

Thanks for reply, but I couldn't understand. where is dr1.m? could you plain what you have suggested in plain English?

Thanks in advance!
samirhuseyn
 
Posts: 6
Joined: Fri May 07, 2010 7:54 pm

Re: Rank condition again...it is different user:)

Postby cfp » Sat May 29, 2010 7:49 pm

Having run your model the problem is more severe than I thought it was. I expect the equation

Code: Select all
q(+1)=q-r+pi_t(+1)+r_st+nu_q;


is wrong. Are you sure you've got your timing protocol right. t-dated variables are known at t. So if something is a pre-determined variable in the B-K sense it should have a (-1).

Tom
cfp
 
Posts: 60
Joined: Mon Mar 15, 2010 9:18 pm

Re: Rank condition again...it is different user:)

Postby samirhuseyn » Sun May 30, 2010 8:47 am

cfp wrote:Having run your model the problem is more severe than I thought it was. I expect the equation

Code: Select all
q(+1)=q-r+pi_t(+1)+r_st+nu_q;


is wrong. Are you sure you've got your timing protocol right. t-dated variables are known at t. So if something is a pre-determined variable in the B-K sense it should have a (-1).

Tom

Dear Tom

Thanks for reply. I think the equation is right, I checked the paper again, and it seems timing format is ok. Further more I am ataching Lubik et al paper's code they have the same format in UIP condition:
// 12. UIP equation
R - R_star = PI(+1) - PI_star(+1) + S(+1) -S;
Note that S=-q in my model. Actually Lubik's model is 2 country model, mine is small open economy,so I reduced it according to other paper. Please have a look on Lubik's code. Maybe it will help.
Thanks in advance

Samir
Attachments
us_euro_m1_demeaned.mod
(7.24 KiB) Downloaded 75 times
samirhuseyn
 
Posts: 6
Joined: Fri May 07, 2010 7:54 pm

Re: Rank condition again...it is different user:)

Postby cfp » Sun May 30, 2010 2:47 pm

Not sure where the problem is sorry. My suggestion would be to go back to a model that you know works, and change it one step at a time towards the model you're interested in.
cfp
 
Posts: 60
Joined: Mon Mar 15, 2010 9:18 pm

Re: Rank condition again...it is different user:)

Postby jdacuddy » Mon May 31, 2010 10:35 am

If you use "mode_compute=6" with the lagged version of the UIP, it runs fine under Dynare 4.1.1
Regards
Prof. J.D.A. Cuddy
Graduate Institute of International Studies
132, rue de Lausanne
CH-1211 Geneva Switzerland
john.cuddy@graduateinstitute.ch
jdacuddy
 
Posts: 14
Joined: Mon Oct 02, 2006 1:47 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests