@@ -16,22 +16,26 @@ <h1 id="top">Using Behavioral-Responses</h1>
1616
1717< p > This document tells you how to use Behavioral-Responses, an
1818open-source model in the Policy Simulation Library (PSL) collection of
19- USA tax models. It assumes that you have already read the
20- < a href ="https://github.com/PSLmodels/Behavioral-Responses#behavioral-responses ">
21- documentation introduction</ a > . You always use Behavioral-Responses
22- in conjunction with the latest version of
23- < a href ="https://PSLmodels.github.io/Tax-Calculator/ ">
19+ USA tax models, the < b > lastest release</ b > of which is:
20+ < a href ="https://github.com/PSLmodels/Behavioral-Responses/blob/master/RELEASES.md#2019-05-13-release-080 "
21+ target ="_blank "> 0.8.0 (2019-05-13)</ a > .</ p >
22+
23+ < p > This documentation assumes that you have already read the
24+ < a href ="https://github.com/PSLmodels/Behavioral-Responses#behavioral-responses "
25+ target ="_blank "> documentation introduction</ a > .
26+ You always use Behavioral-Responses in conjunction with the latest version
27+ of < a href ="https://PSLmodels.github.io/Tax-Calculator/ " target ="_blank ">
2428Tax-Calculator</ a > , the static-analysis model in the PSL collection of
2529USA tax models, by writing and executing a Python program. For an
2630introduction to writing Python programs using Tax-Calculator, read the
2731tested recipes in our
28- < a href ="https://PSLmodels.github.io/Tax-Calculator/cookbook.html ">
29- Tax-Calculator cookbook</ a > . If you want to participate in the
30- development of Behavioral-Responses — by asking a question,
31- reporting a bug, improving the documentation or making an enhancement
32- to the Python source code — you should go to
33- the < a href ="https://github.com/PSLmodels/Behavioral-Responses ">
34- developer website</ a > .</ p >
32+ < a href ="https://PSLmodels.github.io/Tax-Calculator/cookbook.html "
33+ target =" _blank " > Tax-Calculator cookbook</ a > . If you want to
34+ participate in the development of Behavioral-Responses — by
35+ asking a question, reporting a bug, improving the documentation or
36+ making an enhancement to the Python source code — you should go
37+ to the < a href ="https://github.com/PSLmodels/Behavioral-Responses "
38+ target =" _blank " > developer website</ a > .</ p >
3539
3640< p > Please cite the source of your analysis as < q > Behavioral-Responses
3741release #.#.#, author's calculations.</ q > If you wish to link to
@@ -45,8 +49,8 @@ <h3 id="paramlogic">Response Parameters and Logic</h3>
4549
4650< p > The Behavioral-Responses elasticity parameters and logic are
4751described in the
48- < a href ="https://github.com/PSLmodels/Behavioral-Responses/blob/master/behresp/behavior.py ">
49- behavior.py</ a > file, where the < kbd > response</ kbd > function
52+ < a href ="https://github.com/PSLmodels/Behavioral-Responses/blob/master/behresp/behavior.py "
53+ target =" _blank " > behavior.py</ a > file, where the < kbd > response</ kbd > function
5054elasticities are defined in its docstring and the logic of how those
5155elasticities are used along with Tax-Calculator results is defined in the
5256higher-level < kbd > response</ kbd > function. The lower-level
@@ -56,11 +60,12 @@ <h3 id="paramlogic">Response Parameters and Logic</h3>
5660< h3 id ="pyrecipe "> Basic Python Recipe</ h3 >
5761
5862< p > A tested recipe for using the Behavioral-Responses parameters and
59- < kbd > response</ kbd > function is contained in recipe 2 of the
60- < a href ="https://PSLmodels.github.io/Tax-Calculator/cookbook.html ">
61- Tax-Calculator cookbook</ a > and in the < kbd > test_response_function</ kbd > in the
62- < a href ="https://github.com/PSLmodels/Behavioral-Responses/blob/master/behresp/tests/test_behavior.py ">
63- test_behavior.py</ a > file.</ p >
63+ < kbd > response</ kbd > function is contained in Tax-Calculator Python Cookbook
64+ < a href ="https://PSLmodels.github.io/Tax-Calculator/cookbook.html#recipe02 "
65+ target ="_blank "> recipe 2</ a > and
66+ in the < kbd > test_response_function</ kbd > in the
67+ < a href ="https://github.com/PSLmodels/Behavioral-Responses/blob/master/behresp/tests/test_behavior.py "
68+ target ="_blank "> test_behavior.py</ a > file.</ p >
6469
6570< p > Notice that when writing a program like this you must import both
6671the < kbd > taxcalc</ kbd > package (to access Tax-Calculator) and
@@ -83,14 +88,15 @@ <h3 id="pyrecipe">Basic Python Recipe</h3>
8388parameters apply to all filing units. If you want to estimate
8489responses where the value of the elasticity parameters vary across
8590(say, earnings) groups, you can use the < kbd > quantity_response</ kbd >
86- function. A recipe for doing this is contained in recipe 4 of the
87- < a href ="https://PSLmodels.github.io/Tax-Calculator/cookbook.html ">
88- Tax-Calculator cookbook</ a > . That recipe simply estimates the
89- responses. But the techniques used in the Behavioral-Responses
90- < kbd > response</ kbd > function can be used to apply the estimated
91- responses to the post-reform Tax-Calculator object and recompute
92- tax liabilities, producing tax liability estimates that include the
93- partial-equilibrium effects of the estimated behavioral responses.
91+ function. A recipe for doing this is contained in
92+ < a href ="https://PSLmodels.github.io/Tax-Calculator/cookbook.html#recipe04 "
93+ target ="_blank "> recipe 4</ a > of the Tax-Calculator Python Cookbook.
94+ That recipe simply estimates the responses. But the techniques used
95+ in the Behavioral-Responses < kbd > response</ kbd > function can be used
96+ to apply the estimated responses to the post-reform Tax-Calculator
97+ object and recompute tax liabilities, producing tax liability
98+ estimates that include the partial-equilibrium effects of the
99+ estimated behavioral responses.</ p >
94100
95101</ body >
96102</ html >
0 commit comments