duzaichuan / Macro-in-Python

Solution to Macroeconomic Models using Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Macro-in-Python

Solution of Macroeconomic Models in Python

These files contain my (amateur) approach to solve macroeconomic models using Python. The code is not written for being elegant, neither for speed, therefore, optimization is needed and comments are welcome.

A large part of the code is based on the following resources:

At the moment the codes include:

  • Simple stochastic growth model (Value function iteration, Howard improvement algorithm, Endogeneous Grid method, and Perturbation)
  • Simple RBC model with labor choice (Value function iteration, Howard improvement algorithm, and Perturbation)
  • A variety of versions of the RBC model with different frictions (Perturbation only)
  • Aiyagari model with aggregation using Monte Carlo simulation and an invariante distribution (Value function iteration, and Howard improvement algorithm)

About

Solution to Macroeconomic Models using Python


Languages

Language:Python 100.0%