2018-10-25 16:31:53 +02:00
|
|
|
.. default-domain:: dynare
|
|
|
|
|
|
|
|
############
|
|
|
|
Introduction
|
|
|
|
############
|
|
|
|
|
|
|
|
What is Dynare?
|
|
|
|
===============
|
|
|
|
|
2018-10-27 22:38:29 +02:00
|
|
|
Dynare is a software platform for handling a wide class of economic
|
|
|
|
models, in particular dynamic stochastic general equilibrium (DSGE)
|
|
|
|
and overlapping generations (OLG) models. The models solved by Dynare
|
|
|
|
include those relying on the *rational expectations* hypothesis,
|
|
|
|
wherein agents form their expectations about the future in a way
|
|
|
|
consistent with the model. But Dynare is also able to handle models
|
|
|
|
where expectations are formed differently: on one extreme, models
|
|
|
|
where agents perfectly anticipate the future; on the other extreme,
|
|
|
|
models where agents have limited rationality or imperfect knowledge of
|
|
|
|
the state of the economy and, hence, form their expectations through a
|
|
|
|
learning process. In terms of types of agents, models solved by Dynare
|
|
|
|
can incorporate consumers, productive firms, governments, monetary
|
|
|
|
authorities, investors and financial intermediaries. Some degree of
|
|
|
|
heterogeneity can be achieved by including several distinct classes of
|
|
|
|
agents in each of the aforementioned agent categories.
|
|
|
|
|
|
|
|
Dynare offers a user-friendly and intuitive way of describing these
|
|
|
|
models. It is able to perform simulations of the model given a
|
|
|
|
calibration of the model parameters and is also able to estimate these
|
|
|
|
parameters given a dataset. In practice, the user will write a text
|
|
|
|
file containing the list of model variables, the dynamic equations
|
|
|
|
linking these variables together, the computing tasks to be performed
|
|
|
|
and the desired graphical or numerical outputs.
|
|
|
|
|
|
|
|
A large panel of applied mathematics and computer science techniques
|
|
|
|
are internally employed by Dynare: multivariate nonlinear solving and
|
|
|
|
optimization, matrix factorizations, local functional approximation,
|
|
|
|
Kalman filters and smoothers, MCMC techniques for Bayesian estimation,
|
|
|
|
graph algorithms, optimal control, …
|
|
|
|
|
|
|
|
Various public bodies (central banks, ministries of economy and
|
|
|
|
finance, international organisations) and some private financial
|
|
|
|
institutions use Dynare for performing policy analysis exercises and
|
|
|
|
as a support tool for forecasting exercises. In the academic world,
|
|
|
|
Dynare is used for research and teaching purposes in postgraduate
|
|
|
|
macroeconomics courses.
|
|
|
|
|
|
|
|
Dynare is a free software, which means that it can be downloaded free
|
|
|
|
of charge, that its source code is freely available, and that it can
|
|
|
|
be used for both non-profit and for-profit purposes. Most of the
|
|
|
|
source files are covered by the GNU General Public Licence (GPL)
|
|
|
|
version 3 or later (there are some exceptions to this, see the file
|
|
|
|
license.txt in Dynare distribution). It is available for the Windows,
|
2019-02-17 18:32:06 +01:00
|
|
|
macOS, and Linux platforms and is fully documented through a reference
|
|
|
|
manual. Part of Dynare is programmed in C++, while the rest is written
|
|
|
|
using the `MATLAB`_ programming language. The latter implies that
|
|
|
|
commercially-available MATLAB software is required in order to run
|
|
|
|
Dynare. However, as an alternative to MATLAB, Dynare is also able to
|
2020-02-17 17:42:55 +01:00
|
|
|
run on top of `GNU Octave`_ (basically a free clone of MATLAB): this
|
2019-02-17 18:32:06 +01:00
|
|
|
possibility is particularly interesting for students or institutions
|
|
|
|
who cannot afford, or do not want to pay for, MATLAB and are willing
|
|
|
|
to bear the concomitant performance loss.
|
2018-10-27 22:38:29 +02:00
|
|
|
|
|
|
|
The development of Dynare is mainly done at `CEPREMAP`_ by a core team
|
|
|
|
of researchers who devote part of their time to software
|
2019-11-21 10:47:04 +01:00
|
|
|
development. Increasingly, the developer base is expanding, as
|
2019-10-02 11:36:05 +02:00
|
|
|
tools developed by researchers outside of CEPREMAP are integrated into
|
|
|
|
Dynare. Financial support is provided by CEPREMAP, Banque de France
|
2018-10-27 22:38:29 +02:00
|
|
|
and DSGE-net (an international research network for DSGE modeling).
|
|
|
|
|
|
|
|
Interaction between developers and users of Dynare is central to the
|
|
|
|
project. A `web forum`_ is available for users who have questions
|
|
|
|
about the usage of Dynare or who want to report bugs. Current known
|
|
|
|
and fixed bugs are listed on the `Dynare wiki`_. Issues or whishes can
|
|
|
|
be reported on our `Git repository`_. Training sessions are given
|
|
|
|
through the Dynare Summer School, which is organized every year and is
|
|
|
|
attended by about 40 people. Finally, priorities in terms of future
|
|
|
|
developments and features to be added are decided in cooperation with
|
|
|
|
the institutions providing financial support.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
Documentation sources
|
|
|
|
=====================
|
|
|
|
|
2018-10-27 22:38:29 +02:00
|
|
|
The present document is the reference manual for Dynare. It documents
|
|
|
|
all commands and features in a systematic fashion.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
2018-10-27 22:38:29 +02:00
|
|
|
Other useful sources of information include the `Dynare wiki`_ and the
|
|
|
|
`Dynare forums`_.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
Citing Dynare in your research
|
|
|
|
==============================
|
|
|
|
|
2019-02-17 18:43:31 +01:00
|
|
|
You should cite Dynare if you use it in your research. The
|
|
|
|
recommended way todo this is to cite the present manual, as:
|
2018-10-27 22:38:29 +02:00
|
|
|
|
|
|
|
Stéphane Adjemian, Houtan Bastani, Michel Juillard, Frédéric
|
2019-02-17 21:53:39 +01:00
|
|
|
Karamé, Junior Maih, Ferhat Mihoubi, George Perendia, Johannes Pfeifer, Marco
|
2018-10-27 22:38:29 +02:00
|
|
|
Ratto and Sébastien Villemot (2011), “Dynare: Reference Manual,
|
|
|
|
Version 4,” *Dynare Working Papers*, 1, CEPREMAP
|
2018-10-25 16:31:53 +02:00
|
|
|
|
2019-02-17 23:05:07 +01:00
|
|
|
For convenience, you can copy and paste the following into your BibTeX file:
|
|
|
|
|
|
|
|
.. code-block:: bibtex
|
|
|
|
|
|
|
|
@TechReport{Adjemianetal2011,
|
2020-01-08 12:33:14 +01:00
|
|
|
author = {Adjemian, St\'ephane and Bastani, Houtan and
|
|
|
|
Juillard, Michel and Karam\'e, Fr\'ederic and
|
2019-11-21 12:41:35 +01:00
|
|
|
Maih, Junior and Mihoubi, Ferhat and
|
2020-01-08 12:33:14 +01:00
|
|
|
Perendia, George and Pfeifer, Johannes and
|
2019-11-21 12:41:35 +01:00
|
|
|
Ratto, Marco and Villemot, S\'ebastien},
|
2019-02-17 23:05:07 +01:00
|
|
|
title = {Dynare: Reference Manual Version 4},
|
|
|
|
year = {2011},
|
|
|
|
institution = {CEPREMAP},
|
|
|
|
type = {Dynare Working Papers},
|
|
|
|
number = {1},
|
|
|
|
}
|
|
|
|
|
2018-10-27 22:38:29 +02:00
|
|
|
If you want to give a URL, use the address of the Dynare website:
|
|
|
|
https://www.dynare.org.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-14 17:04:05 +01:00
|
|
|
.. _MATLAB: https://www.mathworks.com/products/matlab/
|
2020-02-17 17:42:55 +01:00
|
|
|
.. _GNU Octave: https://www.octave.org/
|
2019-11-14 17:04:05 +01:00
|
|
|
.. _CEPREMAP: https://www.cepremap.fr/
|
2018-10-27 15:37:18 +02:00
|
|
|
.. _web forum: https://forum.dynare.org/
|
2019-11-14 17:04:05 +01:00
|
|
|
.. _official Dynare website: https://www.dynare.org/
|
2018-10-27 15:37:18 +02:00
|
|
|
.. _Dynare wiki: https://git.dynare.org/Dynare/dynare/wikis
|
|
|
|
.. _Dynare forums: https://forum.dynare.org/
|
|
|
|
.. _Git repository: https://git.dynare.org/Dynare/dynare
|