diff --git a/tax_microdata_benchmarking/adjust_qbi.py b/tax_microdata_benchmarking/adjust_qbi.py index f28b89f3..f2069fa8 100644 --- a/tax_microdata_benchmarking/adjust_qbi.py +++ b/tax_microdata_benchmarking/adjust_qbi.py @@ -37,9 +37,7 @@ def add_pt_w2_wages(df, time_period: int, verbose: bool = True): target = ( QBID_TOTAL_21 - * qbid_tax_expenditures[ - time_period + 1 - ] # JCT figures are one year behind TC + * qbid_tax_expenditures[time_period] / qbid_tax_expenditures[2021] ) diff --git a/tax_microdata_benchmarking/create_flat_file.py b/tax_microdata_benchmarking/create_flat_file.py index 373616c8..acb830cf 100644 --- a/tax_microdata_benchmarking/create_flat_file.py +++ b/tax_microdata_benchmarking/create_flat_file.py @@ -779,7 +779,7 @@ def create_stacked_flat_file( + stacked_file.e27200, ) stacked_file["PT_binc_w2_wages"] = ( - qbi * 0.357 + qbi * 0.314 # Solved in 2021 using adjust_qbi.py ) # Solved in 2021 using adjust_qbi.py input_data = tc.Records(data=stacked_file, start_year=target_year) policy = tc.Policy() @@ -835,7 +835,7 @@ def summary_analytics(df): def create_all_files(): - PRIORITY_YEARS = [2021, 2015, 2026, 2023] + PRIORITY_YEARS = [2021, 2023, 2026, 2015] REMAINING_YEARS = [ year for year in range(2015, 2027) if year not in PRIORITY_YEARS ]