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

Run all calculations at the SPM unit level first, then map to person #20

Closed
MaxGhenis opened this issue Jan 2, 2021 · 0 comments
Closed

Comments

@MaxGhenis
Copy link
Contributor

MaxGhenis commented Jan 2, 2021

Suggested flow:

  1. Remove taxes and transfers from SPM units, tallying up the total revenue from doing so
  2. Add UBIs to SPM units based on revenue and total population
  3. Calculate poverty gap by SPM unit
  4. Map down change in SPM resources to the person level
  5. Calculate poverty rate (by demographic) and share better off at the person level

See e.g. this will produce the incorrect result since taxes are by person but liabilities affect the full SPM unit:

us-calc/funding.py

Lines 238 to 240 in 36e9e34

if 'income_taxes' in taxes:
funding -= (target_persons.fedtaxac * target_persons.asecwt).sum()
target_persons.new_spm_resources += target_persons.fedtaxac

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

No branches or pull requests

2 participants