-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathdynamic_input_form.html
209 lines (171 loc) · 19.6 KB
/
dynamic_input_form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{% extends 'taxbrain/input_base.html' %}
{% load staticfiles %}
{% load flatblocks %}
{% block content %}
<div class="wrapper">
<div id="affix-offset">
<nav class="logobar" role="navigation">
<a class="logobar-brand" href="/">
<img alt="TaxBrain: A disruptive open source platform for exploring tax policy impact" src="{% static 'images/logo-no-icon.png' %}">
</a>
</nav>
<section class="taxbrain-hero">
<div class="taxbrain-hero-block">
<div class="logo">
<h2 class="sr-only">TaxBrain</h2>
<img src="{% static 'images/taxbrain/logo-taxbrain-altbeta.png' %}" alt="TaxBrain" class="img-responsive">
</div>
<a href="#get-started" class="btn btn-primary btn-explore">Start Exploring</a>
<div class="what-is">
<a class="collapsed" data-toggle="collapse" href="#taxbrainInfo" aria-expanded="false" aria-controls="taxbrainInfo">What is TaxBrain?</a>
</div>
</div>
</section>
<section class="taxbrain-info collapse" id="taxbrainInfo">
<div class="container">
<div class="taxbrain-history">
<h2>About TaxBrain</h2>
<p>TaxBrain is an interface to <a href = "//www.github.com/open-source-economics" target="_blank">open source economic models</a> for tax policy analysis. <a href = '//www.github.com/opensourcepolicycenter/webapp-public' target="_blank">The code</a> for the TaxBrain webapp interface is itself open source. </p>
<ul>
<li> <strong>Step 1.</strong> Create a policy reform by modifying tax law parameters such as rates and deductions, adjust the economic baseline, and request the static result. You can do so with the graphical user interface below or by uploading a policy reform file <a href = "//www.ospc.org/taxbrain/file" target="_blank">from this page</a>.</li>
<li><strong>Step 2.</strong> Review your static output carefully. Ask questions.</li>
<li><strong>Step 3.</strong> Choose a dynamic modeling approach. Because different approaches generally lead to different estimates, you may want to compare several approaches.</li>
<li><strong>Step 4.</strong> Adjust economic assumptions and request the dynamic analysis.</li>
<li><strong>Step 5.</strong> Review your dynamic output carefully. Ask questions.</li>
<li><strong>Step 6.</strong> Share your results! The link to every results page is static and will never change. Send them around.</li>
</ul>
<p> Throughout this process, if you have a question about how to use TaxBrain or interpret the results, if you want to make a suggestion for making the interface or underlying models better, or if you discover a bug, please send a message to our mailing list, which you can join at <a href = '//list.ospc.org/mailman/listinfo/users_list.ospc.org' target="_blank">list.ospc.org/mailman/listinfo/users_list.ospc.org</a>.</p>
<p><strong>Disclaimer</strong>
<p>Proper use of this tool and description of that use is ultimately your responsibility. If you plan on publishing your results, I highly recommend that you confirm with the community that you are using the tools properly and interpreting the results correctly before you publish them. If you have a compelling reason not to leave a public note on the mailing list, email me at [email protected].</p>
<p>Results will change as the underlying models improve. A fundamental reason for adopting open source methods in this project is to let people from all backgrounds contribute to the models that our society uses to assess economic policy; when community-contributed improvements are incorporated, the models will produce different results.</p>
<p>Neither the Open Source Policy Center nor the American Enterprise Institute maintain institutional positions, and the results from models accessible via the TaxBrain interface should not be attributed directly to OSPC or AEI. A suggested acknowledgement is, "We thank AEI for making TaxBrain available, but we bear sole responsibility for the use of the models and any conclusions drawn."</p>
<p><strong> - Matt Jensen, managing director and founder of the Open Source Policy Center </strong></p>
<hr>
<h1>Static modeling (Step 1)</h1>
<p> Static tax analysis entails computing individuals' tax changes under the assumption that behavior does not change in response to tax policy. Static analyses are useful for understanding the mechanistic effects of tax policy changes, and they form the basis to which behavior is applied for dynamic analyses.
<p>TaxBrain's static modeling capabilities rely on several open source economic models and other packages:</p>
<ul>
<li> <a href = "//www.github.com/open-source-economics/tax-calculator" target="_blank">Tax-Calculator</a> computes federal individual income taxes and Federal Insurance Contribution Act(FICA) taxes for a sample of tax filing units in years beginning with 2013 .</li>
<li><a href = '//www.github.com/open-source-economics/taxdata' target="_blank">TaxData</a> creates a microdataset that closely reproduces the multivariate distribution of income, deduction and credit items in 2009, extrapolated to 2015-2026 levels in accordance with Congressional Budget Office forecasts available in spring 2016. It is intended to match similar but confidential data used by the Congressional Joint Committee on Taxation. The underlying dataset must be purchased from the Statistics of Income division of the Internal Revenue Service. Additional information on non-filers is taken from the March 2013 Current Population Survey. </li>
<li> DropQ implements a disclosure avoidance algorithm initially proposed by the U.S. Census Bureau to protect confidential data from differencing attacks. The code is undergoing security review before it is open sourced.</li>
<li> <a href = '//www.github.com/opensourcepolicycenter/webapp-public' target="_blank">TaxBrain</a> itself is an open source project. The underlying models are deployed to TaxBrain using conda, a free and open source package management system supported by <a href = '//www.continuum.io' target="_blank">Continuum Analytics</a></li>
</ul>
<p><strong>Transparency and Replicability</strong></p>
<p>In addition to relying on open source models, we are devoted to making it easy for reviewers to understand the models even if they can't understand the source code or don't have access to the underlying data. Toward that end we produce several additional reports to enhance transparency, peer review, collaboration and a scientific advancement.</p>
<p>Note that these reports currently rely on the latest versions of tax-calculator and TaxData, which might not correspond perfectly to TaxBrain.</p>
<ul>
<li><a href = "https://github.com/open-source-economics/Tax-Calculator/blob/master/taxcalc/comparison/reform_results.txt" target = "_blank">Federal income tax and FICA liability deltas for example reforms</a></li>
<li>Dummy datasets and associated Tax-Calculator results (Coming soon)</li>
<li><a href = "https://github.com/open-source-economics/Tax-Calculator/blob/master/taxcalc/comparison/variable_stats_summary.csv">Basic summary statistics for variables used in Tax-Calculator and major intermediate results (2013-2026) </a></li>Currently only weighted mean is available, more statistics will be added shortly.
<li><a href = "https://github.com/open-source-economics/Tax-Calculator/blob/master/taxcalc/comparison/correlation.csv" target= "_blank">Correlation matrix for the same set of variables</a> 2016 available now, other years coming soon.</li>
<li>Extrapolation related: <br>
<a href = "https://github.com/open-source-economics/taxdata/blob/master/Stage%20II/Stage_I_factors.csv" target= "_blank">Blow-up factors</a><br>
<a href = "https://github.com/open-source-economics/taxdata/blob/master/Stage%20II/Stage_II_targets.csv" target= "_blank">Aggregate and distributional targets</a></li>
<li>Equations and coefficients for imputations (Coming soon)</li>
</ul>
<p><strong>Accuracy notes</strong></p>
<p>The Python code that performs the tax calculations has been validated in a
number of ways. First, Tax-Calculator results for a number of tax filing
units have been compared to hand calculations performed using IRS tax
forms. Second, Tax-Calculator results for a large sample of tax filing units
have been compared to results for the same sample generated by a
<a href = '//www.nber.org/taxcalc' target="_blank">detailed SAS program</a> developed by Dan
Feenberg and Ina Shapiro of NBER. Third, a subset of input variables has been used to compare the results of Tax-Calculator to <a href = '//users.nber.org/~taxsim' target="_blank">Internet TAXSIM</a> as well as against the Policy Simulation Group's <a href = '//www.polsim.com/inctax-caps.html' target="_blank">PENSIM tax module</a></p>
<p> Bugs aside, the results from TaxBrain might differ in comparison to those produced by Congress or the Administration for other reasons. Modeling requires many assumptions, and neither Congress nor the executive branch publicize all of their assumptions. For example, the distribution of wages in <a href = '//www.github.com/open-source-economics/taxdata' target="_blank">TaxData</a> is assumed to stay the same in real terms for all years after the last year we have available data (2013). We know that Congress assumes this distribution changes over time, but it doesn't publish by how much. These assumptions are all flexible in <a href = '//www.github.com/open-source-economics/taxdata' target="_blank">TaxData</a>, so please conduct sensitivity analyses. Other assumptions can be made flexible in TaxBrain based on user requests.</p>
<p><strong>
Core Maintainers (static modeling)*:
<ul style = "list-style-type:none">
<li>- <a href = "https://github.com/talumbau" target = "blank" >T.J. Alumbaugh, Continuum Analytics</a></li>
<li>- <a href = "http://www.nber.org/people/daniel_feenberg" target = "blank" >Dan Feenberg, National Bureau of Economic Research</a></li>
<li>- <a href = "http://www.polsim.com/MRH_vita.pdf" target = "blank" >Martin Holmer, Policy Simulation Group</a></li>
<li>- <a href = "https://www.aei.org/scholar/matthew-h-jensen/" target = "blank" >Matt Jensen, American Enterprise Institute</a></li>
<li>- <a href = "http://quantria.com/#team" target = "blank" >John O'Hare, Quantria Strategies</a></li>
<li>- <a href = "https://github.com/Amy-Xu" target = "blank" >Amy Xu, American Enterprise Institute</a></li>
</ul>
</strong></p>
<p> These members have "write access" to one or both of the core static modeling repositories, Tax-Calculator and TaxData, and work as a team to determine which open source contributions are accepted.</p>
</div>
<div class="taxbrain-build">
<h2>PolicyBrain Code Build</h2>
<p><a href="https://github.com/OpenSourcePolicyCenter/webapp-public/tree/v{{webapp_version}}">Version {{ webapp_version }} - GitHub</a></p>
</div>
<div class="taxbrain-build">
<h2>OG-USA Code Build</h2>
<p><a href="https://github.com/open-source-economics/OG-USA/tree/{{ogusa_version}}">Version {{ ogusa_version }} - GitHub</a></p>
</div>
<div class="taxbrain-build">
<h2>Tax-Calculator Code Build</h2>
<p><a href="https://github.com/open-source-economics/Tax-Calculator/tree/{{taxcalc_version}}">Version {{ taxcalc_version }} - GitHub</a></p>
</div>
</div>
</section>
<form class="inputs-form" method="post" action="/dynamic/ogusa/{{pk}}/?start_year={{start_year}}">
{% csrf_token %}
<div class="container">
<div class="row">
<div class="col-xs-3">
<div class="inputs-sidebar" data-spy="affix" data-offset-top="320" data-offset-bottom="245">
<ul class="nav sidebar-nav">
<li class="get-started"><a href="#get-started">Get Started</a></li>
<li><a href="#dynamic-sim">Macroeconomic Parameters</a></li>
</ul>
<div class="sidebar-button">
<a href="#" ></a>
<input id="tax-submit" class="btn btn-secondary btn-block btn-animate {{ is_disabled }}" {{ is_disabled }} type="submit" value="Start Dynamic Simulation!">
<div class="construction text-center">
<div class="progress progress-striped" style="width: 100%">
<div class="progress-bar active progress-bar-custom" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 100%"></div>
</div>
</div>
</div>
</div> <!-- sidebar -->
</div>
<div class="col-xs-9">
<div class="inputs-main">
{% for error in form.non_field_errors %}
<div class="alert alert-danger text-center lert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
{{ error }}
</div>
{% endfor %}
<div id="get-started" class="inputs-block inputs-block-intro">
<div class="inputs-block-header">
<h1>Get Started</h1>
<p><strong>Caution: this model is highly preliminary!</p></strong>
<p>OG-USA is an open source economic dynamic general equilibrium model intended to evaluate U.S. tax policy. The model code and detailed documentation is available at <a href = "http://www.github.com/open-source-economics/OG-USA." target= "_blank">http://www.github.com/open-source-economics/OG-USA.</a></p>
<p>OG-USA is an overlapping-generations model comprised of households, perfectly competitive firms, and a government with a balanced budget requirement. Firms make a static profit maximization decision in which they rent capital and hire labor to maximize profits given a Cobb-Douglas production function. The government levies taxes on individuals and makes lump sum transfers to individuals according to a balanced budget constraint. In the version deployed through TaxBrain, the model is scaled-down to have a single, representative household for each generation and simple tax functions. A detailed description of the model is available <a href = "https://github.com/open-source-economics/OG-USA/blob/master/Model Writeup/OGUSA_TaxBrain_version.pdf" target="blank"> here.</a></p>
<p>It is important to note a few caveats for OG-USA and the results available on TaxBrain:</p>
<ol>
<li>This is an initial release and there are almost certainly bugs to be worked out. If you see anything that doesn’t make sense, please let us know by sending a message to the mailing list, which you can join at <a href = "list.ospc.org/mailman/listinfo/users_list.ospc.org" target = "blank"> list.ospc.org/mailman/listinfo/users_list.ospc.org.</a></li>
<li>Solving the model requires that it attain a steady state. One implication of this requirement is that the government’s budget constraint must be satisfied in the long run. Therefore, the model must specify how tax cuts are financed. The assumptions about how the budget is closed have substantial impact on the predictions of the model (see Table 2 of this JCT document). In OG-USA, we specify a very simple government that contemporaneously redistributes all revenues in a lump-sum manner. Tax cuts are financed by reducing these transfers. Users should recognize that this assumption tends to provide an upper bound on the macroeconomic benefits of tax cuts, as other possible financing methods for tax cuts tend to yield smaller benefits. We are in the process of allowing users to alter the financing assumption.</li>
<li>Because there is a representative household for each cohort, OG-USA cannot currently evaluate the distributional effects of tax policy within a cohort (although one could do intergenerational distributional analysis in this framework). We are in the process of adding heterogeneous households in each cohort.</li>
<li>The production side of the model is very simplified. It does not allow the user to evaluate business taxation or interactions between personal and business taxation. We are in the process of expanding the production side of the model to allow for the evaluation of business taxation. </li>
<li>The results are for a specific set of parameters values, which are outlined in our <a href = "https://github.com/open-source-economics/OG-USA/blob/master/Model Writeup/OGUSA_TaxBrain_version.pdf" target="blank">detailed documentation.</a> While we have tried to make reasonable parameterizations based on empirical analysis, some users might disagree with these values. The ability to modify parameters through the web application is limited, but users who wish to consider adjustments may download the source code and do so.</li>
</ol>
<p>OG-USA interacts with Tax-Calculator, an open source economic microsimulation model available at <a href = "www.github.com/open-source-economics/tax-calculator" target= "blank"> www.github.com/open-source-economics/tax-calculator</a>. It does so in the following way. The user enters changes to the individual income tax code he wishes to evaluate via the TaxBrain interface. These tax policy parameters are then used to recompute marginal and effective tax rates for individuals in the microdata underlying Tax-Calculator. These marginal and effective tax rates are then use to estimate marginal and effective tax rates faced by the households in OG-USA, thereby determining how model households respond to changes in tax policy.</p>
<p><strong>How to cite</strong></p>
<p>These results were generated with the community developed and open source economic model OG-USA, accessed via version xx.xx.xx of TaxBrain, an interface hosted by AEI's Open Source Policy Center. The exact simulation modeled here is available at www.ospc.org/taxbrain/dynamic/results/NNNNNN. The results are solely the responsibility of the author.</p>
<p><strong>
Project Maintainers (OG-USA modeling)*:
<ul style = "list-style-type:none">
<li>- <a href = "http://mtweb.mtsu.edu/jdebacker/" target = "blank" >Jason DeBacker**</a></li>
<li>- <a href = "https://sites.google.com/site/rickecon/" target = "blank" >Rick Evans**</a></li>
</ul>
</strong></p>
<p>*These members review open source contributions for the OG-USA modeling effort.
<p>**The contact information for Professors DeBacker and Evans will be updated in the coming months to reflect their new positions at the University of South Carolina and University of Chicago, respectively.</p>
<div>
You are looking at default parameters for {{start_year}}.
</div>
</div>
</div>
{% include 'dynamic/includes/params/inputs/dynamic.html' %}
</div> <!-- main -->
</div>
</div>
</div>
</form> <!-- form -->
</div> <!-- /wrapper -->
{% endblock %}