Closed JackLandry closed 1 year ago
When fixing the issue pointed out in #2663, I find that the output from the R code above matches Table 1 of the linked CBPP doc:
eitc MARS EIC e00200
<dbl> <dbl> <dbl> <dbl>
1 3733 2 1 15000
2 3733 2 1 25000
3 2336. 2 1 35000
4 6000 2 2 15000
5 6164 2 2 25000
6 4323. 2 2 35000
7 3733 4 1 15000
8 2955. 4 1 25000
9 1357. 4 1 35000
10 6000 4 2 15000
11 5138. 4 2 25000
12 3032. 4 2 35000
I believe this is fixed with PR #2663 (see comment above).
Thanks @JackLandry for pointing this out.
I noticed ~$100-$300 discrepancies from what I calculated for the EITC compared to this CBPP report and found that the tax calculator appears to be miscalculating the status-quo EITC. However, the output is correct when I make explicit the EITC parameters that are in current-law.json in a reform run. (I did fix a minor error in the reform run relative to the parameters in current-law.json (issue 2663), but the miscalculation goes beyond that. Code for reproducing is more, let me know if I can provide more details or if I'm doing something wrong.
R code for creating the test data and seeing results:
EITC reform file
Command line reforms run