Error message in incomplete markets model.

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.

Error message in incomplete markets model.

Postby ricardo » Thu Jun 15, 2006 8:59 pm

I am trying to replicate an incomplete markets model. I have tripled checked the equations and everything seems to be fine. Nevertheless, I obtain an error message from inside dynare.

It is known that these models policy function do have an unit root. Moreover, there are multiple steady states. I am telling dynare the steady state.
But either in the command check or stoch simul the following error message appears. (Sticky is the dyn file)
*****************************************************
??? Subscript indices must either be real positive integers or logicals.

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

Error in ==> resol at 48
[dr,info] = dr1(dr,check_flag);

Error in ==> check at 18
[dr, info] = resol(ys_,1);

Error in ==> Sticky at 106
check;

Error in ==> dynare at 26
evalin('base',fname) ;

*******************************************************

Please find enclosed a zip file containing the dyn file and the m file to compute steady state.

Best
Attachments
Sticky.zip
(1.49 KiB) Downloaded 146 times
ricardo
 
Posts: 5
Joined: Thu Jun 15, 2006 8:11 pm

problem solved

Postby ricardo » Fri Jun 16, 2006 6:01 pm

Thanks to the help of Michel the problem was solved. There was a variable in the model that was mistakenly appearing at t-1 only.

quoting Michel
"
Note: I identified the problem by looking at global variable iy_ that tells which variable appears at which lag. The variables are ordered in alphabetical order."

Ricardo
ricardo
 
Posts: 5
Joined: Thu Jun 15, 2006 8:11 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 10 guests