Skip to content

Add UK wealth-decile outputs to economic impact analysis #357

@anth-volk

Description

@anth-volk

Summary

Add UK wealth-decile impact outputs to economic_impact_analysis so callers can inspect household net income impacts grouped by household_wealth_decile.

Desired behavior

  • calculate_decile_impacts(...) should support a precomputed decile grouping variable while still measuring changes in the requested income variable.
  • UK economic_impact_analysis(...) should return:
    • wealth_decile_impacts
    • intra_wealth_decile_impacts
  • These outputs should use income_variable="household_net_income" grouped by decile_variable="household_wealth_decile".
  • Documentation should describe the new public helper argument and UK-only analysis fields.

Notes

The simulation API adapter work is intentionally separate. Downstream API response keys such as wealth_decile and intra_wealth_decile can be mapped from these .py analysis fields in a later PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions