Commit 49b28695 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Removed trailing whitespaces.

parent 893d2ca2
...@@ -91,123 +91,123 @@ This is Dynare Reference Manual, version @value{VERSION}. ...@@ -91,123 +91,123 @@ This is Dynare Reference Manual, version @value{VERSION}.
@end ifnottex @end ifnottex
@menu @menu
* Introduction:: * Introduction::
* Installation and configuration:: * Installation and configuration::
* Dynare invocation:: * Dynare invocation::
* The Model file:: * The Model file::
* The Configuration File:: * The Configuration File::
* Examples:: * Examples::
* Bibliography:: * Bibliography::
* Command and Function Index:: * Command and Function Index::
* Variable Index:: * Variable Index::
@detailmenu @detailmenu
--- The Detailed Node Listing --- --- The Detailed Node Listing ---
Introduction Introduction
* What is Dynare ?:: * What is Dynare ?::
* Documentation sources:: * Documentation sources::
* Citing Dynare in your research:: * Citing Dynare in your research::
Installation and configuration Installation and configuration
* Software requirements:: * Software requirements::
* Installation of Dynare:: * Installation of Dynare::
* Configuration:: * Configuration::
Installation of Dynare Installation of Dynare
* On Windows:: * On Windows::
* On Debian GNU/Linux and Ubuntu:: * On Debian GNU/Linux and Ubuntu::
* On Mac OS X:: * On Mac OS X::
* For other systems:: * For other systems::
Configuration Configuration
* For MATLAB:: * For MATLAB::
* For GNU Octave:: * For GNU Octave::
* Some words of warning:: * Some words of warning::
The Model file The Model file
* Conventions:: * Conventions::
* Variable declarations:: * Variable declarations::
* Expressions:: * Expressions::
* Parameter initialization:: * Parameter initialization::
* Model declaration:: * Model declaration::
* Auxiliary variables:: * Auxiliary variables::
* Initial and terminal conditions:: * Initial and terminal conditions::
* Shocks on exogenous variables:: * Shocks on exogenous variables::
* Other general declarations:: * Other general declarations::
* Steady state:: * Steady state::
* Getting information about the model:: * Getting information about the model::
* Deterministic simulation:: * Deterministic simulation::
* Stochastic solution and simulation:: * Stochastic solution and simulation::
* Estimation:: * Estimation::
* Forecasting:: * Forecasting::
* Optimal policy:: * Optimal policy::
* Sensitivity and identification analysis:: * Sensitivity and identification analysis::
* Displaying and saving results:: * Displaying and saving results::
* Macro-processing language:: * Macro-processing language::
* Misc commands:: * Misc commands::
Expressions Expressions
* Parameters and variables:: * Parameters and variables::
* Operators:: * Operators::
* Functions:: * Functions::
Parameters and variables Parameters and variables
* Inside the model:: * Inside the model::
* Outside the model:: * Outside the model::
Functions Functions
* Built-in Functions:: * Built-in Functions::
* External Functions:: * External Functions::
Steady state Steady state
* Finding the steady state with Dynare nonlinear solver:: * Finding the steady state with Dynare nonlinear solver::
* Using a steady state file:: * Using a steady state file::
Stochastic solution and simulation Stochastic solution and simulation
* Computing the stochastic solution:: * Computing the stochastic solution::
* Typology and ordering of variables:: * Typology and ordering of variables::
* First order approximation:: * First order approximation::
* Second order approximation:: * Second order approximation::
* Third order approximation:: * Third order approximation::
Sensitivity and identification analysis Sensitivity and identification analysis
* Sampling:: * Sampling::
* Stability Mapping:: * Stability Mapping::
* Reduced Form Mapping:: * Reduced Form Mapping::
* RMSE:: * RMSE::
* Screening Analysis:: * Screening Analysis::
* Identification Analysis:: * Identification Analysis::
* Performing Sensitivity and Identification Analysis:: * Performing Sensitivity and Identification Analysis::
Macro-processing language Macro-processing language
* Macro expressions:: * Macro expressions::
* Macro directives:: * Macro directives::
* Typical usages:: * Typical usages::
* MATLAB/Octave loops versus macro-processor loops:: * MATLAB/Octave loops versus macro-processor loops::
Typical usages Typical usages
* Modularization:: * Modularization::
* Indexed sums or products:: * Indexed sums or products::
* Multi-country models:: * Multi-country models::
* Endogeneizing parameters:: * Endogeneizing parameters::
The Configuration File The Configuration File
* Parallel Configuration:: * Parallel Configuration::
@end detailmenu @end detailmenu
@end menu @end menu
...@@ -216,9 +216,9 @@ The Configuration File ...@@ -216,9 +216,9 @@ The Configuration File
@chapter Introduction @chapter Introduction
@menu @menu
* What is Dynare ?:: * What is Dynare ?::
* Documentation sources:: * Documentation sources::
* Citing Dynare in your research:: * Citing Dynare in your research::
@end menu @end menu
@node What is Dynare ? @node What is Dynare ?
...@@ -339,9 +339,9 @@ If you want to give a URL, use the address of the Dynare website: ...@@ -339,9 +339,9 @@ If you want to give a URL, use the address of the Dynare website:
@chapter Installation and configuration @chapter Installation and configuration
@menu @menu
* Software requirements:: * Software requirements::
* Installation of Dynare:: * Installation of Dynare::
* Configuration:: * Configuration::
@end menu @end menu
@node Software requirements @node Software requirements
...@@ -355,7 +355,7 @@ steps are necessary in that case. ...@@ -355,7 +355,7 @@ steps are necessary in that case.
In order to run Dynare, you need at least one of the following: In order to run Dynare, you need at least one of the following:
@itemize @itemize
@item @item
MATLAB version 7.0 (R14) or above; note that no toolbox is needed by MATLAB version 7.0 (R14) or above; note that no toolbox is needed by
...@@ -396,10 +396,10 @@ upgrade Dynare and discard the previous version without having to worry ...@@ -396,10 +396,10 @@ upgrade Dynare and discard the previous version without having to worry
about your own files. about your own files.
@menu @menu
* On Windows:: * On Windows::
* On Debian GNU/Linux and Ubuntu:: * On Debian GNU/Linux and Ubuntu::
* On Mac OS X:: * On Mac OS X::
* For other systems:: * For other systems::
@end menu @end menu
@node On Windows @node On Windows
...@@ -465,9 +465,9 @@ Wiki}. ...@@ -465,9 +465,9 @@ Wiki}.
@section Configuration @section Configuration
@menu @menu
* For MATLAB:: * For MATLAB::
* For GNU Octave:: * For GNU Octave::
* Some words of warning:: * Some words of warning::
@end menu @end menu
@node For MATLAB @node For MATLAB
...@@ -476,7 +476,7 @@ Wiki}. ...@@ -476,7 +476,7 @@ Wiki}.
You need to add the @file{matlab} subdirectory of your Dynare You need to add the @file{matlab} subdirectory of your Dynare
installation to MATLAB path. You have two options for doing that: installation to MATLAB path. You have two options for doing that:
@itemize @itemize
@item @item
Using the @code{addpath} command in the MATLAB command window: Using the @code{addpath} command in the MATLAB command window:
...@@ -724,7 +724,7 @@ in a file called @file{@var{FILENAME}_results.mat}. ...@@ -724,7 +724,7 @@ in a file called @file{@var{FILENAME}_results.mat}.
@example @example
dynare ramst dynare ramst
dynare ramst.mod savemacro dynare ramst.mod savemacro
@end example @end example
@end deffn @end deffn
...@@ -749,26 +749,26 @@ Structure containing the various results of the computations. ...@@ -749,26 +749,26 @@ Structure containing the various results of the computations.
@chapter The Model file @chapter The Model file
@menu @menu
* Conventions:: * Conventions::
* Variable declarations:: * Variable declarations::
* Expressions:: * Expressions::
* Parameter initialization:: * Parameter initialization::
* Model declaration:: * Model declaration::
* Auxiliary variables:: * Auxiliary variables::
* Initial and terminal conditions:: * Initial and terminal conditions::
* Shocks on exogenous variables:: * Shocks on exogenous variables::
* Other general declarations:: * Other general declarations::
* Steady state:: * Steady state::
* Getting information about the model:: * Getting information about the model::
* Deterministic simulation:: * Deterministic simulation::
* Stochastic solution and simulation:: * Stochastic solution and simulation::
* Estimation:: * Estimation::
* Forecasting:: * Forecasting::
* Optimal policy:: * Optimal policy::
* Sensitivity and identification analysis:: * Sensitivity and identification analysis::
* Displaying and saving results:: * Displaying and saving results::
* Macro-processing language:: * Macro-processing language::
* Misc commands:: * Misc commands::
@end menu @end menu
@node Conventions @node Conventions
...@@ -785,7 +785,7 @@ are separated by commas. ...@@ -785,7 +785,7 @@ are separated by commas.
In the description of Dynare commands, the following conventions are In the description of Dynare commands, the following conventions are
observed: observed:
@itemize @itemize
@item @item
optional arguments or options are indicated between square brackets: optional arguments or options are indicated between square brackets:
...@@ -933,7 +933,7 @@ Dynare will concatenate them. ...@@ -933,7 +933,7 @@ Dynare will concatenate them.
varexo m gov; varexo m gov;
varexo_det tau; varexo_det tau;
@end example @end example
@end deffn @end deffn
...@@ -1020,7 +1020,7 @@ the beginning of the period'' convention. ...@@ -1020,7 +1020,7 @@ the beginning of the period'' convention.
The following two program snippets are strictly equivalent. The following two program snippets are strictly equivalent.
@emph{Using default Dynare timing convention:} @emph{Using default Dynare timing convention:}
@example @example
var y, k, i; var y, k, i;
...@@ -1032,7 +1032,7 @@ k = i + (1-delta)*k(-1); ...@@ -1032,7 +1032,7 @@ k = i + (1-delta)*k(-1);
end; end;
@end example @end example
@emph{Using the alternative timing convention:} @emph{Using the alternative timing convention:}
@example @example
var y, k, i; var y, k, i;
...@@ -1114,9 +1114,9 @@ Represents infinity. ...@@ -1114,9 +1114,9 @@ Represents infinity.
@end deffn @end deffn
@menu @menu
* Parameters and variables:: * Parameters and variables::
* Operators:: * Operators::
* Functions:: * Functions::
@end menu @end menu
@node Parameters and variables @node Parameters and variables
...@@ -1127,8 +1127,8 @@ typing their names. The semantics of parameters and variables is quite ...@@ -1127,8 +1127,8 @@ typing their names. The semantics of parameters and variables is quite
different whether they are used inside or outside the model block. different whether they are used inside or outside the model block.
@menu @menu
* Inside the model:: * Inside the model::
* Outside the model:: * Outside the model::
@end menu @end menu
@node Inside the model @node Inside the model
...@@ -1177,7 +1177,7 @@ the value given in the most recent @code{initval} or @code{endval} block. ...@@ -1177,7 +1177,7 @@ the value given in the most recent @code{initval} or @code{endval} block.
The following operators are allowed in both @var{MODEL_EXPRESSION} and The following operators are allowed in both @var{MODEL_EXPRESSION} and
@var{EXPRESSION}: @var{EXPRESSION}:
@itemize @itemize
@item @item
binary arithmetic operators: @code{+}, @code{-}, @code{*}, @code{/}, @code{^} binary arithmetic operators: @code{+}, @code{-}, @code{*}, @code{/}, @code{^}
...@@ -1215,8 +1215,8 @@ internally and how this affects the output. ...@@ -1215,8 +1215,8 @@ internally and how this affects the output.
@subsection Functions @subsection Functions
@menu @menu
* Built-in Functions:: * Built-in Functions::
* External Functions:: * External Functions::
@end menu @end menu
@node Built-in Functions @node Built-in Functions
...@@ -1566,7 +1566,7 @@ appended to the variable names, as LaTeX subscripts. ...@@ -1566,7 +1566,7 @@ appended to the variable names, as LaTeX subscripts.
Note that the model written in the TeX file will differ from the model Note that the model written in the TeX file will differ from the model
declared by the user in the following dimensions: declared by the user in the following dimensions:
@itemize @itemize
@item @item
the timing convention of predetermined variables the timing convention of predetermined variables
...@@ -1762,7 +1762,7 @@ This steady state will be used as the initial condition at all the ...@@ -1762,7 +1762,7 @@ This steady state will be used as the initial condition at all the
periods preceeding the first simulation period for the two possible periods preceeding the first simulation period for the two possible
types of simulations in stochastic mode: types of simulations in stochastic mode:
@itemize @itemize
@item @item
in @code{stoch_simul}, if the @code{periods} options is specified in @code{stoch_simul}, if the @code{periods} options is specified
...@@ -1922,7 +1922,7 @@ and the number of lags of the model (for example, with 50 simulation ...@@ -1922,7 +1922,7 @@ and the number of lags of the model (for example, with 50 simulation
periods, in a model with 2 lags and 1 lead, the paths must have a periods, in a model with 2 lags and 1 lead, the paths must have a
length of 53). Note that these paths cover two different things: length of 53). Note that these paths cover two different things:
@itemize @itemize
@item @item
the constraints of the problem, which are given by the path for the constraints of the problem, which are given by the path for
...@@ -1936,7 +1936,7 @@ initial and terminal conditions) ...@@ -1936,7 +1936,7 @@ initial and terminal conditions)
The command accepts three file formats: The command accepts three file formats:
@itemize @itemize
@item @item
M-file (extension @file{.m}): for each endogenous and exogenous M-file (extension @file{.m}): for each endogenous and exogenous
...@@ -1998,7 +1998,7 @@ The block should contain one or more occurrences of the following ...@@ -1998,7 +1998,7 @@ The block should contain one or more occurrences of the following
group of three lines: group of three lines:
@example @example
var @var{VARIABLE_NAME}; var @var{VARIABLE_NAME};
periods @var{INTEGER}[:@var{INTEGER}] [[,] @var{INTEGER}[:@var{INTEGER}]]@dots{}; periods @var{INTEGER}[:@var{INTEGER}] [[,] @var{INTEGER}[:@var{INTEGER}]]@dots{};
values @var{DOUBLE} | (@var{EXPRESSION}) [[,] @var{DOUBLE} | (@var{EXPRESSION}) ]@dots{}; values @var{DOUBLE} | (@var{EXPRESSION}) [[,] @var{DOUBLE} | (@var{EXPRESSION}) ]@dots{};
@end example @end example
...@@ -2120,7 +2120,7 @@ The syntax is the same than @code{shocks} in a deterministic context. ...@@ -2120,7 +2120,7 @@ The syntax is the same than @code{shocks} in a deterministic context.
This command is only meaningful in two situations: This command is only meaningful in two situations:
@itemize @itemize
@item @item
on exogenous variables with a non-zero steady state, in a deterministic setup, on exogenous variables with a non-zero steady state, in a deterministic setup,
...@@ -2207,8 +2207,8 @@ give more guidance to Dynare, using your knowledge of the model, by ...@@ -2207,8 +2207,8 @@ give more guidance to Dynare, using your knowledge of the model, by
providing it with a ``steady state file''. providing it with a ``steady state file''.
@menu @menu
* Finding the steady state with Dynare nonlinear solver:: * Finding the steady state with Dynare nonlinear solver::
* Using a steady state file:: * Using a steady state file::
@end menu @end menu
@node Finding the steady state with Dynare nonlinear solver @node Finding the steady state with Dynare nonlinear solver
...@@ -2332,7 +2332,7 @@ variable: ...@@ -2332,7 +2332,7 @@ variable:
Contains the computed steady state. Contains the computed steady state.
Endogenous variables are ordered in order of declaration used in Endogenous variables are ordered in order of declaration used in
@code{var} command (which is also the order used in @code{M_.endo_names}). @code{var} command (which is also the order used in @code{M_.endo_names}).
@end defvr @end defvr
...@@ -2490,7 +2490,7 @@ steady_state_model; ...@@ -2490,7 +2490,7 @@ steady_state_model;
dA = exp(gam); dA = exp(gam);
gst = 1/dA; // A temporary variable gst = 1/dA; // A temporary variable
m = mst; m = mst;
// Three other temporary variables // Three other temporary variables
khst = ( (1-gst*bet*(1-del)) / (alp*gst^alp*bet) )^(1/(alp-1)); khst = ( (1-gst*bet*(1-del)) / (alp*gst^alp*bet) )^(1/(alp-1));
xist = ( ((khst*gst)^alp - (1-gst*(1-del))*khst)/mst )^(-1); xist = ( ((khst*gst)^alp - (1-gst*(1-del))*khst)/mst )^(-1);
...@@ -2508,7 +2508,7 @@ steady_state_model; ...@@ -2508,7 +2508,7 @@ steady_state_model;
// You can use MATLAB functions which return several arguments // You can use MATLAB functions which return several arguments
[W, e] = my_function(l, n); [W, e] = my_function(l, n);
gp_obs = m/dA; gp_obs = m/dA;
gy_obs = dA; gy_obs = dA;
end; end;
...@@ -2567,7 +2567,7 @@ command. ...@@ -2567,7 +2567,7 @@ command.
This command provides information about: This command provides information about:
@itemize @itemize
@item @item
the normalization of the model: an endogenous variable is attributed the normalization of the model: an endogenous variable is attributed
...@@ -2758,11 +2758,11 @@ details of the Dynare implementation of the first order solution are ...@@ -2758,11 +2758,11 @@ details of the Dynare implementation of the first order solution are
given in @cite{Villemot (2011)}. given in @cite{Villemot (2011)}.