Page 1 of 1

indices error

PostPosted: Fri Aug 26, 2011 3:46 pm
by peer
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

Re: indices error

PostPosted: Mon Aug 29, 2011 11:18 am
by jpfeifer
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.

Re: indices error

PostPosted: Mon Aug 29, 2011 12:15 pm
by peer
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!