Commit dcd05b2
Add capital income predictors to asset imputation QRF (#546)
* Add capital income predictors to SIPP asset imputation
The QRF model for imputing liquid assets (bank accounts, stocks, bonds)
previously used only employment_income, age, demographics. This adds
interest_income, dividend_income, and rental_income as predictors,
which are strongly correlated with asset holdings and available in
both SIPP (TINC_BANK, TINC_STMF, TINC_BOND, TINC_RENT) and CPS.
Updated in three places to keep them consistent:
- sipp.py (standalone model training)
- cps.py (CPS variable extraction)
- source_impute.py (calibration-time imputation)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add changelog entry
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Retrigger CI
* Retrigger CI (2)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: baogorek@gmail.com <baogorek@gmail.com>1 parent b401d2b commit dcd05b2
3 files changed
Lines changed: 55 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
469 | 472 | | |
470 | 473 | | |
471 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
472 | 479 | | |
473 | 480 | | |
474 | 481 | | |
| |||
484 | 491 | | |
485 | 492 | | |
486 | 493 | | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
487 | 499 | | |
488 | 500 | | |
489 | 501 | | |
| |||
495 | 507 | | |
496 | 508 | | |
497 | 509 | | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
498 | 513 | | |
499 | 514 | | |
500 | 515 | | |
| |||
518 | 533 | | |
519 | 534 | | |
520 | 535 | | |
521 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
522 | 544 | | |
523 | 545 | | |
524 | 546 | | |
| |||
537 | 559 | | |
538 | 560 | | |
539 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
540 | 574 | | |
541 | 575 | | |
542 | 576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1750 | 1750 | | |
1751 | 1751 | | |
1752 | 1752 | | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
1753 | 1756 | | |
1754 | 1757 | | |
1755 | 1758 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
155 | 160 | | |
156 | 161 | | |
157 | 162 | | |
| |||
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
199 | 210 | | |
200 | 211 | | |
201 | 212 | | |
| |||
206 | 217 | | |
207 | 218 | | |
208 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
209 | 223 | | |
210 | 224 | | |
211 | 225 | | |
| |||
235 | 249 | | |
236 | 250 | | |
237 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
238 | 255 | | |
239 | 256 | | |
240 | 257 | | |
| |||
0 commit comments