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 9: Computation of the 60-period OLG model 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
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:
Comments? Suggestions? Send an email to: Burkhard.Heer@wiwi.uni-augsburg.de
Last update: May 12, 2021