Differences between revisions 1 and 23 (spanning 22 versions)
Revision 1 as of 2008-03-23 13:19:39
Size: 286
Comment:
Revision 23 as of 2009-09-02 16:43:44
Size: 2283
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= New features for Dynare and improvements to Matlab code = This page documents new or previously undocumented features.

= New in Dynare 4.0 =
== Preprocessor ==
 * MacroLanguage
 * [[ListOfMathematicalFunctions|List of mathematical functions known to Dynare:]]
== Dynare functions ==
Line 3: Line 9:
 * StructuralChange (estimating models with change in the value of structural parameters)
 * GlobalVariables (removing global variables in Dynare code)
 * MonteCarloOptimization (using a Metropolis Hastings to get an estimate of the posterior mode and a good covariance matrix for the jumping distribution)
 * [[PosteriorVariance|Matrix of variance-covariance of estimated parameters]]
 * ConditionalForecast (how to condition the future path of a subset of endogenous variables).
 * OptimalPolicy
 * DsgeVar
 * TracePlots
== Octave support (free alternative to Matlab) ==
 * DynareOctave

= New in Dynare unstable (to be released as version 4.1) =

 * FastDeterministicSimulationAndSteadyStateComputation
 * ParallelDynare
 * [[ShockDecomposition | Shock decomposition]]
 * Dynare can now handle missing observations in estimation
 * [[ModelLatexOutput | Creating a LaTeX file containing the model equations]]
 * The type of a symbol can now be changed after the symbol declaration. In the following example, {{{alpha}}} will be considered as a parameter, and {{{beta}}} as an endogenous.
{{{
var alpha;
parameters beta;
...
change_type(parameters) alpha;
change_type(var) beta;
}}}
Note that the type change applies to the ''whole'' MOD file. This command is mainly useful when symbol declarations are taken from an included file, and you want to change the types of some variables (for example for "variable flipping").

 * The macro-language accepts a new operator {{{in}}}, which tests memberships of an element inside an array. In the following example, the body of the {{{if}}} statement will be evaluated:
{{{
@#define x = [ 1 3 5 ]
@#if 3 in x
...
@#endif
}}}
 * The Dynare command line accepts three new options:
   * {{{onlymacro}}}: only do the macro-processing step and stop there
   * {{{nolinemacro}}}: do not include original line numbers in the macro-expanded MOD file
   * {{{savemacro=filename}}}: save the macro-expanded file in {{{filename}}} (if no filename is specified, a default value is computed: it is obtained by adding {{{-macroexp}}} to the name of the MOD file)

This page documents new or previously undocumented features.

New in Dynare 4.0

Preprocessor

Dynare functions

Octave support (free alternative to Matlab)

New in Dynare unstable (to be released as version 4.1)

var alpha;
parameters beta;
...
change_type(parameters) alpha;
change_type(var) beta;

Note that the type change applies to the whole MOD file. This command is mainly useful when symbol declarations are taken from an included file, and you want to change the types of some variables (for example for "variable flipping").

  • The macro-language accepts a new operator in, which tests memberships of an element inside an array. In the following example, the body of the if statement will be evaluated:

@#define x = [ 1 3 5 ]
@#if 3 in x
...
@#endif
  • The Dynare command line accepts three new options:
    • onlymacro: only do the macro-processing step and stop there

    • nolinemacro: do not include original line numbers in the macro-expanded MOD file

    • savemacro=filename: save the macro-expanded file in filename (if no filename is specified, a default value is computed: it is obtained by adding -macroexp to the name of the MOD file)

DynareWiki: NewFeatures (last edited 2017-05-29 09:09:50 by StéphaneAdjemian)