OG-India is an overlapping-generations (OG) model of the economy of India that allows for dynamic general equilibrium analysis of federal tax policy. The model output focuses changes in macroeconomic aggregates (GDP, investment, consumption), wages, interest rates, and the stream of tax revenues over time. Careful documentation of the model--its output, and solution method--is available here and is regularly updated.
The model is currently under development. Users should be forewarned that the model components could change significantly. Therefore, there is NO GUARANTEE OF ACCURACY. THE CODE SHOULD NOT CURRENTLY BE USED FOR PUBLICATIONS, JOURNAL ARTICLES, OR RESEARCH PURPOSES. Essentially, you should assume the calculations are unreliable until we finish the code re-architecture and have checked the results against other existing implementations of the tax code. The package will have released versions, which will be checked against existing code prior to release. Stay tuned for an upcoming release!
conda env create -f environment.yml
source activate ogindia-dev
(on Mac/Linux) or activate ogindia-dev
on Windows.pip install -e .
./run_examples
python run_ogindia_example.py
./run_examples/run_ogindia_example.py
by adjusting the individual income tax reform (using a dictionary or JSON file in a format that is consistent with Tax Calculator) or other model parameters specified in the user_params
or kwargs
dictionaries../run_examples/OUTPUT_BASELINE/model_params.pkl
execute.py
for items in the dictionary object in this pickle file./run_examples/OUTPUT_BASELINE/TxFuncEst_baseline_'guid'.pkl
txfunc.py
for what is in the dictionary object in this pickle file./run_examples/OUTPUT_BASELINE/SS/SS_vars.pkl
SS.py
for what is in the dictionary object in this pickle file./run_examples/OUTPUT_BASELINE/TPI/TPI_vars.pkl
SS.py
for what is in the dictionary object in this pickle file./run_examples/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-India repo with a description of the issue and any relevant tracebacks you receive.
OG-India (Version 0.0.1)[Source code], https://github.com/TPRU-India/OG-India