Align SSI takeup and disability flags to CPS-reported receipt#607
Open
Align SSI takeup and disability flags to CPS-reported receipt#607
Conversation
People who report receiving SSI in the CPS were getting $0 SSI in PE because (a) random takeup excluded them, and (b) some lacked CPS disability flags needed for eligibility. This adds two fixes in add_takeup(): 1. Sets takes_up_ssi_if_eligible=True for SSI reporters, with an adjusted random draw for non-reporters to hit the 50% target rate 2. Sets is_disabled=True for SSI reporters under 65 (SSI requires aged OR disabled/blind, so under-65 recipients must be disabled) Together these reduce the simulated poverty rate by ~0.6pp. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
takes_up_ssi_if_eligible = Truefor CPS respondents who report receiving SSI (ssi_reported > 0), guaranteeing PE's takeup model doesn't randomly exclude actual recipients. Non-reporters get an adjusted random draw to hit the 50% overall takeup rate (Urban Institute estimate).is_disabled = Truefor SSI reporters under 65. SSI eligibility requires aged (65+) OR disabled/blind, so under-65 recipients must be disabled. CPS disability flags (PEDIS*columns) miss some of these people.Problem
PE computes SSI eligibility from rules, then randomly assigns takeup. This means ~54% of CPS respondents who report receiving SSI get $0 SSI in PE because:
This inflates PE's simulated poverty rate by ~0.6pp.
Approach
Both fixes are applied in
add_takeup()afterssi_reported,is_disabled, andageare all loaded into the dataset. This follows the same pattern used for SNAP reporter prioritization.Test plan
make formatpasses