Loading [MathJax]/jax/output/CommonHTML/fonts/TeX/fontdata.js

DYNAMIC GENERAL EQUILIBRIUM MODELING (2009): PYTHON CODE

book_cover

By BURKHARD HEER and ALFRED MAUSSNER, University of Augsburg

In the following, you will find the Python Code to selected numerical applications from the book on 'Dynamic General Equilibrium Modeling: Computational Methods and Applications' (2009) by Burkhard Heer and Alfred Maußner (University of Augsburg, Germany):

Chapter 7: Computation of the stationary distribution in the neoclassical growth model with heterogeneous agents

Chapter 9: Computation of the 60-period OLG model using value function iteration

Chapter 10: Computation of the 70-period OLG model with idiosyncratic uncertainty using value function iteration

Just click the above links to find a detailed tutorial for these computational applications. There, we will discuss the code in detail and guide you through the code line by line. We will present intermediate results and discuss possible programming pitfalls.

You can also download the complete Python code from the download page of the book

Download page Computer code from "Dynamic General Equilibrium Modeling: Computational Methods and Applications"

If you have not installed PYTHON yet or have little prior experience in PYTHON programming, an ideal starting point is provided by the web page of THOMAS J. SARGENT and JOHN STACHURSKI on 'Python Programming for Economics and Finance':

Introduction to Programming with Python

If you would like to start with some easier economic and numerical problems, you may also visit Burkhard Heer's web page on Python code for his book 'Public Economics' (2019). There, you will find the numerical solution of some small-scale problems in overlapping generations models and the effects of public pay-as-you-go pension systems:

Python code from Public Eonomics (2019) by Burkhard Heer

Comments? Suggestions? Send an email to: Burkhard.Heer@wiwi.uni-augsburg.de

Last update: May 12, 2021