Page 1 of 1

Error messages in Dynare

PostPosted: Thu Apr 03, 2008 1:34 pm
by lilianne
Hi,

Can anyone explain to me what does these errors mean?

1) Attempted to access y(2); index out of bounds because numel(y)=1.

2) Error in ==> resol at 39
if max(abs(feval(fh,ys))) > dynatol_ & options_.olr == 0

:? , Thanks a lot,
L.

Re: Error messages in Dynare

PostPosted: Mon Nov 10, 2008 3:34 pm
by bk
Hi,

I have the same problem. I suspect that the error occurs because of the combination of determinstic shocks and optimal policy. Have you found a solution to your problem?

Re: Error messages in Dynare

PostPosted: Wed Nov 12, 2008 1:36 am
by MichelJuillard
Can you upload the *.mod file, please? It is usually impossible to know what happens only from Matlab's error message.

Best

Michel

Re: Error messages in Dynare

PostPosted: Wed Nov 12, 2008 8:06 am
by bk
The *.mod-file is enclosed. Also, the model may be a bit poorly specified, since I don't get the steady-state values that I'm looking for.

Your help is greatly appreciated.

Re: Error messages in Dynare

PostPosted: Fri Nov 14, 2008 11:34 am
by MichelJuillard
1) The error comes probably from a bug in Dynare when one uses both deterministic exogenous variables and OSR
2) The results from OSR will not be affeted by deterministic variables as the objective of OSR is a wheighted sum of unconditional variances of endogenous variables. So the meaning of combining the two isn't clear to me.

Best,

Michel