Differences between revisions 1 and 2
Revision 1 as of 2009-09-11 12:13:16
Size: 1513
Comment:
Revision 2 as of 2009-09-11 12:27:30
Size: 2056
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
 * For one sample, estimation is done by [[http://www.dynare.org/dynare/doc/dynare-matlab-m2html/matlab/dynare_estimation_1.html | dynare_estimation_1.m]]
 *
 * For one sample, estimation is done by [[http://www.dynar.org/dynare/doc/dynare-matlab-m2html/dynare_estimation_1.html | dynare_estimation_1.m]]
 * The big parts of [[http://www.dynar.org/dynare/doc/dynare-matlab-m2html/dynare_estimation_1.html | dynare_estimation_1.m]] are as follows:
   * initialization and data preparation
   * computation of maximum likelihood or posterior mode (starts around line 347)
   * runs MCMC (starts around line 1003)
   * computes the posterior distributions of various statistics (starts around line 1038)
   * computes smooth values at the last point estimate of the parameters (maximum likelihood, posterior mode or posterior mean) (starts around line 1052)

Dynare M files

This is the start of a documentation of the Matlab files (M files) that are at the heart of Dynare. Complete documentation will take some time. But we will do our best to add regularly to this page.

M2HTML documentation

Starting Dynare processing

  • Function dynare.m

  • executes Dynare preprocessor dynare_m that creates <fname>.m, <fname>_static.m, <fname>_dynamic.m

  • executes <fname>.m

The estimation block

  • Dynare keyword estimation is translated by a call to Matlab function dynare_estimation.m.

  • dynare_estimation.m handles recursive estimation over several samples, when option nobs contains several values.

  • For one sample, estimation is done by dynare_estimation_1.m

  • The big parts of dynare_estimation_1.m are as follows:

    • initialization and data preparation
    • computation of maximum likelihood or posterior mode (starts around line 347)
    • runs MCMC (starts around line 1003)
    • computes the posterior distributions of various statistics (starts around line 1038)
    • computes smooth values at the last point estimate of the parameters (maximum likelihood, posterior mode or posterior mean) (starts around line 1052)

DynareWiki: DynareToolbox (last edited 2009-12-23 12:49:23 by SébastienVillemot)