Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation updates #61

Merged
merged 33 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c98034e
add script to make images for book
jdebacker Jul 29, 2024
27bde2f
remove list of ogusa cites
jdebacker Jul 29, 2024
6d0df32
update fert rates pictures
jdebacker Jul 29, 2024
54e659e
remove demog api doc
jdebacker Jul 30, 2024
3214f65
updates to api docs
jdebacker Jul 30, 2024
7e01e1c
sphinx setting to not print value of default arg
jdebacker Jul 30, 2024
581724d
remove unnecessary refs to USA earning profiles
jdebacker Jul 30, 2024
5f1a396
move household preferences and firm production params to new chapters
jdebacker Jul 30, 2024
c5386aa
move household preferences and firm production params to new chapters
jdebacker Jul 30, 2024
17ee55c
update multi ind run script
jdebacker Jul 30, 2024
929ce48
improve notes about lightly calibrated values
jdebacker Jul 30, 2024
92395d1
remove bequests chapter
jdebacker Jul 30, 2024
2fc10a3
change name of tax functions chapter to taxes
jdebacker Jul 30, 2024
4f41e5f
add notes about calib pit, cit, vat
jdebacker Jul 30, 2024
f30f674
update eqn's to note time varying demog params
jdebacker Jul 30, 2024
5ac1cc0
merge upstream
jdebacker Jul 30, 2024
edb39a9
add script to create figures
jdebacker Jul 30, 2024
5462028
remove unused image files
jdebacker Jul 30, 2024
ec81ec9
add new image files
jdebacker Jul 30, 2024
e592cd0
update code to create images
jdebacker Jul 30, 2024
36f5f80
ZAF earnings only:
jdebacker Jul 30, 2024
42a06e5
all taxes
jdebacker Jul 30, 2024
4d00e21
update exog parameters
jdebacker Jul 30, 2024
8d3da2b
script to create images for book
jdebacker Jul 30, 2024
bc34bf9
format
jdebacker Jul 30, 2024
6e7feb0
Merge remote-tracking branch 'upstream/main' into doc_updates
jdebacker Jul 30, 2024
f65a14b
update initial debt ratio
jdebacker Jul 30, 2024
471d706
fix typo
jdebacker Jul 30, 2024
c76dd99
Update authors in _config.yml
rickecon Jul 30, 2024
8b8039f
Merge pull request #4 from rickecon/jdebacker-doc_updates
jdebacker Jul 30, 2024
6ce5542
add figs
jdebacker Jul 30, 2024
482e9ee
fix typo
jdebacker Jul 30, 2024
621ebb8
update baseline year/quarter
jdebacker Jul 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/book/_config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
####################################################
# Book settings
title : OG-ZAF
author : Marcelo LaFleur and Richard W. Evans
copyright : '2022'
author : Marcelo LaFleur, Richard W. Evans, and Jason DeBacker
copyright : '2024'
logo : '..//OG-ZAF_logo.png'

####################################################
Expand Down Expand Up @@ -52,6 +52,7 @@ sphinx:
config : # key-value pairs to directly over-ride the Sphinx configuration
bibtex_reference_style: author_year
mathjax_path : https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
autodoc_preserve_defaults: True

####################################################
# LaTeX information
Expand Down
7 changes: 4 additions & 3 deletions docs/book/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ parts:
- file: content/api/public_api
- caption: Calibration
chapters:
- file: content/calibration/exogenous_parameters
- file: content/calibration/households
- file: content/calibration/firms
- file: content/calibration/macro
- file: content/calibration/demographics
- file: content/calibration/earnings
- file: content/calibration/tax_functions
- file: content/calibration/bequests
- file: content/calibration/taxes
- file: content/calibration/UBI
- file: content/calibration/matching_lwi
- file: content/calibration/exogenous_parameters
- caption: References
chapters:
- file: content/OGZAF_references
Expand Down
207 changes: 0 additions & 207 deletions docs/book/citations.bib
Original file line number Diff line number Diff line change
@@ -1,207 +0,0 @@
@TECHREPORT{DeBackerEtAl:2017b,
AUTHOR = {Jason DeBacker and Richard W. Evans and Evan Magnusson and Kerk L. Phillips and Shanthi Ramnath and Isaac Swift},
TITLE = {The Distributional Effects of Redistributional Tax Policy},
INSTITUTION = {Open Source Macroeconomics Laboratory},
YEAR = {2017b},
type = {mimeo},
month = {January},
}

@Article{DEP:2019,
author={Jason DeBacker and Richard W. Evans and Kerk L. Phillips},
title={{Integrating Microsimulation Models of Tax Policy into a DGE Macroeconomic Model}},
journal={Public Finance Review},
year=2019,
volume={47},
number={2},
pages={207-275},
month={March},
keywords={microsimulation; effective tax rates; marginal tax rates; dynamic general equilibrium; dynamic scori},
doi={},
abstract={This article proposes a method for integrating individual effective tax rates and marginal tax rates computed from a microsimulation (partial equilibrium) model of tax policy with a dynamic general equilibrium model of tax policy that can provide macroeconomic analysis or dynamic scores of tax reforms. Our approach captures the rich heterogeneity, realistic demographics, and tax-code detail of the microsimulation model and allows this detail to inform a general equilibrium model with a relatively high degree of heterogeneity. In addition, we propose a functional form in which tax rates depend jointly on the levels of both capital income and labor income.},
url={https://ideas.repec.org/a/sae/pubfin/v47y2019i2p207-275.html}
}

@TECHREPORT{Pomerleau2020b,
AUTHOR = {Kyle Pomerleau},
TITLE = {An analysis of Joe Biden’s tax proposals, October 2020 update},
INSTITUTION = {American Enterprise Institute},
YEAR = {2020},
type = {AEI Report},
month = {October},
url = {https://www.aei.org/research-products/report/an-analysis-of-joe-bidens-tax-proposals-october-2020-update/}
}

@TECHREPORT{DEP2020,
AUTHOR = {Jason DeBacker and Richard Evans and Kyle Pomerleau},
TITLE = {An analysis of Joe Biden’s tax proposals},
INSTITUTION = {American Enterprise Institute},
YEAR = {2020},
type = {AEI Report},
month = {June},
url = {https://www.aei.org/research-products/report/an-analysis-of-joe-bidens-tax-proposals/}
}

@Article{DeBackerFrailey:2019,
author={Jason DeBacker and Anderson Frailey},
title={Revenue and Macroeconomic Effects of a 70% Marginal Tax Rate},
journal={Quantitative Notes},
year=2019,
volume={},
number={2019-1},
pages={},
month={March},
keywords={},
doi={},
abstract={Recently, there has been considerable dis- cussion of a significant increase in the top marginal income tax rate. A salient top marginal tax rate is 70%. This note simulates the effects of a 70% top rate on different groups of filers and shows the im- pacts on revenue and macroeconomic aggregates. We find that an increase in the top marginal tax rate to 70% raises between $5 billion and $250 billion per year over the first 10 years, depending on the size of the top bracket to which this rate is applied. However, our macroeconomic simulations show that a 70% top rate lowers GDP by between 1.7% and 0.1% in the near term, although there may be posi- tive effects on GDP in the longer term.},
url={https://www.openrg.com/reports/70pctMTR_QN.pdf}
}

@Article{Evans:2018,
author={Richard W. Evans},
title={Dynamic Analysis of EITC Expansion},
journal={Quantitative Notes},
year=2018,
volume={},
number={2018-2},
pages={},
month={May},
keywords={},
doi={},
abstract={This Quantitative Note uses the OG-USA open source dynamic general equilibrium overlap- ping generations model to perform a dynamic analy- sis of the Brown-Khanna Grow American Incomes Now (GAIN) Act, which proposes to increase the generosity and scope of the earned income tax credit (EITC) in the United States. I show a simulation of the macroeconomic effects as well as distributional analysis resulting from the GAIN Act. I also sim- ulate the effects of a revenue neutral GAIN Act in which an increase in the marginal income tax rates in the top two personal income brackets exactly off- sets the reduction in total federal tax revenue from the EITC expansion. In the case of the GAIN Act alone, the economy experiences short-run gains, but the increased government debt quickly crowds out in- vestment and causes the economy to start shrinking significantly. In the revenue neutral case, the cost is primarily in terms of large labor supply frictions and a reallocation of the household labor-leisure and consumption-savings decisions.},
url={https://www.openrg.com/reports/QN_EITC_v1.1.pdf}
}

@Article{DeBackerEvans:2018,
author={Jason DeBacker and Richard W. Evans},
title={Dynamic Analysis of Tax Cuts and Jobs Act},
journal={Quantitative Notes},
year=2018,
volume={},
number={2018-1},
pages={},
month={February},
keywords={},
doi={},
abstract={This Quantitative Note uses the OG-USA open source dynamic general equilibrium overlap- ping generations model to simulate the effect of the Tax Cuts and Jobs Act. We simulate this reform under the assumptions of a closed economy and small open economy. In both cases, the TCJA reform causes significant growth in GDP and employment between 1% and 2% per year in the first 8 years. However, the increasing debt-to-GDP ratio quickly crowds out investment and causes a drag on the economy. Wage growth can range from nearly nonexistent to a mod- est 0.6%, depending critically on the assumption of how much capital will flow into the country.},
url={https://www.openrg.com/reports/QN_ogusa_TCJA.pdf}
}

@Article{Evans:2017,
author={Richard W. Evans},
title={Dynamic Analysis of Corporate Income Tax Rate Cut},
journal={Quantitative Notes},
year=2017,
volume={},
number={2017-4},
pages={},
month={November},
keywords={},
doi={},
abstract={This Quantitative Note uses the OG-USA open source dynamic general equilibrium overlap- ping generations model to simulate the effect of cut- ting the U.S. corporate income tax rate from 35% to 20%. I simulate this rate cut under the assump- tions of a closed economy and small open economy, respectively. In both cases, the corporate rate cut causes government revenues to decrease and the debt-to-GDP ratio to increase. In the small open economy scenario, GDP and wages increase by around 3.0%, and 2.5%, respectively. However, in the closed economy setting in which the increased debt service must be satisfied by domestic savings (crowding out), the GDP and wage gains are much smaller and short lived.},
url={https://www.openrg.com/reports/QN_CorpCut.pdf}
}

@TECHREPORT{DEP:2015,
AUTHOR = {Jason DeBacker and Richard W. Evans and Kerk L. Phillips},
TITLE = {Macroeconomic effects of a 10% cut in statutory marginal income tax rates on ordinary income},
INSTITUTION = {American Enterprise Institute},
YEAR = {2015},
type = {AEI Economic Policy Working Paper Series},
month = {December},
}

@Article{Ferenstein:2018,
author={Gregory Ferenstein},
title={Can The U.S. Afford A Massive Wage Subsidy? A Macroeconomic Simulation},
journal={Forbes},
year=2018,
volume={},
number={},
pages={},
month={September},
keywords={},
doi={},
abstract={},
url={https://www.forbes.com/sites/gregoryferenstein/2018/09/30/can-the-us-afford-a-massive-wage-subsidy-a-macroeconomic-simulation/#614ea9032502}
}

@TECHREPORT{MichelFurth:2017b,
AUTHOR = {Adam Michel and Salim Furth},
TITLE = {For Pro-Growth Tax Reform, Expensing Should Be the Focus},
INSTITUTION = {The Heritage Foundation},
YEAR = {2017},
type = {Taxes Report},
month = {August},
url = {https://www.heritage.org/taxes/report/pro-growth-tax-reform-expensing-should-be-the-focus}
}

@TECHREPORT{MichelFurth:2017a,
AUTHOR = {Norbert Michel and Salim Furth},
TITLE = {The Macroeconomic Impact of Dodd Frank—and of Its Repeal},
INSTITUTION = {The Heritage Foundation},
YEAR = {2017},
type = {Taxes Report},
month = {April},
url = {https://www.heritage.org/markets-and-finance/report/the-macroeconomic-impact-dodd-frank-and-its-repeal}
}

@TECHREPORT{Hassett:2015,
AUTHOR = {Kevin A. Hassett},
TITLE = {On the Dynamic Scoring of Fiscal Policy},
INSTITUTION = {},
YEAR = {2015},
type = {Congressional Testimony},
month = {July},
url = {https://www.aei.org/wp-content/uploads/2015/07/Hassett_DynamicScoring_final-00000002.pdf}
}

@TECHREPORT{Hassett:2016,
AUTHOR = {Kevin A. Hassett},
TITLE = {Statement before the House Ways and Means Committee: Reaching America’s Potential: Delivering Growth and Opportunity for All Americans},
INSTITUTION = {},
YEAR = {2016},
type = {Congressional Testimony},
month = {February},
url = {https://www.aei.org/wp-content/uploads/2016/02/KHtestimony.pdf}
}

@TECHREPORT{DEP:2021a,
AUTHOR = {Jason DeBacker and Richard W. Evans and Benjamin R. Page},
TITLE = {A Detailed Macroeconomic Analysis of President Biden's 2020 Campaign Tax Proposals},
INSTITUTION = {Tax Policy Center},
YEAR = {2021},
type = {Working Paper},
month = {July},
url = {https://www.taxpolicycenter.org/publications/detailed-macroeconomic-analysis-president-bidens-2020-campaign-tax-proposals}
}

@TECHREPORT{DEP:2021b,
AUTHOR = {Jason DeBacker and Richard W. Evans and Benjamin R. Page},
TITLE = {A Sensitivity Analysis of a Detailed Macroeconomic Analysis of President Biden's 2020 Campaign Tax Proposals},
INSTITUTION = {Tax Policy Center},
YEAR = {2021},
type = {Working Paper},
month = {July},
url = {https://www.taxpolicycenter.org/publications/sensitivity-analysis-detailed-macroeconomic-analysis-president-bidens-2020-campaign-tax}
}

@TECHREPORT{DEP:2021c,
AUTHOR = {Benjamin R. Page and Jeffrey Rohaly and Thornton Matheson and Gordon B. Mermin and Jason DeBacker and Richard W. Evans},
TITLE = {Macroeconomic Analysis of Former Vice President Biden's Tax Proposals},
INSTITUTION = {Tax Policy Center},
YEAR = {2021},
type = {Brief},
month = {July},
url = {https://www.taxpolicycenter.org/publications/macroeconomic-analysis-former-vice-president-bidens-tax-proposals}
}

@TECHREPORT{Page:2021,
AUTHOR = {Benjamin R. Page},
TITLE = {TPC Experiments with Another Model to Estimate the Economic Effects of Tax Law Changes},
INSTITUTION = {Tax Policy Center},
YEAR = {2021},
type = {TaxVox: Campaigns, Proposals, and Reforms},
month = {July},
url = {https://www.taxpolicycenter.org/taxvox/tpc-experiments-another-model-estimate-economic-effects-tax-law-changes}
}
2 changes: 1 addition & 1 deletion docs/book/content/api/calibrate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ogzaf.calibrate
.. currentmodule:: ogzaf.calibrate

.. autoclass:: Calibration
:members: get_tax_function_parameters, read_tax_func_estimate, get_dict
:members: get_dict
15 changes: 0 additions & 15 deletions docs/book/content/api/demographics.rst

This file was deleted.

13 changes: 13 additions & 0 deletions docs/book/content/api/income.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _income:

Life-cycle productivity profiles
====================================

**income.py modules**

ogzaf.income
------------------------------------------

.. automodule:: ogzaf.income
:members: arctan_func, arctan_deriv_func, arc_error,
arctan_fit, get_e_interp, get_e_orig
12 changes: 12 additions & 0 deletions docs/book/content/api/input_output.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. _input_output:

Output-Consumption Bridge
====================================

**input_output.py modules**

ogzaf.input_output
------------------------------------------

.. automodule:: ogzaf.input_output
:members: get_alpha_c, get_io_matrix
4 changes: 3 additions & 1 deletion docs/book/content/api/public_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ There is also a link to the source code for each documented member.
:maxdepth: 1

calibrate
demographics
income
input_output
macro_params
utils
17 changes: 17 additions & 0 deletions docs/book/content/api/utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. _utils:

Calibration Utilities
====================================

**utils.py modules**

ogzaf.utils
------------------------------------------

.. currentmodule:: ogzaf.utils

.. autoclass:: CustomHttpAdapter
:members: init_poolmanager

.. automodule:: ogzaf.utils
:members: get_legacy_session
8 changes: 0 additions & 8 deletions docs/book/content/calibration/bequests.md

This file was deleted.

Loading
Loading