PSLmodels / Tax-Calculator

USA Federal Individual Income and Payroll Tax Microsimulation Model
https://taxcalc.pslmodels.org
Other
255 stars 154 forks source link

TAXSIM-35 Validation, "a" files #2698

Closed jdebacker closed 10 months ago

jdebacker commented 11 months ago

This PR adds the "expected" files for differences between Tax-Calculator and TAXSIM-35 for the "a" validation sample. This is the sample with the simplest returns.

We are looking for the differences between each to diff economically insignificant or explain through some difference in the two models.

The following years' files will be added here (and checked off below when differences are explained/resolved):

cc @bodiyang

bodiyang commented 11 months ago

the 2019 'a' set: Tax Calculator is correct 2 obs with diffs for iitax of $196 -- seems to come from eitc diff

bodiyang commented 11 months ago

the 2020 'a' set:

records iitax diff mainly come from:

bodiyang commented 11 months ago

the 2021 'a' set:

jdebacker commented 11 months ago

@bodiyang Thanks for documenting these known diffs in this issue. To keep track of these long-term, I've added a Differences_Explained.md file to this PR.

bodiyang commented 10 months ago

the 2021 'a' set showing no difference after the work to include other dependent credit into iitax calculation

@jdebacker I think this will conclude the validation work of 'a' set.

jdebacker commented 10 months ago

@bodiyang Thanks for your help. I believe this PR is ready for review and to merge following that.

codecov[bot] commented 10 months ago

Codecov Report

Merging #2698 (dd979a0) into master (b1eb957) will not change coverage. Report is 1 commits behind head on master. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/PSLmodels/Tax-Calculator/pull/2698/graphs/tree.svg?width=650&height=150&src=pr&token=KqtTvRSNjQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels)](https://app.codecov.io/gh/PSLmodels/Tax-Calculator/pull/2698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) ```diff @@ Coverage Diff @@ ## master #2698 +/- ## ======================================= Coverage 98.54% 98.54% ======================================= Files 14 14 Lines 2609 2609 ======================================= Hits 2571 2571 Misses 38 38 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/Tax-Calculator/pull/2698/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/PSLmodels/Tax-Calculator/pull/2698/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `98.54% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#carryforward-flags-in-the-pull-request-comment) to find out more.