Skip to content

Commit

Permalink
Merge pull request #1944 from martinholmer/0-18-0
Browse files Browse the repository at this point in the history
Prepare for release 0.18.0
  • Loading branch information
martinholmer authored Mar 30, 2018
2 parents 6a656ce + 860802f commit 3de0f4f
Show file tree
Hide file tree
Showing 12 changed files with 276 additions and 255 deletions.
21 changes: 21 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ Go [here](https://github.com/open-source-economics/Tax-Calculator/pulls?q=is%3Ap
for a complete commit history.


2018-03-30 Release 0.18.0
-------------------------
(last merged pull request is
[#1942](https://github.com/open-source-economics/Tax-Calculator/pull/1942))

**API Changes**
- Remove obsolete `_DependentCredit_c` policy parameter and fix dependent credit phase-out logic
[[#1937](https://github.com/open-source-economics/Tax-Calculator/pull/1937)
by Martin Holmer]

**New Features**
- Add memory management logic to reduce memory usage
[[#1942](https://github.com/open-source-economics/Tax-Calculator/pull/1942)
by Martin Holmer]

**Bug Fixes**
- Replace monthly housing benefits with annual housing benefits in CPS data
[[#1941](https://github.com/open-source-economics/Tax-Calculator/pull/1941)
by Anderson Frailey]


2018-03-16 Release 0.17.0
-------------------------
(last merged pull request is
Expand Down
Binary file modified docs/atr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 60 additions & 60 deletions docs/cookbook/recipe00.res
Original file line number Diff line number Diff line change
Expand Up @@ -55,93 +55,93 @@ Policy Reform Parameter Values by Year:
and above tax bracket 6.
baseline_value: 0.37

2020_CLP_itax_rev($B)= 1273.46
2020_REF_itax_rev($B)= 1264.41
2020_CLP_itax_rev($B)= 1273.15
2020_REF_itax_rev($B)= 1264.11

CLP diagnostic table:
2020
Returns (#m) 174.51
AGI ($b) 11,622.13
AGI ($b) 11,621.97
Itemizers (#m) 30.84
Itemized Deduction ($b) 869.65
Standard Deduction Filers (#m) 125.05
Standard Deduction ($b) 2,241.58
Itemized Deduction ($b) 869.46
Standard Deduction Filers (#m) 124.86
Standard Deduction ($b) 2,238.71
Personal Exemption ($b) 0.00
Taxable Income ($b) 8,775.49
Regular Tax ($b) 1,462.46
AMT Income ($b) 11,010.47
AMT Liability ($b) 1.88
Taxable Income ($b) 8,775.43
Regular Tax ($b) 1,462.45
AMT Income ($b) 11,010.43
AMT Liability ($b) 1.87
AMT Filers (#m) 0.46
Tax before Credits ($b) 1,464.33
Tax before Credits ($b) 1,464.32
Refundable Credits ($b) 97.22
Nonrefundable Credits ($b) 102.82
Nonrefundable Credits ($b) 103.11
Reform Surtaxes ($b) 0.00
Other Taxes ($b) 9.16
Ind Income Tax ($b) 1,273.46
Payroll Taxes ($b) 1,300.25
Combined Liability ($b) 2,573.71
Ind Income Tax ($b) 1,273.15
Payroll Taxes ($b) 1,300.24
Combined Liability ($b) 2,573.39
With Income Tax <= 0 (#m) 71.19
With Combined Tax <= 0 (#m) 46.02

REF diagnostic table:
2020
Returns (#m) 174.51
AGI ($b) 11,622.13
Itemizers (#m) 30.77
Itemized Deduction ($b) 867.42
Standard Deduction Filers (#m) 125.13
Standard Deduction ($b) 2,242.97
Personal Exemption ($b) 303.38
Taxable Income ($b) 8,531.46
Regular Tax ($b) 1,451.15
AMT Income ($b) 11,012.35
AGI ($b) 11,621.97
Itemizers (#m) 30.76
Itemized Deduction ($b) 867.24
Standard Deduction Filers (#m) 124.93
Standard Deduction ($b) 2,240.08
Personal Exemption ($b) 303.11
Taxable Income ($b) 8,531.41
Regular Tax ($b) 1,451.14
AMT Income ($b) 11,012.31
AMT Liability ($b) 1.85
AMT Filers (#m) 0.47
Tax before Credits ($b) 1,453.00
Refundable Credits ($b) 100.11
Nonrefundable Credits ($b) 97.64
Tax before Credits ($b) 1,452.99
Refundable Credits ($b) 100.12
Nonrefundable Credits ($b) 97.93
Reform Surtaxes ($b) 0.00
Other Taxes ($b) 9.16
Ind Income Tax ($b) 1,264.41
Payroll Taxes ($b) 1,300.25
Combined Liability ($b) 2,564.66
Ind Income Tax ($b) 1,264.11
Payroll Taxes ($b) 1,300.24
Combined Liability ($b) 2,564.35
With Income Tax <= 0 (#m) 73.35
With Combined Tax <= 0 (#m) 46.36

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.09 0.18 0.19 -25.62 -25.63
0-10z 1.25 0.00 0.00 0.00 0.00
0-10p 16.10 -8.18 -8.18 105.39 105.39
10-20 17.45 -15.10 -15.68 329.18 329.76
20-30 17.45 -11.53 -12.62 477.87 478.96
30-40 17.45 -0.76 -2.34 619.94 621.52
40-50 17.45 13.75 11.46 784.26 786.56
50-60 17.45 38.29 34.70 986.44 990.03
60-70 17.45 71.95 67.63 1,251.48 1,255.80
70-80 17.45 117.10 111.71 1,608.38 1,613.77
80-90 17.45 211.83 203.51 2,155.37 2,163.69
90-100 17.45 855.91 874.03 4,320.46 4,302.34
ALL 174.51 1,273.46 1,264.41 12,613.14 12,622.19
90-95 8.73 190.71 186.30 1,461.26 1,465.67
95-99 6.98 287.12 285.42 1,699.42 1,701.11
Top 1% 1.75 378.07 402.30 1,159.78 1,135.55
0-10n 0.09 0.18 0.19 -25.54 -25.54
0-10z 1.26 0.00 0.00 0.00 0.00
0-10p 16.10 -8.48 -8.48 108.07 108.07
10-20 17.45 -14.89 -15.49 334.60 335.20
20-30 17.45 -11.14 -12.24 482.84 483.94
30-40 17.45 -0.42 -2.01 624.66 626.25
40-50 17.45 13.93 11.63 788.96 791.26
50-60 17.45 38.24 34.66 990.30 993.88
60-70 17.45 71.75 67.44 1,254.75 1,259.05
70-80 17.45 117.00 111.61 1,610.79 1,616.18
80-90 17.45 211.55 203.24 2,157.52 2,165.83
90-100 17.45 855.42 873.55 4,322.37 4,304.24
ALL 174.51 1,273.15 1,264.11 12,649.32 12,658.36
90-95 8.73 190.58 186.17 1,462.16 1,466.57
95-99 6.98 286.88 285.18 1,700.04 1,701.73
Top 1% 1.75 377.96 402.19 1,160.17 1,135.94

Extract of 2020 income-tax difference table by expanded-income decile:
funits(#m) agg_diff($b) mean_diff($) aftertaxinc_diff(%)
0-10n 0.09 0.01 94.10 0.03
0-10z 1.25 0.00 0.00 nan
0-10p 16.10 -0.00 -0.06 0.00
10-20 17.45 -0.58 -32.95 0.17
20-30 17.45 -1.09 -62.62 0.23
30-40 17.45 -1.58 -90.59 0.26
40-50 17.45 -2.30 -131.52 0.29
50-60 17.45 -3.59 -205.76 0.36
60-70 17.45 -4.32 -247.61 0.35
70-80 17.45 -5.39 -308.90 0.34
80-90 17.45 -8.33 -477.06 0.39
90-100 17.45 18.12 1,038.18 -0.42
0-10z 1.26 0.00 0.00 nan
0-10p 16.10 -0.00 -0.21 0.00
10-20 17.45 -0.60 -34.32 0.18
20-30 17.45 -1.10 -63.23 0.23
30-40 17.45 -1.59 -91.08 0.25
40-50 17.45 -2.30 -131.63 0.29
50-60 17.45 -3.58 -205.09 0.36
60-70 17.45 -4.31 -246.86 0.34
70-80 17.45 -5.39 -309.00 0.33
80-90 17.45 -8.31 -476.02 0.39
90-100 17.45 18.12 1,038.51 -0.42
ALL 174.51 -9.05 -51.84 0.07
90-95 8.73 -4.41 -505.61 0.30
95-99 6.98 -1.70 -243.23 0.10
Top 1% 1.75 24.23 13,882.68 -2.09
90-95 8.73 -4.41 -505.10 0.30
95-99 6.98 -1.70 -242.96 0.10
Top 1% 1.75 24.23 13,879.03 -2.09
48 changes: 24 additions & 24 deletions docs/cookbook/recipe01.res
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,43 @@ WARNING: Tax-Calculator packages for Python 2.7 will
because Pandas is stopping development for 2.7.
SOLUTION: upgrade to Python 3.6 now.
2018_REFORM1_iitax_rev($B)= 1278.3
2018_REFORM2_iitax_rev($B)= 1129.6
2018_REFORM2_iitax_rev($B)= 1129.3

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($) \
0-10n 0.09 0.00 0.00 0.17 1,839.44
0-10n 0.09 0.00 0.00 0.17 1,839.43
0-10z 1.23 0.00 0.00 0.00 0.00
0-10p 15.67 2.97 1.06 -0.28 -18.13
10-20 16.99 8.07 1.73 -1.85 -108.82
20-30 16.99 9.53 1.45 -3.93 -231.56
30-40 16.99 10.49 1.68 -6.08 -357.82
40-50 16.99 11.46 1.75 -8.18 -481.23
50-60 16.99 11.87 2.11 -9.88 -581.46
60-70 16.99 12.48 2.10 -12.18 -716.72
70-80 16.99 13.58 1.67 -16.90 -994.61
80-90 16.99 13.41 2.31 -21.93 -1,290.53
90-100 16.99 14.50 1.70 -67.66 -3,982.18
ALL 169.89 108.36 17.56 -148.69 -875.20
90-95 8.49 7.11 0.91 -16.98 -1,999.42
95-99 6.80 5.93 0.59 -29.04 -4,273.65
Top 1% 1.70 1.46 0.21 -21.63 -12,729.83
0-10p 15.66 3.13 1.08 -0.32 -20.21
10-20 16.99 8.10 1.72 -1.90 -111.74
20-30 16.99 9.53 1.47 -3.98 -234.38
30-40 16.99 10.45 1.69 -6.08 -357.87
40-50 16.99 11.44 1.72 -8.20 -482.38
50-60 16.99 11.79 2.13 -9.77 -575.24
60-70 16.99 12.48 2.07 -12.21 -718.75
70-80 16.99 13.55 1.67 -16.87 -992.88
80-90 16.99 13.40 2.31 -21.92 -1,289.98
90-100 16.99 14.49 1.70 -67.89 -3,995.72
ALL 169.89 108.37 17.56 -148.96 -876.79
90-95 8.49 7.10 0.90 -16.99 -2,000.23
95-99 6.80 5.93 0.59 -29.11 -4,283.11
Top 1% 1.70 1.46 0.21 -21.79 -12,822.52

aftertax_income_diff(%)
0-10n 0.70
0-10z nan
0-10p 0.30
0-10p 0.32
10-20 0.62
20-30 0.90
30-40 1.08
40-50 1.15
50-60 1.10
20-30 0.91
30-40 1.07
40-50 1.14
50-60 1.09
60-70 1.07
70-80 1.16
70-80 1.15
80-90 1.12
90-100 1.74
90-100 1.75
ALL 1.30
90-95 1.28
95-99 1.90
Top 1% 2.11
Top 1% 2.13
Loading

0 comments on commit 3de0f4f

Please sign in to comment.