Error messages in Dynare

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.

Error messages in Dynare

Postby lilianne » Thu Apr 03, 2008 1:34 pm

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.
lilianne
 
Posts: 3
Joined: Mon Sep 04, 2006 2:00 am

Re: Error messages in Dynare

Postby bk » Mon Nov 10, 2008 3:34 pm

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?
bk
 
Posts: 14
Joined: Tue Jan 08, 2008 12:16 pm

Re: Error messages in Dynare

Postby MichelJuillard » Wed Nov 12, 2008 1:36 am

Can you upload the *.mod file, please? It is usually impossible to know what happens only from Matlab's error message.

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Error messages in Dynare

Postby bk » Wed Nov 12, 2008 8:06 am

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.
Attachments
rs_osr.mod
(1.16 KiB) Downloaded 95 times
bk
 
Posts: 14
Joined: Tue Jan 08, 2008 12:16 pm

Re: Error messages in Dynare

Postby MichelJuillard » Fri Nov 14, 2008 11:34 am

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests