-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Use new growfactors.csv file to implement single-target extrapolation of benefits #2041
Use new growfactors.csv file to implement single-target extrapolation of benefits #2041
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2041 +/- ##
==========================================
- Coverage 99.97% 99.97% -0.01%
==========================================
Files 16 16
Lines 3588 3555 -33
==========================================
- Hits 3587 3554 -33
Misses 1 1
Continue to review full report at Codecov.
|
Tax-Calculator pull request #2041 is ready for review as is the related taxdata pull request 271. |
@martinholmer Just to clarify, if a user wants to make changes to the the benefit parameters, then this PR will not require them to change the way they use Tax-Calculator unless they want to supply their own growfactors for the benefits. Is that correct? |
@hdoupe asked:
Not sure I understand what you mean by "make changes to the benefit parameters." But it is true that "this PR will not require them to change the way they use Tax-Calculator unless they want to supply their own growfactors for the benefits." You question points out something that hadn't occurred to me: there was no way for a user to change the benefit extrapolation assumptions before this pull request; now there is a way (revise the benefit growfactors using the |
@martinholmer Sorry for not being clear. By "make changes to the benefits parameters", I was referring to updating them via the Thanks for clarifying. Everything looks good to me in #2041. |
@hdoupe said:
Are there any benefit-related policy parameters? |
|
Sure, I'm glad I could help. |
@hdoupe, Yes you are correct that the benefit repeal parameters are policy parameters. |
Great, thanks @martinholmer |
This pull request changes Tax-Calculator logic to use the new
growfactors.csv
file generated by taxdata pull request 271. These changes are part of a series of changes in the taxdata and Tax-Calculator repositories that will simplify the benefit extrapolation logic. The reasons for undertaking this simplification have been discussed in taxdata pull request 252.In this pull request we change the benefit extrapolation logic to be the same as the extrapolation logic for the
other_ben
, social security, unemployment insurance, and all other dollar-denominated Tax-Calculator input variables. That logic is to assume that in each future year the sample filing units with a zero variable value continue to have a zero value and the sample filing units with a positive variable value continue to have a positive value, which is equal to the prior year's value multiplied by a growth factor (from thegrowfactor.csv
file). This means the unweighted count of filing units that have a positive variable value is unchanged from year to year. However, the sampling weights (from the???_weights.csv.gz
files) change from year to year, so that the weighted count of filing units that have a positive variable value does change from year to year.This pull request also adds the benefit growfactors to the
growdiff.json
file and to thegrowdiff.py
code, so that now benefit extrapolation assumptions can be changed by users using a JSON assumption file, which is not something that users could do before this pull request.@MattHJensen @Amy-Xu @andersonfrailey @hdoupe