PolicyEngine / PolicyEngine/policyengine-us

Add intermediate variables for labor supply responses

Open
#4,542 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
162
Forks
212
Avg merge
3d 3h
Merged PRs (30d)
96

Description

For example I'd suggest we create new variables `is_primary_earner_in_tax_unit` and `earnings_decile` from these:
https://github.com/PolicyEngine/policyengine-us/blob/55178d8e923f289b2c52b32187554585a3484e1f/policyengine_us/variables/gov/simulation/labor_supply_response/labor_supply_response.py#L142-L148

We can also modularize the hours worked and earnings effects by creating variables like `relative_substitution_effect` and `relative_income_effect`, then multiplying these by baseline hours and earnings, respectively. We're currently duplicating code between the hours and earnings responses.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.