EAPD-DRB / OG-PHL

Overlapping-generations macroeconomic model for evaluating fiscal policy in the Philippines
https://eapd-drb.github.io/OG-PHL
Creative Commons Zero v1.0 Universal
6 stars 38 forks source link
cge demographics fiscal-policy general-equilibrium macroeconomics og-phl overlapping-generations philippines phillipinne python

OG-PHL

Org United Nations DESA PSL cataloged OS License: CC0-1.0
Package Python 3.10 Python 3.11 PyPI Latest Release PyPI Downloads
Testing example event parameter example event parameter example event parameter Codecov

OG-PHL is an overlapping-generations (OG) model that allows for dynamic general equilibrium analysis of fiscal policy for the Philippines. OG-PHL is built on the OG-Core framework. The model output includes changes in macroeconomic aggregates (GDP, investment, consumption), wages, interest rates, and the stream of tax revenues over time. Regularly updated documentation of the model theory--its output, and solution method--and the Python API is available at https://pslmodels.github.io/OG-Core and documentation of the specific Philippines calibration of the model will be available soon.

Using and contributing to OG-PHL

Note that, depending on your machine, a full model run (solving for the full time path equilibrium for the baseline and reform policies) can take from 35 minutes to more than two hours of compute time.

If you run into errors running the example script, please open a new issue in the OG-PHL repo with a description of the issue and any relevant tracebacks you receive.

Once the package is installed, one can adjust parameters in the OG-Core Specifications object using the Calibration class as follows:

from ogcore.parameters import Specifications
from ogphl.calibrate import Calibration
p = Specifications()
c = Calibration(p)
updated_params = c.get_dict()
p.update_specifications({'initial_debt_ratio': updated_params['initial_debt_ratio']})

Disclaimer

The organization of this repository will be changing rapidly, but the OG-PHL/examples/run_og_zaf.py script will be kept up to date to run with the master branch of this repo.

Core Maintainers

The core maintainers of the OG-PHL repository are:

Citing OG-PHL

OG-PHL (Version #.#.#)[Source code], https://github.com/EAPD-DRB/OG-PHL