PolicyEngine / policyengine-api

PolicyEngine's REST API for computing policy impacts.
GNU Affero General Public License v3.0
10 stars 21 forks source link

Compute top-level net income impacts (for decile chart) independently of deciles #142

Open MaxGhenis opened 1 year ago

MaxGhenis commented 1 year ago

Currently these are averaged across deciles, which results in some reforms having different directional impacts between relative and absolute, e.g. this.

Let's instead compute these as total aggregates, i.e.

Then we should change the client to read:

nikhilwoodruff commented 1 year ago

Fixed by #199 (mostly on the client side)

MaxGhenis commented 1 year ago

Reopening as a Twitter thread raised a question of how this is computed. For instance, the average of deciles is $250 here, not $201. Is that because deciles are weighted to equal population, making the average across deciles differ from the total average? If so, should we consider changing to per-person?

image