Skip to content
Snippets Groups Projects
Select Git revision
  • d159dde85595d38acd4453c48f4ea380405dcea1
  • master default
  • nlf-fixes
  • newton-quadratic-equation-solver
  • nlf-fixes-r
  • nls-fixes
  • sep-fixes
  • sep
  • use-dprior
  • ep-sparse
  • rebase-1
  • parfor
  • reset-seed-in-unit-tests
  • remove-persistent-variables
  • nonlinear-filter-fixes
  • pac-mce-with-composite-target
  • 6.x
  • dprior
  • covariance-quadratic-approximation
  • benchmark-ec
  • kalman_mex
  • 5.5
  • 5.4
  • 5.3
  • 5.2
  • 5.1
  • 5.0
  • 5.0-rc1
  • 4.7-beta3
  • 4.7-beta2
  • 4.7-beta1
  • 4.6.4
  • 4.6.3
  • 4.6.2
  • 4.6.1
  • 4.6.0
  • 4.6.0-rc2
  • 4.6.0-rc1
  • 4.6-beta1
  • 4.5.7
  • 4.5.6
41 results

macroprocessor.tex

  • Forked from Dynare / dynare
    Source project has a limited visibility.
    macroprocessor.tex 18.18 KiB
    \documentclass{beamer}
    \usepackage[utf8]{inputenc}
    \usepackage{amsmath}
    
    \mode<handout>
    {
      \usepackage{pgfpages}
      \pgfpagesuselayout{4 on 1}[a4paper,border shrink=3mm,landscape]
      \usetheme{Madrid}
      \usecolortheme{seagull}
    }
    
    \mode<beamer>
    {
      \usetheme{Madrid}
    }
    
    \title{The Dynare Macro-processor}
    \author{Sébastien Villemot}
    \institute{CEPREMAP}
    \date{June 20, 2011}
    
    \AtBeginSection[]
    {
      \begin{frame}
        \frametitle{Outline}
        \tableofcontents[currentsection]
      \end{frame}
    }
    
    \begin{document}
    
    \begin{frame}
      \titlepage
    \end{frame}
    
    \begin{frame}
      \frametitle{Outline}
      \tableofcontents
    \end{frame}
    
    \section{Overview}
    
    \begin{frame}
      \frametitle{Motivation}
      \begin{itemize}
      \item The \textbf{Dynare language} (used in MOD files) is well suited for many economic models
      \item However, as such, it lacks some useful features, such as:
        \begin{itemize}
        \item a loop mechanism for automatically repeating similar blocks of equations (such as in multi-country models)
        \item an operator for indexed sums or products inside equations
        \item a mechanism for splitting large MOD files in smaller modular files
        \item the possibility of conditionally including some equations or some runtime commands
      \end{itemize}
      \item The \textbf{Dynare Macro-language} was specifically designed to address these issues
      \item Being flexible and fairly general, it can also be helpful in other situations
      \end{itemize}
    \end{frame}
    
    \begin{frame}
      \frametitle{Design of the macro-language}
      \begin{itemize}
      \item The Dynare Macro-language provides a new set of \textbf{macro-commands} which can be inserted inside MOD files
      \item Language features include:
        \begin{itemize}
        \item file inclusion
        \item loops (\textit{for} structure)
        \item conditional inclusion (\textit{if/else} structures)
        \item expression substitution
        \end{itemize}