problem with error messages

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.

problem with error messages

Postby Zsoka » Thu Feb 28, 2008 10:51 pm

I have a problem with a .mod file. I have a linear modell and I wanted to solve it with dynare, but MATLAB wrote:

??? 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 ==> check at 18
[dr, info] = resol(ys_,1);

Error in ==> modell5 at 185
check;

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

and I just don't know what should I do with these messages. I attach my .mod file, and I hope there's someone who can help me.

Zsoka
Attachments
modell5.mod
(1.99 KiB) Downloaded 92 times
Zsoka
 
Posts: 1
Joined: Thu Feb 28, 2008 1:35 pm
Location: Budapest

Problem With error messages

Postby olguinma » Sat Mar 29, 2008 7:15 am

Dear all:

I have the same error message:

??? 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 ==> chumacero1 at 177
info=stoch_simul(var_list_);

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

Does anyone can explain me the reason of this message? How can it be removed in order to run completely?

Thanks.

Olguinma
Attachments
Chumacero1.mod
(2.31 KiB) Downloaded 88 times
olguinma
olguinma
 
Posts: 3
Joined: Sat Mar 29, 2008 6:47 am
Location: Buenos Aires, Argentina

Postby bigbigben » Tue Apr 01, 2008 4:23 pm

It looks like the problem is related with the setting about "Y" and "Z" in your model. It is weird that k0 for this two variables equals zero. We have to wait for the composers of dynare to tell us what the purpose of "_iy", "k0" and "k1" is in Dynare.

Good Luck.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Postby measilva » Thu Apr 10, 2008 2:45 pm

Hey Guys,

I did not have time to take a look at your codes, but I had a similar problem with my own code. In Dynare v.3 all variables must appear in the current period. When one of the variables appear only in the lead or lag period, dynare shows a message error. It seems that Dynare V.4 ignores this restriction. So you guys can either change the model (including dummies, changing the timming, etc..) or try to use v.4.

http://www.dynare.org/manual/re07.html *

Hope this will help.

Cheers

NB: * new url
Marcelo
University of North Carolina
measilva
 
Posts: 31
Joined: Wed Mar 05, 2008 3:47 pm
Location: University of North Carolina


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests