Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove irrelevant comment from tmd/examination/2022/dbtab.sql #346

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 1 addition & 28 deletions tmd/examination/2022/dbtab.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,9 @@ SELECT
--round(sum(s006*iitax)*1e-9, 3) -- total iitax liability (after credits)
FROM baseline
WHERE data_source = 1;

SELECT
round(sum(s006*iitax)*1e-9, 3) -- total POSITIVE iitax liability
FROM baseline
WHERE data_source = 1
AND iitax >= 0;


-- USING TC_OPTIONS="--exact --dump --dvars outvars --sqldb"
-- 2022 US targets from SOI Bulletin (Spring 2024) in $B:
-- < https://www.irs.gov/pub/irs-soi/soi-a-inpre-id2401.pdf >
-- SOI TMD (TMD/SOI-1)*100(%)
--: wage_and_salary 9648.553 9654.475 +0.1
--: ordin_dividends 420.403 420.299 -0.0
--: SchC_net_income 395.136 396.303 +0.3
--: SchE_part_Scorp 1108.445 1114.474 +0.5
--: unemploy_compen 29.554 29.909 +1.2
--: taxable_soc_sec 471.017 473.755 +0.6
--: adj_gross_income 15142.763 14851.081 -1.9
--: taxable_income 11954.522 11842.505 -0.9
--: refundable_credits 106.380 116.717 +9.7
--: itax_after_credits 2285.496 2289.792 +0.2
--
-- % awk '$1~/--:/{print 100*($4/$3-1)}' dbtab-by-component.sql
-- 0.0613771
-- -0.0247382
-- 0.295341
-- 0.543915
-- 1.20119
-- 0.581295
-- -1.92621
-- -0.937026
-- 9.71705
-- 0.187968
Loading