Commit b7f4f85
Add voluntary tax filer assignment (#513)
* Add voluntary tax filer assignment
SOI data shows many low-AGI filers who file taxes voluntarily even when
not required and not receiving a refund. This affects calibration accuracy
when comparing CPS-based filer counts to SOI totals.
Add would_file_taxes_voluntarily variable at tax_unit level with ~5%
probability, using seeded RNG for reproducibility. This enables
policyengine-us to incorporate voluntary filing behavior in its
tax_unit_is_filer variable.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Improve voluntary tax filer logic with refund-seeking behavior
Replace simple 5% voluntary filing rate with more nuanced approach:
1. Add would_file_for_refund variable that identifies tax units taking
up EITC (95% of EITC takers are assumed to know they'll get a refund)
2. Apply voluntary filing rate (3%) only to those NOT already filing
for a refund, to avoid double-counting
This better models the actual filing decision process where refundable
credit recipients have a clear financial incentive to file, while others
may file for state requirements, documentation, or habit.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Simplify voluntary filer logic and add filer count calibration targets
Voluntary filer changes (cps.py):
- Remove redundant would_file_for_refund variable since takes_up_eitc
already captures refund-seeking behavior
- Simplify to single would_file_taxes_voluntarily variable that applies
only to tax units NOT taking up EITC
- Use 5% voluntary filing rate for non-EITC takers
Calibration target changes (loss.py):
- Add SOI Table 1.1 filer counts by AGI band as calibration targets
- Covers 7 bands: <$0, $0-5k, $5k-10k, $10k-25k, $25k-50k, $50k-100k, $100k+
- Includes all filers (not just taxable returns) to properly calibrate
low-income filer counts which are important for distribution accuracy
- Uprates 2015 SOI counts to current year using population growth
This consolidates PR #514 into PR #513.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add changelog entry
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 749d985 commit b7f4f85
3 files changed
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
292 | 303 | | |
293 | 304 | | |
294 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
342 | 375 | | |
343 | 376 | | |
344 | 377 | | |
| |||
0 commit comments