Skip to content

wmutschl/Quantitative-Macroeconomics

Repository files navigation

Build LaTeXDynare 6.2 MATLAB R2024b WindowsDynare 6.2 MATLAB R2024b MacOSDynare 6.2 MATLAB R2024b Ubuntu

Quantitative Macroeconomics

These are my course materials for a graduate course on Quantitative Macroeconomics taught at the University of Tübingen. The compiled PDF materials are available under Releases (make sure to click Show all assets).

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 Quantitative Macroeconomics
  • decide whether you want to take the course
  • prepare your computer for the course with MATLAB (or Octave) and Dynare
  • do your first steps in MATLAB (or Octave)
  • (optionally) install GitKraken and do your first steps with git

To Do

  • read the general course information on Ilias
  • watch the introductory videos (on YouTube)
  • prepare your computer: MATLAB (or Octave) and Dynare
    • install MATLAB R2024b following this guide if you are a student of the University of Tübingen. Please also install the following toolboxes: Econometrics Toolbox, Global Optimization Toolbox, Optimization Toolbox, Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, Symbolic Math Toolbox. As an alternative to MATLAB you can also install Octave following this guide.
    • install Dynare 6.2 following this guide
    • (optionally) create an account on GitHub.com
    • (optionally) sign up for the GitHub Students Developer Pack to get a free Pro license for GitKraken (among other things)
    • (optionally) install the GitKraken Client
  • do exercises 1-3 for week 1, exercise 4 is optional
  • write down all your questions
  • schedule an online meeting with me
    • put "I am interested in this course" under "What is the meeting about?"
    • check your emails and cancel the meeting again using the link in the email
    • now you know how easy it is to schedule a meeting with me :-)
  • participate in the Q&A sessions if you need assistance
Week 2: Time series data and fundamental concepts

Goals

  • learn how to obtain macroeconomic data from different sources
  • learn how to visualize macroeconomic time series data and do some basic descriptive statistics with MATLAB
  • learn about different frequencies and what they can be useful for
  • understand the concept of a white noise process
  • get intuition about stationarity, autocovariance function, lag-operator, conditional and unconditional moments
  • simulate white noise processes and moving-averages in MATLAB

To Do

  • review the solutions of last week's exercises and write down all your questions
  • read Bjørnland and Thorsrud (2015, Ch.1 and Ch.2) and Lütkepohl (2004, Sec. 2.1, 2.2, 2.3). Make note of all the aspects and concepts that you are not familiar with or that you find difficult to understand
  • do exercises 1 and 2, write down all your questions and problems; we'll do exercise 3 in class
  • participate in the Q&A sessions with all your questions and concerns
  • for immediate help: schedule a meeting
  • (optionally) checkout the short Beginner Git Video Tutorials from GitKraken
Week 3: Dependent time series data and the autoregressive process

Goals

  • understand the concept of an AR(1) and AR(p) process
  • get intuition about the law of large numbers and the central limit theorem
  • visualize the law of large numbers and the central limit theorem for dependent data using Monte Carlo simulations

To Do

  • review the solutions of last week's exercises and write down all your questions.
  • read Lütkepohl (2004, Sec. 2.2, 2.3, 2.5.2) and Bjørnland and Thorsrud (2015, Ch.1 and Ch.2); make note of all the aspects and concepts that you are not familiar with or that you find difficult to understand
  • prepare exercise sheet 3: do exercises 1 and 3 at home, we'll do exercises 2 and 4 in class
  • participate in the Q&A sessions with all your questions and concerns
  • for immediate help: schedule a meeting
  • (optionally) checkout the short Intermediate Git Video Tutorials from GitKraken
Week 4: Ordinary Least Squares (OLS) and Maximum Likelihood (ML) estimation of the autoregressive process

Goals

  • review OLS and ML for the AR(p) process
  • implement OLS and ML estimation of the AR(p) process

To Do

  • review the solutions of last week's exercises and write down all your questions
  • read Lütkepohl (2004); make note of all the aspects and concepts that you are not familiar with or that you find difficult to understand
  • do exercise 1; particularly, create your own ARpOLS.m function; feel free to sent it to me via Mattermost for review
  • we will do exercises 2 and 3 in class
  • participate in the Q&A sessions with all your questions and concerns
  • for immediate help: schedule a meeting
  • (optionally) checkout the short Advanced Git Video Tutorials from GitKraken
Week 5: Information Criteria, Specification Tests, and Bootstrap

Goals

  • understand the intuition of information criteria, specification tests and the bootstrap
  • implement simple examples for information criteria, specification tests and the bootstrap for the univariate AR(p) process

To Do

  • review the solutions of last week's exercises and write down all your questions
  • re-read Lütkepohl (2004) and briefly go through Kilian and Lütkepohl (2007, Ch. 2.6, 2.7, 12.2); make note of all the aspects and concepts that you are still not familiar with or that you find difficult to understand
  • Do exercise 1 of the problem set for week 5; we will do exercises 2 and 3 in class
  • participate in the Q&A sessions with all your questions and concerns
  • for immediate help: schedule a meeting
  • (optionally) fork the course repository on GitHub
Week 6: Multivariate Time Series Concepts, Estimating VAR with OLS and ML

Goals

Familiarize yourself with

  • important matrix concepts such as Eigenvalues, Kronecker product, orthogonality, rotation matrices, Cholesky decomposition and Lyapunov equations
  • multivariate notation and dimensions of vectors and matrices for VAR(p) models
  • autocovariances, stability and covariance-stationarity in multivariate VAR(p) models
  • the companion form of a VAR(p) model
  • estimate VAR models with Ordinary Least Squares (OLS) and Maximum Likelihood (ML)

To Do

  • Review the solutions of last week's exercises and write down all your questions
  • Read Kilian and Lütkepohl (2007, Ch. 2.2, 2.3) and Lütkepohl (2005, Chapter 2 and Appendix A); make note of all the aspects and concepts that you are not familiar with or that you find difficult to understand
  • Do exercise 1 of week 6
  • If you have questions, get in touch with me via email or (better) schedule a meeting
Week 7: The identification problem in SVAR models

Goals

  • understand the identification problem in SVAR models
  • understand recursive identification, short-run restrictions and the impact matrix
  • implement recursive identification via Cholesky or numerical optimization

To Do

  • Review the solutions of last week's exercises and write down all your questions
  • Read Kilian and Lütkepohl (2007, Ch. 4.1, 7.6, 8, 9); make note of all the aspects and concepts that you are not familiar with or that you find difficult to understand
  • We will do the exercises in class
  • If you have questions, get in touch with me via email or (better) schedule a meeting
Week 8: MIDTERM EXAM
Week 9: Short-run and Long-run restrictions in Structural Vector Autoregressive (SVAR) Models

Goals

  • implement short-run restrictions using numerical optimization
  • understand long-run restrictions and the long-run multiplier matrix
  • implement long-run restrictions using Cholesky or numerical optimization

To Do

  • Review the solutions of last week's exercises and write down all your questions
  • Read Kilian and Lütkepohl (2007, Ch. 4.1, Ch. 7.6, Ch.8, Ch.9) and Blanchard and Quah (1989); make note of all the aspects and concepts that you are not familiar with or that you find difficult to understand
  • We will do the exercises in class
  • If you have questions, get in touch with me via email or (better) schedule a meeting

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 econometric methods (the application of formal statistical methods in empirical economics). We focus on the quantitative aspects and methods for solving and estimating the most prominent model classes in macroeconomics: Structural Vector Autoregressive (SVAR) and Dynamic Stochastic General Equilibrium (DSGE) models. Using these two model strands, the theoretical and methodological foundations of quantitative macroeconomics is taught. The students are thus enabled to understand the analyses and forecasts of public (universities, central banks, economic research institutes) as well as private (business banks, political consultations) research departments, but also to derive and empirically evaluate their own structural macroeconomic models.

Topics

Time Series Analysis

  • Fundamentals of macroeconomic time series data
  • Autoregressive processes and dependent series
  • Estimation methods for autoregressive processes (Ordinary Least Squares & Maximum Likelihood)
  • Evaluation tools: Information criteria, specification tests, and bootstrap
  • Multivariate time series and Vector Autoregressive (VAR) models
  • VAR model estimation (Ordinary Least Squares & Maximum Likelihood)

Structural Vector Autoregressive (SVAR) Models

  • Identification problem in Structural Vector Autoregressive (SVAR) models
  • Recursive identification, short-run and long-run restrictions in SVAR models
  • Asymptotic and Bootstrap Inference in SVARs Identified By Exclusion Restrictions
  • Introduction to Bayesian estimation and the Gibbs sampler
  • Bayesian estimation of (S)VAR models and the Minnesota prior
  • Narrative identification in SVAR models
  • Local Projections

Dynamic Stochastic General Equilibrium (DSGE) Models

  • Algebra of New Keynesian Models
  • First-order perturbation of DSGE models
  • Generalized/Simulated Method of Moments
  • Kalman Filter and Smoother
  • Maximum Likelihood
  • Bayesian Markov Chain Monte-Carlo (MCMC) techniques
    • Random-Walk Metropolis Hastings
    • Slice Sampling

Case Studies and Replications (TBA)

Learning target

Students acquire knowledge of advanced methods of quantitative research in the field of modern 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 quantitatively oriented macroeconomic dissertation.

The gained methodological skills enable a precise understanding and largely independent empirical analysis of the most important model classes in quantitative macroeconomics. Students are familiar with a variety of examples and situations in which quantitative thinking is useful in explaining abstract macroeconomic phenomena. They recognize and appreciate the connections between theory and evidence and use their training to find possible avenues of research. While constructing abstract models, they identify appropriate economic and statistical tools and evaluate their strengths and weaknesses in the context of problem solving. They utilize computers and software effectively as tools for solving and estimating 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 [email protected]. 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.