-
-
Notifications
You must be signed in to change notification settings - Fork 159
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 row for those with zero income to distribution and difference tables #1917
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1917 +/- ##
======================================
Coverage 100% 100%
======================================
Files 38 38
Lines 3605 3605
======================================
Hits 3605 3605
Continue to review full report at Codecov.
|
@martinholmer PR #1917 looks good to me. I think updating PolicyBrain to use this new table format should be straightforward. What do you think about changing the order of the data to:
|
@martinholmer that order just seemed more intuitive to me. However, I don't have any strong opinions on the order of the list. |
@hdoupe said:
I don't like that ordering because when I move down the table rows adding up the numbers in a column and I reach the Does this make sense? Maybe I'm missing something. What makes putting the "footnote" rows before the |
@martinholmer Ok, now that makes sense. Thanks for explaining the rationale. I was thinking that it was strange to have 'ALL' in a place other than the end. However, I agree with your reasoning. |
An alternative could be indenting the "footnote" rows and placing them between 90-100 and TOTAL, but that would require making labels left-aligned instead of center-aligned. |
Over at ospc-org/ospc.org#846 I asked about how PolicyBrain users will understand the meaning of "0-10n, 0-10z, 0-10p." I realize now that this same question applies to Tax-Calculator users and probably belongs here. It would be nice to have a solution that doesn't require a footnote or a link. One solution would be to replace "0-10n, 0-10z, 0-10p" with "0-10: <$0", "0-10: $0", "0-10: >$0" suggested by @hdoupe. I am somewhat more fond of "0-10neg, 0-10zero, 0-10pos." Note that 0-10zero is two more characters than 90-100, the second longest row label, so there is some cost to the additional clarity. @martinholmer, what do you think about this? Any other options? Do you think uses will automatically get what the n z and p mean? |
@MattHJensen asked in the discussion of #1917:
Yes I think users will understand this immediately. In the distribution table, it is obvious that the sum of |
@hdoupe said in PolicyBrain pull request 846:
|
Ok. I'm happy to leave it as is and wait to see if we get any questions. |
@martinholmer said
I disagree. I have not followed the conversation that brought these changes which probably gives me a similar perspective to regular PolicyBrain users. I didn't realize what they meant until @MaxGhenis suggested labeling them "0-10: <$0", "0-10: $0", "0-10: >$0". A few extra characters seems like a cheap way to eliminate the extra step of reasoning required for one to add up the income in each bin and deduce the meanings of the each respective letter. |
@hdoupe said:
TaxBrain is free to change the row labels however it wants. |
This is contrary to the way we would like to organize the projects. We would like TaxBrain to display what is in Tax-Calculator, so that PolicyBrain maintainers aren't responsible for understanding all of the content of the models. Where the rubber really meets the road, I suppose, is that TaxBrain user questions about these tables are going to be directed to the Tax-Calculator project. |
On Wed, 14 Mar 2018, Martin Holmer wrote:
@MattHJensen asked in the discussion of #1917:
what do you think about this? Any other options? Do you think uses will
automatically get what the n, z and p mean?
Yes I think users will understand this immediately. In the distribution table, it is
obvious that the sum of expanded_income is negative on the row labeled 0-10n, is zero
on the row labeled 0-10z, and positive on the row labeled 0-10p. I can't imagine a
user who actually reads the table would be confused.
I am confused. What are the upper and lower bounds of each catgory? Why
does each category weem to start with 0? Do the categories overlap?
dan
…
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the
thread.[AHvQVaGKO7JdIohUU15KT8AOnhDx9Qcjks5teWiKgaJpZM4Sl5zK.gif]
|
@feenberg This breaks out the bottom decile into three MECE groups based on baseline income: negative, zero, and positive. Copying my suggestion from ospc-org/ospc.org#846 (comment) for posterity (even if not used, may be helpful for others to understand):
|
On Thu, 15 Mar 2018, Max Ghenis wrote:
What are the upper and lower bounds of each catgory? Why does each
category weem to start with 0?
Do the categories overlap?
@feenberg This breaks out the bottom decile into three MECE groups based on baseline
income: negative, zero, and positive. Copying my suggestion from
ospc-org/ospc.org#846 (comment) for posterity (even if not used, may
be helpful for others to understand):
0-10
<$0
$0
>$0
Why not use:
-10-0
0
0-10
or
-10-(-1)
0
1-10
or
-10->0
0
0-10
Otherwise zero income appears to be included in each of the 3 brackets.
dan
|
@feenberg these are percentiles which cannot be negative. The only reference to dollar amounts is the three MECE groups {<$0, $0, >$0}. |
Earlier I asked about updating 0-10n, 0-10z, 0-10p. In retrospect, I think that it would have been a better discussion for a follow on PR. This PR is obviously an improvement over master, so why let tertiary details slow it down? Everything else looks great, so I am merging this. Thanks very much @martinholmer and everyone else for their review and comments. |
This pull request adds a new row for filing units with zero income (either
expanded_income
orc00100
AGI depending on the table specified) to the distribution and difference tables. After this change, the bottom decile is split into three subgroups: those with negative, zero, and positive income. This idea was first suggested in the discussion of pull request #1902 by @MaxGhenis, who said this:The negative and zero subgroups are not "excluded" but they are show along with those in the bottom decile with positive income. This approach allows users of Tax-Calculator to decide for themselves how they want to handle the different subgroups of the bottom income decile. And it also presents all the sample information, so that parts of the table add up to the totals in the table.
Here is a script that illustrates the new tables results using a reform that introduces a tax-exempt UBI of $10K per person:
Here are the results of that script when using CPS input data:
And here are the results of that script when using PUF input data: