You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add liquid asset imputation from SIPP
Imputes three asset categories from SIPP 2023 using QRF:
- bank_account_assets (TVAL_BANK): checking, savings, money market
- stock_assets (TVAL_STMF): stocks and mutual funds
- bond_assets (TVAL_BOND): bonds and government securities
This enables modeling of SSI and other means-tested programs that
have asset tests. PolicyEngine-US defines which assets count for
each program (e.g., ssi_countable_resources = bank + stocks + bonds).
Tests verify imputed totals match Fed data (~$15-20T in liquid assets)
and distribution is realistic (~20% have <$2k).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove SSI resource test placeholder
The random pass rate assignment for meets_ssi_resource_test is no longer
needed now that liquid assets are imputed from SIPP. The SSI resource
test will be calculated from actual imputed assets in policyengine-us.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add SSI takeup rate and draw
- Add ssi.yaml parameter with 50% takeup rate (Urban Institute estimate)
- Add takes_up_ssi_if_eligible draw in CPS processing
- Remove old ssi_pass_rate.yaml (replaced by proper takeup)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix asset imputation by adding is_female, is_married to calculation
The Microsimulation DataFrame needs these columns explicitly calculated.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix is_married entity mismatch by using raw CPS data
is_married in policyengine-us is defined at Family entity level, but
imputation models need person-level marital status. Get it directly
from raw CPS A_MARITL variable instead of calculate_dataframe.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Drop temporary imputation columns before saving
is_married, is_under_18, is_under_6 are only needed for imputation
models. is_married in policyengine-us is Family-level, so we can't
save a person-level version to the dataset.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix test to use ssi takeup rate instead of ssi_pass_rate
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Skip asset tests if policyengine-us variables unavailable
The bank_account_assets, stock_assets, and bond_assets variables were
added to policyengine-us but aren't yet on PyPI. Add skip condition
so tests pass until the next policyengine-us release.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments