write_latex_dynamic_model

write_latex_dynamic_model — create a LaTeX file containing the (dynamic) model

Synopsis

write_latex_dynamic_model ;

Description

If your .mod file is FILENAME.mod, then Dynare will create a file called FILENAME_dynamic.tex, containing the list of all the dynamic model equations.

If LaTeX names were given for variables and parameters (see var, varexo, varexo_det, parameters), then those will be used; otherwise, the plain text names will be used.

Time subscripts (t, t+1, t-1, ...) will be appended to the variable names, as LaTeX subscripts.

Note that the model written in the TeX file will differ from the model declared by the user in the following dimensions:

  • the timing convention of predetermined_variables will have been changed to the default Dynare timing convention; in other words, variables declared as predetermined will be lagged on period back,

  • the expectation operators will have been removed, replaced by auxiliary variables and new equations as explained in the documentation of the operator,

  • for stochastic models, variables with leads or lags greater or equal than two will have been removed, replaced by new auxiliary variables and equations.