Skip to content

Commit

Permalink
Merge pull request #2151 from martinholmer/0-23-3
Browse files Browse the repository at this point in the history
Update documentation, CHANGES, RELEASES info for release 0.23.3
  • Loading branch information
martinholmer committed Dec 4, 2018
2 parents 1af7844 + 91e4fd8 commit bf60e76
Show file tree
Hide file tree
Showing 22 changed files with 385 additions and 352 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ TAX-CALCULATOR CHANGE HISTORY
=============================


Changes in release 0.23.3 on 2018-12-05
---------------------------------------

- Fix minor error in calculation of AMT for those in the 18 to 23 age range. This changes estimated aggregate income tax liability in 2018 by only 0.06 percent.


Changes in release 0.23.2 on 2018-11-22
---------------------------------------

Expand Down
28 changes: 28 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,34 @@ Go [here](https://github.com/open-source-economics/Tax-Calculator/pulls?q=is%3Ap
for a complete commit history.


2018-12-05 Release 0.23.3
-------------------------
(last merged pull request is
[#2150](https://github.com/open-source-economics/Tax-Calculator/pull/2150))

**API Changes**
- None

**New Features**
- Revise taxcalc/validation/taxsim logic to work with new TAXSIM version 27
[[#2140](https://github.com/open-source-economics/Tax-Calculator/pull/2140)
by Martin Holmer]
- Use `tc --dump` in validation work, which allows removal of `simtax.py` and it class and tests
[[#2142](https://github.com/open-source-economics/Tax-Calculator/pull/2142)
by Martin Holmer]
- Add test to Makefile that detects previously undetected bugs in `calcfunctions.py`
[[#2144](https://github.com/open-source-economics/Tax-Calculator/pull/2144)
by Martin Holmer]
- Eliminate Tax-Calculator dependency on the `toolz` package
[[#2148](https://github.com/open-source-economics/Tax-Calculator/pull/2148)
by Martin Holmer]

**Bug Fixes**
- Change the age range for those using the special child AMT-exemption rules
[[#2141](https://github.com/open-source-economics/Tax-Calculator/pull/2141)
by Martin Holmer]


2018-11-22 Release 0.23.2
-------------------------
(last merged pull request is
Expand Down
Binary file modified docs/atr.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/cookbook.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1 id="toc">Cookbook of Tested Recipes for Python Programming with
<p>This document tells you how to use Tax-Calculator, an open-source
federal income and payroll tax simulation model, in Python scripts
that you can run on your own computer. Note that these recipes
require Tax-Calculator release 0.23.2 or higher running on Python 3.6.
require Tax-Calculator release 0.23.3 or higher running on Python 3.6.
For other ways of using Tax-Calculator, see the
<a href="https://open-source-economics.github.io/Tax-Calculator/">
user documentation</a>, which this Cookbook assumes you have read.</p>
Expand Down
114 changes: 58 additions & 56 deletions docs/cookbook/recipe00.res
Original file line number Diff line number Diff line change
Expand Up @@ -57,91 +57,93 @@ Policy Reform Parameter Values by Year:
and above tax bracket 6.
baseline_value: 0.37

2020_CLP_itax_rev($B)= 1413.428
2020_REF_itax_rev($B)= 1410.783
2020_CLP_itax_rev($B)= 1413.016
2020_REF_itax_rev($B)= 1410.350

CLP diagnostic table:
2020
Returns (#m) 167.510
AGI ($b) 11946.468
Itemizers (#m) 31.030
Itemized Deduction ($b) 872.795
Standard Deduction Filers (#m) 136.480
Standard Deduction ($b) 2438.381
Itemizers (#m) 31.010
Itemized Deduction ($b) 872.625
Standard Deduction Filers (#m) 136.500
Standard Deduction ($b) 2438.664
Personal Exemption ($b) 0.000
Taxable Income ($b) 9126.239
Regular Tax ($b) 1574.257
AMT Income ($b) 11332.086
AMT Liability ($b) 1.827
AMT Filers (#m) 0.420
Tax before Credits ($b) 1576.084
Taxable Income ($b) 9126.134
Regular Tax ($b) 1574.241
AMT Income ($b) 11332.221
AMT Liability ($b) 1.424
AMT Filers (#m) 0.270
Tax before Credits ($b) 1575.665
Refundable Credits ($b) 78.598
Nonrefundable Credits ($b) 93.685
Nonrefundable Credits ($b) 93.678
Reform Surtaxes ($b) 0.000
Other Taxes ($b) 9.627
Ind Income Tax ($b) 1413.428
Ind Income Tax ($b) 1413.016
Payroll Taxes ($b) 1316.606
Combined Liability ($b) 2730.034
With Income Tax <= 0 (#m) 60.370
Combined Liability ($b) 2729.622
With Income Tax <= 0 (#m) 60.380
With Combined Tax <= 0 (#m) 39.230

REF diagnostic table:
2020
Returns (#m) 167.510
AGI ($b) 11946.468
Itemizers (#m) 30.950
Itemized Deduction ($b) 870.479
Standard Deduction Filers (#m) 136.560
Standard Deduction ($b) 2439.801
Itemizers (#m) 30.930
Itemized Deduction ($b) 870.301
Standard Deduction Filers (#m) 136.580
Standard Deduction ($b) 2440.094
Personal Exemption ($b) 327.446
Taxable Income ($b) 8879.741
Regular Tax ($b) 1569.188
AMT Income ($b) 11334.037
AMT Liability ($b) 1.785
AMT Filers (#m) 0.420
Tax before Credits ($b) 1570.973
Taxable Income ($b) 8879.640
Regular Tax ($b) 1569.174
AMT Income ($b) 11334.178
AMT Liability ($b) 1.359
AMT Filers (#m) 0.270
Tax before Credits ($b) 1570.532
Refundable Credits ($b) 81.346
Nonrefundable Credits ($b) 88.471
Nonrefundable Credits ($b) 88.463
Reform Surtaxes ($b) 0.000
Other Taxes ($b) 9.627
Ind Income Tax ($b) 1410.783
Ind Income Tax ($b) 1410.350
Payroll Taxes ($b) 1316.606
Combined Liability ($b) 2727.388
With Income Tax <= 0 (#m) 62.570
With Combined Tax <= 0 (#m) 39.560
Combined Liability ($b) 2726.956
With Income Tax <= 0 (#m) 62.590
With Combined Tax <= 0 (#m) 39.570

Extract of 2020 distribution table by baseline expanded-income decile:
funits(#m) itax1($b) itax2($b) aftertax_inc1($b) aftertax_inc2($b)
0-10n 0.00 0.000 0.000 0.000 0.000
0-10z 0.00 0.000 0.000 0.000 0.000
0-10p 16.75 -4.245 -4.611 162.909 163.274
10-20 16.75 -1.719 -2.795 413.273 414.349
20-30 16.75 3.487 2.255 551.395 552.627
30-40 16.75 9.901 8.217 679.030 680.715
40-50 16.75 18.877 16.549 836.851 839.180
50-60 16.75 32.449 29.390 1028.479 1031.538
60-70 16.75 61.434 57.505 1263.591 1267.519
70-80 16.75 106.685 101.378 1583.962 1589.269
80-90 16.75 213.758 205.507 2108.727 2116.977
90-100 16.75 972.801 997.387 4309.799 4285.212
ALL 167.51 1413.428 1410.783 12938.017 12940.662
90-95 8.38 214.466 210.146 1438.220 1442.539
95-99 6.70 327.052 326.021 1668.488 1669.519
0-10p 16.75 -4.253 -4.619 162.917 163.283
10-20 16.75 -1.739 -2.816 413.293 414.370
20-30 16.75 3.460 2.226 551.423 552.656
30-40 16.75 9.875 8.189 679.057 680.743
40-50 16.75 18.822 16.491 836.906 839.237
50-60 16.75 32.389 29.325 1028.539 1031.603
60-70 16.75 61.360 57.428 1263.665 1267.597
70-80 16.75 106.617 101.306 1584.030 1589.341
80-90 16.75 213.707 205.455 2108.778 2117.029
90-100 16.75 972.778 997.364 4309.821 4285.236
ALL 167.51 1413.016 1410.350 12938.428 12941.095
90-95 8.38 214.444 210.125 1438.241 1442.561
95-99 6.70 327.051 326.019 1668.489 1669.520
Top 1% 1.68 431.283 461.220 1203.091 1173.155

Extract of 2020 income-tax difference table by expanded-income decile:
funits(#m) agg_diff($b) mean_diff($) aftertaxinc_diff(%)
0-10n 0.00 0.000 0.0 NaN
0-10z 0.00 0.000 0.0 NaN
0-10p 16.75 -0.365 -21.8 0.2
10-20 16.75 -1.076 -64.2 0.3
20-30 16.75 -1.232 -73.5 0.2
30-40 16.75 -1.685 -100.6 0.2
40-50 16.75 -2.329 -139.0 0.3
50-60 16.75 -3.059 -182.6 0.3
60-70 16.75 -3.928 -234.5 0.3
70-80 16.75 -5.307 -316.8 0.3
80-90 16.75 -8.250 -492.5 0.4
90-100 16.75 24.586 1467.7 -0.6
ALL 167.51 -2.645 -15.8 0.0
90-95 8.38 -4.319 -515.7 0.3
0-10p 16.75 -0.366 -21.8 0.2
10-20 16.75 -1.077 -64.3 0.3
20-30 16.75 -1.233 -73.6 0.2
30-40 16.75 -1.686 -100.7 0.2
40-50 16.75 -2.331 -139.1 0.3
50-60 16.75 -3.064 -182.9 0.3
60-70 16.75 -3.932 -234.7 0.3
70-80 16.75 -5.311 -317.0 0.3
80-90 16.75 -8.252 -492.6 0.4
90-100 16.75 24.585 1467.7 -0.6
ALL 167.51 -2.667 -15.9 0.0
90-95 8.38 -4.320 -515.7 0.3
95-99 6.70 -1.031 -153.9 0.1
Top 1% 1.68 29.936 17871.0 -2.5
28 changes: 14 additions & 14 deletions docs/cookbook/recipe01.res
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ You loaded data for 2014.
Your data include the following unused variables that will be ignored:
filer
Tax-Calculator startup automatically extrapolated your data to 2014.
2018_REFORM1_iitax_rev($B)= 1422.082
2018_REFORM2_iitax_rev($B)= 1267.362
2018_REFORM1_iitax_rev($B)= 1421.831
2018_REFORM2_iitax_rev($B)= 1266.990

Extract of 2018 income-tax difference table by expanded-income decile
(taxfall is count of funits with cut in income tax in reform 2 vs 1)
(taxrise is count of funits with rise in income tax in reform 2 vs 1)
funits(#m) taxfall(#m) taxrise(#m) agg_diff($b) mean_diff($) aftertax_income_diff(%)
0-10n 0.00 0.000 0.000 0.000 0.0 NaN
0-10z 0.00 0.000 0.000 0.000 0.0 NaN
0-10p 16.29 0.005 0.002 -0.665 -40.8 0.4
10-20 16.29 0.009 0.002 -2.051 -125.9 0.5
20-30 16.29 0.009 0.001 -3.626 -222.6 0.7
30-40 16.29 0.010 0.002 -5.413 -332.4 0.9
40-50 16.29 0.011 0.002 -7.028 -431.5 0.9
50-60 16.29 0.011 0.002 -8.351 -512.8 0.9
60-70 16.29 0.012 0.002 -11.005 -675.7 1.0
70-80 16.29 0.013 0.002 -15.719 -965.2 1.1
80-90 16.29 0.014 0.002 -23.423 -1438.3 1.2
90-100 16.29 0.015 0.002 -77.439 -4754.6 2.0
ALL 162.86 0.108 0.018 -154.720 -950.0 1.3
90-95 8.14 0.007 0.001 -18.236 -2239.3 1.4
0-10p 16.29 0.005 0.002 -0.664 -40.8 0.4
10-20 16.29 0.009 0.002 -2.054 -126.1 0.5
20-30 16.29 0.009 0.001 -3.629 -222.8 0.7
30-40 16.29 0.010 0.002 -5.415 -332.5 0.9
40-50 16.29 0.011 0.002 -7.041 -432.3 0.9
50-60 16.29 0.011 0.002 -8.375 -514.2 0.9
60-70 16.29 0.012 0.002 -11.031 -677.3 1.0
70-80 16.29 0.013 0.002 -15.739 -966.4 1.1
80-90 16.29 0.014 0.002 -23.443 -1439.5 1.2
90-100 16.29 0.015 0.002 -77.451 -4755.4 2.0
ALL 162.86 0.108 0.017 -154.841 -950.7 1.3
90-95 8.14 0.007 0.001 -18.247 -2240.8 1.4
95-99 6.51 0.006 0.001 -35.134 -5393.9 2.4
Top 1% 1.63 0.001 0.000 -24.069 -14766.8 2.3

0 comments on commit bf60e76

Please sign in to comment.