Subscript indices must either be real positive integers or l

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.

Subscript indices must either be real positive integers or l

Postby BARATTIE » Thu Jun 12, 2008 4:43 pm

Dear All,
thanks for the help I received a month ago or so...I'm again struggling with a relatively simple code, which is not running due to the following problem:

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

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

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

Error in ==> stoch_simul at 47
[dr_, info] = resol(ys_,0);

Error in ==> BARATTIERI_RBC_REV00 at 206
info=stoch_simul(var_list_);

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

I attach the code...does somebody have any idea???

thanks a lot

Alessandro
Attachments
BARATTIERI_RBC_REV00.mod
(2.53 KiB) Downloaded 90 times
BARATTIE
 
Posts: 6
Joined: Wed May 21, 2008 1:50 am

attachment

Postby BARATTIE » Thu Jun 12, 2008 6:29 pm

...sorry...here the code
Attachments
BARATTIERI_RBC_REV00.mod
(2.53 KiB) Downloaded 101 times
BARATTIE
 
Posts: 6
Joined: Wed May 21, 2008 1:50 am

did you get this problem resolved

Postby amoscp2002 » Wed Jul 30, 2008 5:14 pm

hi barattie did you eventually solve this problem? I am having the same problem.
amoscp2002
 
Posts: 3
Joined: Mon Jul 07, 2008 12:49 am

Postby p.gelain » Thu Jul 31, 2008 8:08 am

Hi BARATTIE

I tried to run your code and the message Dynare gives me is related to the indeterminacy of your model

??? Error using ==> print_info at 46
Blanchard Kahn conditions are not satisfied: indeterminacy

Error in ==> stoch_simul at 28
print_info(info);

Error in ==> BARATTIERI_RBC_REV00 at 311
info = stoch_simul(var_list_);

Error in ==> dynare at 88
evalin('base',fname) ;
p.gelain
 
Posts: 61
Joined: Wed Jul 11, 2007 9:13 pm
Location: Norges Bank


Return to Dynare help

Who is online

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