indices error

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.

indices error

Postby peer » Fri Aug 26, 2011 3:46 pm

hi all,
I have got a indice error, I check the mod file follow the post in forum,but I have not remove this error. following is my error log and attachment is my mod file.
I appreciate anyone post her/his reply. thanks again.

There are 5 eigenvalue(s) larger than 1 in modulus
for 5 forward-looking variable(s)

The rank condition is verified.

error: subscript indices must be either positive integers or logicals.
error: called from:
error: c:\dynare\4.2.1\matlab\dr1.m at line 550, column 32
error: c:\dynare\4.2.1\matlab\resol.m at line 147, column 32
error: c:\dynare\4.2.1\matlab\stoch_simul.m at line 66, column 21
error: c:\dynare\work\ndsge\ndsge.m at line 242, column 6
error: c:\dynare\4.2.1\matlab\dynare.m at line 132, column 1
Attachments
ndsge.mod
(1.89 KiB) Downloaded 82 times
peer
 
Posts: 7
Joined: Sun Aug 21, 2011 9:36 am

Re: indices error

Postby jpfeifer » Mon Aug 29, 2011 11:18 am

Your timing for PI is wrong. It never appears contemporaneously. And please put order=1 in stoch_simul because the default second order approximation won't work with your shock sizes.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: indices error

Postby peer » Mon Aug 29, 2011 12:15 pm

jpfeifer wrote:Your timing for PI is wrong. It never appears contemporaneously. And please put order=1 in stoch_simul because the default second order approximation won't work with your shock sizes.



hi jpfeifer,
thanks for your post! I have removed it! thanks again!
peer
 
Posts: 7
Joined: Sun Aug 21, 2011 9:36 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests