Different versions, different results?

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.

Different versions, different results?

Postby johnnyking » Tue Oct 09, 2012 11:00 am

Dear all,

I wrote the attached mod file and got the following error message using version 4.2.5. Nevertheless, the obtained IRFs look exactly as expected, meaning that the model itself should be correct.

[...]
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

Warning: Matrix is singular to working precision.
> In dr1 at 441
In resol at 147
In stoch_simul at 66
In mod2_miguel at 284
In dynare at 120
Warning: Matrix is singular to working precision.
> In dr1 at 452
In resol at 147
In stoch_simul at 66
In mod2_miguel at 284
In dynare at 120
[...]

However, it turned out that the code is not working under versions 4.2.0 (IRFs look VERY strange) and 4.3.0 (Blanchard-Kahn conditions not satisfied). Has anybody an idea what the problem could be? Has anything changed in these versions that could be the cause of this problem? I also tried random parameterizations and it didn't help. Version 4.2.5 works (reporting the singularity error), 4.2.0 and 4.3.0 don't.
Attachments
mymodfile.mod
(3.79 KiB) Downloaded 55 times
johnnyking
 
Posts: 1
Joined: Tue Oct 09, 2012 10:39 am

Re: Different versions, different results?

Postby jpfeifer » Sat Oct 13, 2012 8:26 am

The warning in 4.2.5 already indicated that there is a problem. Dynare 4.3.1 has refined the checking for problems. There seems to be a timing issue in your model, leading to a singularity.
The endogenous variable p_fh is not present in the model at the current period.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests