Dynare version 4.0.3

Dynare version 4.0.3 is released.

This is a bug fixing releas:

  • Many bugfixes, including:
    • fixed estimation of constants in linear models
    • determistic exogenous now work when there is more than one such variable
    • fixed recursive estimation
    • fixed OSR
    • fix to interface to Global Sensity Analysis toolbox
    • “simul” and “periods” options are now accepted simultaneously by “stoch_simul”
    • preprocessor no longer crashes when there is an unexpected EOF
    • operator precedence is now correct in macro-processor
    • estimated_params_init and estimated_params_bounds now work in conjunction with correlation of endogenous variables
    • fixed bug in the macro-processor, when the body of a @#for loop is empty
    • fixed memory management bug in the preprocessor related to the filename being parsed
    • fixing bug for mode_compute=5,6
  • build_matlab.m script works on Matlab for Windows 64 bits
  • Structures M_ and options_ are saved in the “_results.mat” output file
  • Structure bayestopt_ is saved in the “_mode.mat” output file
  • Added option “notmpterms” to preprocessor, for disabling computation of temporary terms
  • Macro processor reports the location of @#for or @#if statement when not matched by an @#endfor or an @#endif
  • Many updates to the reference manual for 4.0 (which is not yet finished)

One slight bug in the new Dynare 4.0.3, estimation crashes with a message of a missing “end” statement in DsgeLikelihood_hh.m. Looking at the program, my best guess is that the missing end belongs after line 196.
At least the program is now running with this fix.

Thanks for this bug report. The bug will be fixed in dynare version 4.0.4. It is already fixed under subversion (branches/4.0/). A portion of the code (if my understanding is correct) was useless (and buggy).

Best,
Stéphane.

[quote=“Saint1106”]One slight bug in the new Dynare 4.0.3, estimation crashes with a message of a missing “end” statement in DsgeLikelihood_hh.m. Looking at the program, my best guess is that the missing end belongs after line 196.
At least the program is now running with this fix.[/quote]