Differences between 4.1.2 and 4.3.1

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.

Differences between 4.1.2 and 4.3.1

Postby jonathanb » Sun Nov 04, 2012 9:48 am

Dear all,
I would like to know why when I run my model with 4.1.2 dynare's version, all is fine, and when I run it with 4.3.1, it says a Blanchard and Kahn conditions are not verified ?

I have missing observations in my samples but it seems not to be the problem with 4.3.1 (I have tested without missing observations and it does the same error).

Thank you in advance for your answers and tell me which version is the best.

Jonathan
jonathanb
 
Posts: 54
Joined: Wed Sep 17, 2008 8:52 pm
Location: New York

Re: Differences between 4.1.2 and 4.3.1

Postby jonathanb » Mon Nov 05, 2012 11:31 am

Hello to all,
I have just finished two estimations of the same mod file (Iacoviello Neri 2011, 3 chains of 15000 iterations each) and the same data set, one using 4.1.2 and the other using 4.3.1.

The results are completely differents... so my question is simple: which version is the best ? and why of course...

Thank you a lot for your answers.

Jonathan
jonathanb
 
Posts: 54
Joined: Wed Sep 17, 2008 8:52 pm
Location: New York

Re: Differences between 4.1.2 and 4.3.1

Postby jpfeifer » Mon Nov 05, 2012 7:59 pm

Most likely, both are wrong. You are talking about a Monte Carlo Method, which is always stochastic. We only know that in infinite time, we will converge to the true distribution. In practical applications like yours, diverging results usually means at least one of the runs has not found the correct mode around which to center the MCMC. What do convergence diagnostics says? Did you try an extensive run of mode_compute=6?
------------
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: Differences between 4.1.2 and 4.3.1

Postby jonathanb » Tue Nov 06, 2012 8:01 am

Thank you for your answer Johannes.

I use mode compute = 4, and the convergence diagnostics are bad for both estimations (red and blue line converge but not by an horizontal way). Moreover, when I am running twice the same estimation of the same mode file with the same data, I obtain the same results (maybe because there is sufficiently iterations, 15000). I will redo this exercise with mode compute = 6.

So my first question becomes important now:

when I run my model with 4.1.2 dynare's version, all is fine, and when I run it with 4.3.1, it says Blanchard and Kahn conditions are not verified. Why ? Which version can be trusted ? (this error appears before Monte Carlo simulations, the rank condition is verified for the two versions of dynare).

Thank you in davance for all of your answers
jonathanb
 
Posts: 54
Joined: Wed Sep 17, 2008 8:52 pm
Location: New York

Re: Differences between 4.1.2 and 4.3.1

Postby jonathanb » Wed Nov 07, 2012 7:49 am

UPDATE

I have found an unstable process in my model (x=0.999x(-1)+shock) so when I have modified it, my model runs also on Dynare 4.3.1

Why Dynare 4.1.2 is able to run my mod file with this (unstable) process whereas Dynare 4.3.1 not ?
jonathanb
 
Posts: 54
Joined: Wed Sep 17, 2008 8:52 pm
Location: New York

Re: Differences between 4.1.2 and 4.3.1

Postby jonathanb » Thu Nov 15, 2012 9:46 am

???
jonathanb
 
Posts: 54
Joined: Wed Sep 17, 2008 8:52 pm
Location: New York

Re: Differences between 4.1.2 and 4.3.1

Postby jpfeifer » Thu Nov 15, 2012 9:54 am

Could you send me the mod-file and the data-file?
------------
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: Differences between 4.1.2 and 4.3.1

Postby jonathanb » Sun Nov 18, 2012 11:14 am

I am sorry, I'm sure you understand that I cannot do that.

But I only need to know if the computation of the solver or other techniques used to solve and estimate a model has changed between these two versions. If it is the case (i feel it is), which version is the best and why.
jonathanb
 
Posts: 54
Joined: Wed Sep 17, 2008 8:52 pm
Location: New York

Re: Differences between 4.1.2 and 4.3.1

Postby SébastienVillemot » Mon Jan 07, 2013 3:05 pm

If you want to know the differences between the versions, you can look at the following pages:

http://www.dynare.org/DynareWiki/KnownBugs
http://www.dynare.org/DynareWiki/NewFeatures

Or you can even directly look at the source code.

Since we (hopefully) fix more bugs than we introduce over time, I strongly encourage you to use the latest version (4.3.1).
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Differences between 4.1.2 and 4.3.1

Postby jonathanb » Wed Apr 24, 2013 2:13 pm

Thank you Sebastien
jonathanb
 
Posts: 54
Joined: Wed Sep 17, 2008 8:52 pm
Location: New York


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests