OG-UK is an overlapping-generations (OG) model of the economy of the United Kingom (UK) that allows for dynamic general equilibrium analysis of fiscal policy. OG-UK builds on the OG-Core platform, using a calibration specific to the UK. The model output focuses changes in macroeconomic aggregates (GDP, investment, consumption), wages, interest rates, and the stream of tax revenues over time. Regularly updated documentation of the model and the Python API are available here.
The model is currently under development. PLEASE DO NOT USE OR CITE THE MODEL'S OUTPUT FOR ANY PURPOSE.
conda env create -f environment.yml
conda activate oguk-calibrate-dev
pip install -e .
./examples
python run_og_uk.py examples.small_ubi_reform.ubi_reform
./run_examples/run_og_uk.py
by adjusting the individual income tax reform (using a PolicyEngine-Core Reform
object) or other model parameters specified in a dictionary and passed to the Specifications.update_specification()
method../examples/OG-UK_example_plots
./examples/og_uk_example_output.csv
./examples/OG-UK-Example/OUTPUT_BASELINE/model_params.pkl
execute.py
in the OG-Core model for items in the dictionary object in this pickle file./examples/OG-UK-Example/OUTPUT_BASELINE/TxFuncEst_baseline.pkl
txfunc.py
in the OG-Core model for what is in the dictionary object in this pickle file./examples/OG-UK-Example/OUTPUT_BASELINE/SS/SS_vars.pkl
SS.py
in the OG-Core model for what is in the dictionary object in this pickle file./examples/OG-UK-Example/OUTPUT_BASELINE/TPI/TPI_vars.pkl
TPI.py
in the OG-Core model for what is in the dictionary object in this pickle file./examples/OG-UK-Example/OUTPUT_REFORM
directory, which represent objects from the simulation of the reform policyNote 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 a few to several hours of compute time.
If you run into errors running the example script, please open a new issue in the OG-UK repo with a description of the issue and any relevant tracebacks you receive.
PLEASE DO NOT CITE