66Run projections using ` run_household_projection.py ` :
77
88``` bash
9- # Recommended: GREG with all three constraint types
10- python run_household_projection.py 2100 --greg --use-ss --use-payroll --save-h5
9+ # Recommended: GREG with all constraint types
10+ python run_household_projection.py 2100 --greg --use-ss --use-payroll --use-tob -- save-h5
1111
1212# IPF with only age distribution constraints (faster, less accurate)
1313python run_household_projection.py 2050
@@ -21,6 +21,7 @@ python run_household_projection.py 2100 --greg --use-ss
2121- ` --greg ` : Use GREG calibration instead of IPF
2222- ` --use-ss ` : Include Social Security benefit totals as calibration target (requires ` --greg ` )
2323- ` --use-payroll ` : Include taxable payroll totals as calibration target (requires ` --greg ` )
24+ - ` --use-tob ` : Include TOB (Taxation of Benefits) revenue as calibration target (requires ` --greg ` )
2425- ` --save-h5 ` : Save year-specific .h5 files to ` ./projected_datasets/ ` directory
2526
2627** Estimated runtime:** ~ 2 minutes/year without ` --save-h5 ` , ~ 3 minutes/year with ` --save-h5 `
@@ -36,7 +37,7 @@ python run_household_projection.py 2100 --greg --use-ss
3637
3738** GREG (Generalized Regression Estimator)**
3839- Solves for weights matching multiple constraints simultaneously
39- - Can enforce age distribution + Social Security benefits + taxable payroll
40+ - Can enforce age distribution + Social Security benefits + taxable payroll + TOB revenue
4041- One-shot solution using ` samplics ` package
4142- ** Recommended** for accurate long-term projections
4243
@@ -57,17 +58,29 @@ python run_household_projection.py 2100 --greg --use-ss
5758 - Calculated as: ` taxable_earnings_for_social_security ` + ` social_security_taxable_self_employment_income `
5859 - Source: SSA Trustee Report 2024 (` social_security_aux.csv ` )
5960
61+ 4 . ** TOB Revenue** (` --use-tob ` , GREG only)
62+ - Taxation of Benefits revenue for OASDI and Medicare HI trust funds
63+ - OASDI: ` tob_revenue_oasdi ` (tier 1 taxation, 0-50% of benefits)
64+ - HI: ` tob_revenue_medicare_hi ` (tier 2 taxation, 50-85% of benefits)
65+ - Source: SSA Trustee Report 2024 (` social_security_aux.csv ` )
66+
6067---
6168
6269### Data Sources
6370
64- All data from ** SSA 2024 Trustee Report** :
71+ ** SSA 2025 OASDI Trustees Report**
72+ - URL: https://www.ssa.gov/OACT/TR/2025/
73+ - File: ` SingleYearTRTables_TR2025.xlsx `
74+ - Tables: IV.B2 (OASDI TOB % of taxable payroll), VI.G6 (taxable payroll in billions), VI.G9 (OASDI costs)
6575
66- - ` SSPopJul_TR2024.csv ` - Population projections 2025-2100 by single year of age
67- - ` social_security_aux.csv ` - OASDI costs and taxable payroll projections 2025-2100
68- - Extracted from ` SingleYearTRTables_TR2025.xlsx ` Table VI.G9 using ` extract_ssa_costs.py `
76+ ** CMS 2025 Medicare Trustees Report**
77+ - URL: https://www.cms.gov/data-research/statistics-trends-and-reports/trustees-report-trust-funds
78+ - File: ` tr2025-tables-figures.zip ` → CSV folder → "Medicare Sources of Non-Interest Income..."
79+ - Column: Tax on Benefits (values in millions, 2024-2099)
6980
70- Files located in: ` policyengine_us_data/storage/ `
81+ ** Local files** (in ` policyengine_us_data/storage/ ` ):
82+ - ` SSPopJul_TR2024.csv ` - Population projections 2025-2100 by single year of age
83+ - ` social_security_aux.csv ` - OASDI costs, taxable payroll, and TOB revenue projections 2025-2100
7184
7285---
7386
0 commit comments