Skip to content

Commit d8afcf2

Browse files
authored
Merge pull request #265 from PolicyEngine/ssn-impute-new
Enhance SSN undocumented type imputation
2 parents 9fec236 + b2f97f5 commit d8afcf2

File tree

8 files changed

+1178
-32
lines changed

8 files changed

+1178
-32
lines changed

changelog_entry.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- bump: minor
2+
changes:
3+
added:
4+
- SSN card type imputation algorithm.
5+
- Family correlation adjustment to align parent-child SSN status.

docs/SSN_statuses_imputation.ipynb

Lines changed: 311 additions & 0 deletions
Large diffs are not rendered by default.

docs/_toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
format: jb-book
22
root: intro
33
chapters:
4+
- file: SSN_statuses_imputation.ipynb
45
- file: validation.ipynb
56
- file: results.ipynb
67
- file: imputation.ipynb

policyengine_us_data/datasets/cps/census_cps.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,5 +302,24 @@ class CensusCPS_2018(CensusCPS):
302302
"PRCITSHP",
303303
"NOW_GRP",
304304
"POCCU2",
305+
"PEINUSYR",
306+
"MCARE",
307+
"PEN_SC1",
308+
"PEN_SC2",
309+
"RESNSS1",
310+
"RESNSS2",
311+
"IHSFLG",
312+
"CAID",
313+
"CHAMPVA",
314+
"PEIO1COW",
315+
"A_MJOCC",
316+
"SS_YN",
317+
"PEAFEVER",
318+
"SSI_YN",
319+
"RESNSSI1",
320+
"RESNSSI2",
321+
"PENATVTY",
322+
"PEIOOCC",
323+
"MIL",
305324
"A_HRS1",
306325
]

0 commit comments

Comments
 (0)