Textbook, Lecture Notes, Code

Information about my MA level macroeconomics textbook; lecture notes for an intermediate macroeconomics course; code and data.

Macroeconomic Analysis, MIT Press, 2019

For MA students, beginning PhD students, and researchers.

Table of contents: PDF.
MIT Press book page.
MIT Press flyer with endorsements: PDF.
Second MIT Press flyer with endorsements: PDF.
Book discussion in  Finanz und Wirtschaft: PDF.
100 Best Macroeconomics Books of All Time: HTML.
Economics Job Market Rumours: HTML.


“An orderly and elegant presentation of essential ideas of modern macroeconomics with a perfect mix of tools and applications.”
Thomas Sargent, Professor of Economics, New York University

“excellent introduction into dynamic macroeconomics … deep, self-contained, and still concise … superb choice for a first-year PhD or advanced Masters’ course in macroeconomics.”
Markus Brunnermeier, Edwards S. Sanford Professor of Economics, Princeton University

“A needed, up-to-date primer on macroeconomic theory. … comprehensive … thorough and rigorous, yet accessible”
George-Marios Angeletos, Professor of Economics, MIT

“the rare textbook that is both comprehensive and rigorous, as well as concise and simple. … students will be ready to join the exciting debates in modern macroeconomics.”
Ricardo Reis, A. W. Phillips Professor of Economics, LSE

“concise, but rigorous introduction … pedagogical approach … I expect it to become a staple reference in first-year graduate courses.”
Jordi Galí, CREI, Universitat Pompeu Fabra and Barcelona GSE

“Finally … rigorously develop[s] the core insights in each topic studied, avoiding superfluous diversions.”
Gianluca Violante, Professor of Economics, Princeton University

“excellent textbook … solid and unified background for positive and normative analysis … conceptually clear and logically consistent, and at the same time quite accessible.”
Fernando Alvarez, Saieh Family Professor of Economics, University of Chicago

Exercises with Solutions

The exercise manual includes more than 200 exercises.

  • Exercise manual is available from MIT Press or here: PDF.
  • Solutions manual is available from MIT Press.


Lecture Notes

Lecture notes for intermediate macroeconomics course following Pablo Kurlat’s (2020) “A Course in Modern Macroeconomics,” with some extensions and small adaptations to Switzerland: PDF.


Computer Code

Some useful sources for numerical methods and computer code:

  • Methods
  • Models, Matlab
    • Johannes Pfeiffer’s page on GitHub. Dynare/Matlab files for various DSGE models.
    • Ryo Kato’s page on REPEC. Matlab code with explanations for the basic RBC model.
  • Models, Python
  • Models, Julia
    • Pages on QuantEcon. Julia code for various economic applications.
    • Petre Caraiani’s page on REPEC. Julia code for various models. Accompanies Petre Caraiani (2018), Introduction to Quantitative Macroeconomics Using Julia, Academic Press.
    • Richard Dennis’ page on GitHub. Julia code for DSGE models.
  • More …
    • Many pages on GitHub. Code in various programming languages.


Macroeconomic data can be downloaded from these websites:

  • FRED, the data portal of the Federal Reserve Bank of St. Louis.
  • Madison project database: Long run international income comparisons.
  • Menzie Chinn’s page with many more sources.