TaxModels
Workflow of the OSPC models
OSPC develops a family of tax models, consisting of Tax-Data, Tax-Calculator, Taxcalc-Payroll, Behavioral Responses, and Tax-Brain. All of the models are open source. The flowchart explains how models interact with each other.
The Current Population Survey (CPS) and IRS Public Use File (PUF) are the base data sets for the OSPC tax models. Tax-data produces the input micro data files for Tax-Calculator, by conducting a series of data preparation procedures upon the original CPS and PUF data. These procedures include the statistical matching between CPS and PUF data; data extrapolation to forecast base year micro datasets into the future years; and re-weighting to hit the desired macro targets. Macro targets are based on governmental data, including: IRS Statistics of Income data, CBO projections, OASDI Trustees Report and BLS data. Tax-Data produces two processed CPS and PUF based micro-datasets, a growth factor file and a weights file.
Tax-Calculator, the micro-simulation model, uses the processed CPS and PUF micro datasets from Tax-Data, to perform income tax and payroll tax analysis. Tax-Calculator can be used for revenue estimation, individual tax calculation, and distributional analysis. Users can also change Policy Parameters to perform tax reform simulations. The Behavior-Responses package allows a user of Tax-Calculator to conduct conventional analysis, which considers the behavior responses that arise from changes to policy.
Tax-Calculator, the micro-simulation model, uses the processed CPS and PUF micro datasets from Tax-Data, to perform income tax and payroll tax analysis. Tax-Calculator can be used for revenue estimation, individual tax calculation, and distributional analysis. Users can also change Policy Parameters to perform tax reform simulations. The Behavior-Responses package allows a user of Tax-Calculator to conduct conventional analysis, which considers the behavior responses that arise from changes to policy.
Tax-Brain serves as an integrator to wrap multiple models. It uses a single interface to access Tax-Calculator and Behavior Responses. It provides users with many useful tools and can be run through the Python API or the command line interface (CLI). There is also an online web application for the users with less programming experience.
Scholars inside and outside of AEI have used the model for their research (use cases).
Model Performance
We regularly validate OSPC tax models in two ways. One method validates calculations at the micro level by looking at the individual tax units. We test against NBER TAXSIM model, comparing calculated tax liability and the intermediate variables like taxable income and AMT liabilities, record by record. This process helps both OSPC and NBER TAXSIM to identify modelling differences and make improvements.
The second method validates the model at a macro level. This method compares the value of projected aggregates from Tax-Calculator with the Congressional Budget Office's 10-year economic & revenue projections. Items considered for comparison include the calculation of AGI, calculation of income tax liability, and share of AGI by income groups. The chart below shows macro validation for some example items.
Many key items in Tax-Calculator like Total AGI show differences of less than 1.5% to CBO over the next 10 years. Please refer to this latest report for full list of comparisons with CBO.