wmutschl / Computational-Macroeconomics

A graduate course on Computational Macroeconomics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build LaTeX Dynare 6.0 MATLAB R2024a Windows Dynare 6.0 MATLAB R2024a MacOS Dynare 6.0 MATLAB R2024a Ubuntu

Computational Macroeconomics

These are my course materials for a graduate course on Computational Macroeconomics taught at the University of Tübingen. The compiled PDF materials are available under Releases.

Please feel free to use this for teaching or learning purposes; however, taking into account the GPL 3.0 license.

Schedule with To-Do Lists

Week 1: Introductions

Goals

  • understand the scope and topics of Computational Macroeconomics
  • decide whether you want to take the course
  • prepare your computer for the course with MATLAB/Octave and Dynare
  • do your first steps in MATLAB/Octave and Dynare
  • (optionally) install GitKraken and do your first steps with git

To Do

Week 2: RBC Model, Calibration and Steady-State

Goals

  • understand and get comfortable with the algebra of RBC models
  • understand the concept of a steady-state
  • understand the concept of calibration
  • practice Dynare
  • start programming with MATLAB

To Do

Week 3: Practicing DYNARE, Symbolic Preprocessing in MATLAB

Goals

  • practice DYNARE: permanent changes in fiscal policy
  • practice MATLAB: symbolic toolbox, matrix algebra, loops, Kronecker products, functions
  • understand preprocessing and steady-state computations in MATLAB

To Do

  • finish and re-visit last week's exercises, particularly understand how to add deterministic growth to the RBC model
  • do exercises 1, 2 and 3 of week 3's exercise sheet
  • we will do exercise 4 of week 3's exercise sheet together in class, but you should already have a look
  • bring all your questions and concerns to the Q&A sessions
Week 4: New Keynesian Model

Goals

  • understand and get comfortable with the algebra of New Keynesian models
  • practice Dynare with the New Keynesian model

To Do

Week 5: Numerical optimization

Goals

  • understand and start using numerical optimizers
  • understand numerical steady-state computations

To Do

Content

We cover modern theoretical macroeconomics (the study of aggregated variables such as economic growth, unemployment and inflation by means of structural macroeconomic models) and combine it with numerical methods to study abstract macroeconomic concepts such as optimal monetary, fiscal and environmental policy, occasionally binding constraints (zero-lower-bound, irreversible investment), quantitative easing and rare disasters. To this end, we use the Dynamic Stochastic General Equilibrium (DSGE) model paradigm, particularly focusing on different variants of the New-Keynesian model, and develop the numerical procedures and algorithms required to solve and simulate such models. Using several case studies from the literature the theoretical and methodological foundations of computational macroeconomics are taught.

Topics

  • Algebra of RBC and New-Keynesian models
  • Steady-state
  • Preprocessing of DSGE models
  • Simulation and solution methods
    • perfect foresight
    • 1st-order perturbation (log-linearization)
    • k-order perturbation
    • projection
  • Impulse response analysis
  • Sensitivity analysis
  • Large shocks
  • Rare events
  • Occasionally binding constraints
  • Optimal policy

Case Studies and Replications (Preliminary)

  • Fiscal policy (Baxter and King, 1993, American Economic Review)
  • Epidemics (Eichenbaum, Rebelo and Trabandt, 2022, Journal of Economic Dynamics and Control)
  • Wars (Auray and Eyquem, 2019, Journal of Economic Dynamics and Control)
  • Trend inflation (Ascari and Sbordone, 2014, Journal of Economic Literature)
  • Technology shocks and business cycles (King, Plosser and Rebelo, 1988, Journal of Monetary Economics)
  • International spillovers under different environmental policy regimes (Annicchiarico and Diluiso, 2019, Resource and Energy Economics)
  • Nonlinearities and large shocks (Harding, Linde and Trabandt, 2022)
  • Fiscal multipliers (Linde and Trabandt, 2017, Journal of Applied Econometrics)
  • Optimal environmental policy (Heutel, 2012, Review of Economic Dynamics; Annicchiarico and Di Dio, 2015, Journal of Environmental Economics and Management)
  • Equity premium puzzle (Jermann, 1998, Journal of Monetary Economics)
  • Zero-lower bound on nominal interest rates, irreversible investment (Guerrieri and Iacoviello, 2015, Journal of Monetary Economics)
  • Rare disasters (Fernandez-Villaverde and Levintal, 2018, Quantitative Economics; Isore and Szczerbowicz, 2017, Journal of Economic Dynamics and Control)
  • Endogenous Banking Crises (Boissay, Collard, and Smets, 2016, Journal of Political Economy)

Learning target

Students acquire knowledge of advanced numerical methods in the field of computational macroeconomics. This knowledge is relevant for the realization of a wide variety of macroeconomic research projects and is applied in central banks, ministries, research institutes (e.g. DIW, ifo, IfW, IWH, RWI) and research departments of international organizations (e.g. IMF, World Bank). Upon successful completion of this module, students are prepared to work in these areas. At the same time, the module prepares students for the requirements of a methodologically oriented macroeconomic dissertation.

Students get familiar with a variety of algorithms, examples and situations in which computational thinking is useful in approximating and evaluating abstract macroeconomic phenomena. They recognize and appreciate the connections between theory and computational methods and use their training to find possible avenues of research. While constructing abstract algorithms, they identify appropriate computational tools and evaluate their strengths and weaknesses in the context of problem solving. They utilize computers and software effectively as tools for solving and simulating macroeconomic models. In addition, because students work on the problem sets as a team, students' coordination, organization, and communication skills are enhanced.

Requirements

Basic undergraduate knowledge of macroeconomics as well as econometrics are required, programming skills in a scripting language are advantageous, but not necessary.

Software used

Getting Involved

If you spot mistakes, let me know by opening an issue or write me an email to willi@mutschler.eu. Moreover, solutions to the exercises in other computer languages (e.g. Julia, Python or R) are highly appreciated. Please sent me those either via email or (better) open a pull request.

About

A graduate course on Computational Macroeconomics

License:GNU General Public License v3.0


Languages

Language:TeX 53.7%Language:AMPL 28.9%Language:MATLAB 14.9%Language:Pascal 1.6%Language:C++ 0.7%Language:Pawn 0.3%