PolicyEngine logo
menu
Research
About
Donate
Learn ▼

Enhancing the Current Population Survey for policy analysis

We've used modern data science techniques to make PolicyEngine the UK's most accurate microsimulation model. In 2023, we'll do the same in the US.

By max ghenis

December 28, 2022

6 min read

Enhancing the Current Population Survey for policy analysis

Contents

Why is the CPS inaccurate?

Our plan to enhance the CPS

Why our approach will work

The PolicyEngine US app uses a microsimulation model to compute the impact of custom tax and benefit reforms on the Current Population Survey (CPS). While the CPS is widely used for policy analysis, it contains inaccuracies that can impact the accuracy of policy simulations.

In 2023, we will enhance the CPS by integrating it with IRS tax records and reweighting it to minimize deviations from administrative aggregates. This enhanced dataset will be used in the PolicyEngine microsimulation app and will also be made available as an open resource for other policy research.

We’re grateful to Dylan Hirsch-Shell for supporting this project.

Why is the CPS inaccurate?#

The Census Bureau and the Bureau of Labor Statistics run the CPS monthly. Each March, they ask deeper questions on households’ activity in the prior calendar year, in the Annual Social and Economic Supplement (ASEC). We use the CPS ASEC (which we refer to as the CPS) for our policy simulations, as do many other analysts; for example, the Census Bureau uses it to produce their annual poverty report. However, the CPS has several limitations that can impact its accuracy:

These limitations can reduce the accuracy and usefulness of the CPS for policy simulations and other research. For example, CPS-based projections will tend to underestimate the budgetary impacts of reforming SNAP or instituting a tax on top earners, and will be unable to estimate the impacts of wealth taxes or reforms to asset limits in benefit programs.

Our plan to enhance the CPS#

To address these issues, we plan to integrate several household datasets and tune them to more closely match administrative totals. This process will involve the following steps:

  1. Import the CPS and replace reported taxes and benefits with computed amounts from our microsimulation model.

  2. Duplicate the CPS, remove income variables, and replace them with imputed values from IRS tax records using our open-source synthimpute software for machine learning-based quantile regression.

  3. Develop a loss metric based on the differences between the survey’s aggregates and true aggregates published by the government.

  4. Use gradient descent to adjust the household survey weights in the duplicated CPS and minimize the loss.

  5. Integrate the reweighted CPS-IRS dataset with the Survey of Consumer Finances and Consumer Expenditure Survey to create a comprehensive household dataset, also with synthimpute .

  6. Repeat steps 3 and 4 for each subnational area (state, congressional district, state legislative district, etc.) to produce weights for those areas.

The diagram below characterizes this procedure (see it in higher quality here).

We have successfully implemented steps 1–5 in the UK, where our loss function has 2,664 elements.¹ While we have not yet created separate weights for each UK region, we include region-specific targets (like the CPS, the UK household survey has region identifiers).

In the US, we have completed step 1, and also made progress importing the Survey of Consumer Finances and Consumer Expenditure Survey to our data format.

Why our approach will work#

We’ve grounded our algorithm in theory and empirics to maximize accuracy.

My 2018 paper, “Quantile regression, from linear models to trees to deep learning”, compared the performance of several quantile regression techniques using holdout sets. To my knowledge, this was the first instance of such a benchmarking study, and in it I found that random forests outperformed most other models. In follow-up research with Deepak Singh, we found again that random forests outperformed other models, and that matching — perhaps the most common data fusion method for economic microsimulation — performed worse than any others.

This result aligns with the theory underpinning each method. By finding the nearest donor record, matching routines are almost built to overfit, while random forests are architected to avoid overfitting.² Overfitting matters because data fusion is not a linking problem, it is an out-of-sample prediction problem: none of the records in the PUF are in the CPS, and vice versa. We aim to predict the conditional distribution of variables using companion datasets, reflecting the uncertainty in these predictions.

Our reweighting routine also carries theoretical advantages over the state of the art. Institutions like the Census Bureau assign initial weights using a small number of covariates, without intending to correct for sampling bias in outcomes like food assistance participation. Analysts sometimes adjust these weights to consider more outcomes using nonlinear programming, which runs until all constraints are satisfied (e.g., each income category is within 5% of the true values). Gradient descent improves upon nonlinear programming by continuing the search: rather than merely looking for an acceptable solution, it finds an optimum after hundreds of searches (“epochs”). And because gradient descent powers deep learning models, computer scientists have built tools to make it run smoothly and quickly.

Since reweighting is also a prediction problem, we evaluate our method on holdout sets of metrics to avoid overfitting. My colleague Nikhil Woodruff has shown that our approach here substantially improves accuracy in the UK context, both against the original data and other microsimulation models.

Our UK documentation includes evaluations that update each time we change the model. While we’re confident in the benefits of our two novel contributions to microsimulation data enhancement — fusing datasets with random forests-based quantile regression, and reweighting with gradient descent — we will continue experimenting with new methods and sharing our performance as the literature develops.

The CPS already produces useful projections for some policy reforms, such as national tax programs that affect the bulk of the income distribution. Our experience in the UK suggests that our data enhancement procedure can make it even more useful; we expect to cut errors by 90% for assessing more targeted policies, and also to be able to model reforms we don’t currently support, like the newly-passed Massachusetts millionaire tax.

By enhancing the CPS with IRS tax records and reweighting it to minimize deviations from administrative aggregates, we can significantly improve the accuracy of policy simulations and contribute to a more evidence-based policymaking process. We look forward to bringing these enhancements to the US and making our enhanced dataset available as an open resource for other policy research.

¹ The UK equivalents of the CPS and IRS tax records are the Family Resources Survey and Survey of Personal Incomes, respectively. Our code for enhancing UK microdata is in this folder within the policyengine-uk GitHub repo.

² While we expect that deep neural networks could outperform random forests with tuning, we’ve adopted random forests for their simplicity and high baseline performance.

PolicyEngine logo

Subscribe to PolicyEngine

Get the latests posts delivered right to your inbox.


© 2025 PolicyEngine. All rights reserved.