Error in ==> dr1 at 222

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 in ==> dr1 at 222

Postby Matilda » Tue Dec 08, 2009 5:57 pm

Hi,

I am having a problem running the attached mod file (it is a small DSGE model) on a 166mhz machine, with Dynare 4.04,
and Matlab 7.7.0 (R2008b) in Windows XP.
I am getting the following errors:


??? Subscript indices must either be real positive integers or logicals.

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

Error in ==> resol at 101
[dr,info,M_,options_,oo_] = dr1(dr,check_flag,M_,options_,oo_);

Error in ==> check at 48
[dr, info] = resol(oo_.steady_state,1);

Error in ==> endog_vol_bis at 228
check;

Error in ==> dynare at 102
evalin('base',fname);[/b]

What does this mean? The model converges towards the steady state... But it seems to me, that it is not solved. Any help?
Cheers
Matilda
Matilda
 
Posts: 2
Joined: Tue Dec 08, 2009 5:43 pm

Re: Error in ==> dr1 at 222

Postby AssiaEzzeroug » Tue Dec 08, 2009 7:06 pm

Hi,

the rank condition of your model is not satisfied. You can fix it by checking whether the timing of ur variables is correct or the value of certain parameters.

Also, note that the instructions "clc; close all;" at the beginning of ur mod-file are not necessary since the Dynare routines include them already.

Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm

Re: Error in ==> dr1 at 222

Postby Matilda » Tue Dec 08, 2009 7:33 pm

Hi, thanks for the very prompt reply. I'll check and let you know.
Cheers
Matilda
Matilda
 
Posts: 2
Joined: Tue Dec 08, 2009 5:43 pm


Return to Dynare help

Who is online

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