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

Add top-decile detail and new statistic to difference table #1605

Merged
merged 17 commits into from
Oct 31, 2017
Merged

Add top-decile detail and new statistic to difference table #1605

merged 17 commits into from
Oct 31, 2017

Conversation

martinholmer
Copy link
Collaborator

@martinholmer martinholmer commented Oct 24, 2017

This pull request is built on pull request #1602, which added two new statistics (expanded income and after-tax expanded income) to the distribution table.

This pull request adds a new statistic (percentage change in after-tax expanded income) to the difference table and also adds top-decile details when the create_difference_table function is called with groupby=weighted_deciles. These changes will be helpful in developing graphs like those discussed in issue #1592.

This pull request also converts the data type of the percentage columns in the difference table from str to float.

@codecov-io
Copy link

codecov-io commented Oct 24, 2017

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1605   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          37      37           
  Lines        2767    2786   +19     
======================================
+ Hits         2767    2786   +19
Impacted Files Coverage Δ
taxcalc/utils.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 27a6e32...935c64d. Read the comment docs.

@MattHJensen
Copy link
Contributor

Looks great! Thanks @martinholmer.

@martinholmer martinholmer merged commit a2cd056 into PSLmodels:master Oct 31, 2017
@martinholmer martinholmer deleted the top-decile-detail branch October 31, 2017 11:13
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.

3 participants