NumEcon: Numerical Economics in Python
A code library with numerical models for undergraduate and graduate students of economics. The goal of NumEcon is to provide tools for solving canonical models in microeconomics and macroeconomics (and a bit of econometrics). This e.g. includes the consumer problem and Edgeworth and Koopman economies in micro, and the Ramsey and OLG models in macro.
The library is still early in its development, contributions are very welcome!
New to Python? Thy out this online course, Introduction to programming and numerical analysis.
Jupyter Notebooks showing the NumEcon library is availible in NumEconNotebooks
Install
NumEcon can be installed through pip:
pip install numecon
Examples
The consumer problem
The Edgeworth box
The Koopman diagram
The Ramsey model
The OLG model
Development
To develop the package follow these steps:
- Clone this repository
- Locate the cloned repostiory in a terminal
- Run
pip install -e .
Changes you make to the package is now immediately effective on your own computer.