2018-10-25 16:31:53 +02:00
|
|
|
|
.. default-domain:: dynare
|
|
|
|
|
|
|
|
|
|
########
|
|
|
|
|
Examples
|
|
|
|
|
########
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
Dynare comes with a database of example ``.mod`` files, which are
|
|
|
|
|
designed to show a broad range of Dynare features, and are taken from
|
|
|
|
|
academic papers for most of them. You should have these files in the
|
|
|
|
|
``examples`` subdirectory of your distribution.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
Here is a short list of the examples included. For a more complete
|
|
|
|
|
description, please refer to the comments inside the files themselves.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``ramst.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
An elementary real business cycle (RBC) model, simulated in a
|
|
|
|
|
deterministic setup.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``example1.mod``
|
|
|
|
|
``example2.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
Two examples of a small RBC model in a stochastic setup, presented
|
|
|
|
|
in *Collard (2001)* (see the file ``guide.pdf`` which comes with
|
|
|
|
|
Dynare).
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``example3.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
A small RBC model in a stochastic setup, presented in *Collard
|
|
|
|
|
(2001)*. The steady state is solved analytically using the
|
|
|
|
|
``steady_state_model`` block (see :bck:`steady_state_model`).
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``fs2000.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
A cash in advance model, estimated by *Schorfheide (2000)*. The
|
|
|
|
|
file shows how to use Dynare for estimation.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``fs2000_nonstationary.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
The same model than ``fs2000.mod``, but written in non-stationary
|
|
|
|
|
form. Detrending of the equations is done by Dynare.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``bkk.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
Multi-country RBC model with time to build, presented in *Backus,
|
|
|
|
|
Kehoe and Kydland (1992)*. The file shows how to use Dynare’s
|
2019-06-25 08:58:44 +02:00
|
|
|
|
macro processor.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``agtrend.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
Small open economy RBC model with shocks to the growth trend,
|
|
|
|
|
presented in *Aguiar and Gopinath (2004)*.
|
2018-10-25 16:31:53 +02:00
|
|
|
|
|
|
|
|
|
``NK_baseline.mod``
|
|
|
|
|
|
2019-02-04 14:44:01 +01:00
|
|
|
|
Baseline New Keynesian Model estimated in *Fernández-Villaverde
|
|
|
|
|
(2010)*. It demonstrates how to use an explicit steady state file
|
|
|
|
|
to update parameters and call a numerical solver.
|