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

Fix minor bugs associated with the new _SS_Earnings_thd policy parameter #2267

Merged
merged 3 commits into from
Mar 20, 2019
Merged

Fix minor bugs associated with the new _SS_Earnings_thd policy parameter #2267

merged 3 commits into from
Mar 20, 2019

Conversation

martinholmer
Copy link
Collaborator

@martinholmer martinholmer commented Mar 19, 2019

Recently we added a new policy parameter, called _SS_Earnings_thd, to enable characterization of OASDI payroll tax reforms that tax earnings above a threshold (as well as tax earnings under a ceiling, as under current law). Examples, of this kind of reform are the Larson reform and the Sanders-DeFazio reform.

The code before this pull request produces correct estimates of those reforms' effect on payroll tax liabilities because those reforms propose that the _SS_Earnings_thd parameter is not indexed (that is, it is fixed in nominal terms). However, users of Tax-Calculator might want to specify a reform that made this parameter be indexed. This pull request indexes the _SS_Earnings_thd parameter using wages (not prices as for the income tax parameters), just as the _SS_Earnings_c parameter is wage indexed. The SSA Office of the Chief Actuary's analyses of these the reforms confirms that, if indexed, this parameter would be wage (not price) indexed.

The code before this pull request produces incorrect MTRs on earnings for high-earnings individuals under these reforms when the Calculator.mtr method is called with its wrt_full_compensation argument equal to True, which is its default value. Again, this bug would only affect MTR values (not payroll tax liabilities) for a few high-earners under these kinds of reforms.

@codecov
Copy link

codecov bot commented Mar 19, 2019

Codecov Report

Merging #2267 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2267   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          12      12           
  Lines        2995    2998    +3     
======================================
+ Hits         2995    2998    +3
Impacted Files Coverage Δ
taxcalc/calculator.py 100% <100%> (ø) ⬆️
taxcalc/parameters.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2f55ed...3b40c54. Read the comment docs.

@codecov
Copy link

codecov bot commented Mar 19, 2019

Codecov Report

Merging #2267 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2267   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          12      12           
  Lines        2995    2997    +2     
======================================
+ Hits         2995    2997    +2
Impacted Files Coverage Δ
taxcalc/calculator.py 100% <100%> (ø) ⬆️
taxcalc/parameters.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2f55ed...e35f04b. Read the comment docs.

@martinholmer martinholmer merged commit 1ede080 into PSLmodels:master Mar 20, 2019
@martinholmer martinholmer deleted the payroll-taxes branch March 20, 2019 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant