Impute W-2 Wage Share variable for Qualified Business Income Deduction
Imputation for W-2 wage share variable PT_binc_w2_wages to improve the accuracy of Qualified Business Income Deduction (QBID) amounts produced by Tax-Calculator when using puf.csv input data. It is important to note that the logic of QBID calculation in Tax-Calculator is correct. What makes QBID results inaccurate when using the current version of puf.csv is that the value of PT_binc_w2_wages is zero for every filing unit in the current version of the puf.csv file. This PR is intended to fix this puf.csv data problem.
@bodiyang Your changes look good to me. Can you run black -l 79 ./ from the top level taxdata directory (and then commit your modified tracked files) to fix the currently failing code formatting issue?
@bodiyang Your changes look good to me. Can you run
black -l 79 ./from the top leveltaxdatadirectory (and then commit your modified tracked files) to fix the currently failing code formatting issue?
Will reformat the scripts.
I'm still solving some issues on incorporating the imputation script into the model. I'll notify when it's ready.