Mobile Dashboard Under Construction.
Evaluating policy transfer via similarity analysis and causal inference.
Public policymaking is hard. Each day, local elected officials and policy analysts across the country devise programs to improve the social and economic conditions of their communities, but face the obstacle that the success of a policy hinges on a panoply of factors that are challenging to predict. In this context, historical precedent is the ultimate guide: an intervention that was effective in achieving an outcome in one community is likely to also be successful in other, similar communities. But what does “similar” mean?

polis is a tool that allows users to compute how similar jurisdictions are to each other based on customizable metrics, such as GDP trends or income distribution, with the aim of identifying “sister communities” in which policy outcomes are more likely to transfer. The tool supports the following types of questions:
  1. Similarity: Which communities are similar to mine, based on a user-defined set of social and economic variables, weighted by importance?
  2. Similar-But-Different-Outcome: Which communities are similar to mine according to a set of variables, but achieved a different outcome than mine on some dimension?
  3. Counterfactual Analysis: If a particular policy intervention that was missed in my community had actually been made, what would its impact have been, based on similar communities' experiences?
In addition, the tool supports questions of general data exploration (Explorer). Check out examples and a tutorial for each of these functionalities below, or try it out here.

Similarity Tool Tutorial
The similarity tool identifies similar jurisdictions for a selected base jurisdiction. Hover over the features below to highlight them.
County-Metro Selector: Toggles whether the analyzed jurisdictions are counties or metropolitan statistical areas.
Base Jurisdiction Input: Selects a jurisdiction w.r.t. which similarity scores are calculated.
Variable Set Selector: Toggles view between showing the basic variable set, containing just five core comparison variables, and the advanced variable set, containing every variable.
Importance Weights: Selects an importance level for each possible comparison variable. Each slider has five weights: The highest weight indicates a variable is very important for identifying similar counties, the middle weight indicates it is somewhat important, and the lowest weight indicates it is not used in the computation.
Map-Plot View: Toggles whether to display the map, where brighter colors indicate higher similarity scores, or plots of individual variables.
Region Filter: Selects a region of the US over which to constrain the similarity computation.
Ranking Panel: Shows the top 20 most similar jurisdictions based on the selected settings. Hover on a jurisdiction name to highlight it on the map, click to zoom in on it, and click again to reset the zoom.
Examples
The following are sample questions that the similarity tool can answer. Click to open the similarity tool with the pre-filled query.
Similar But Different Outcome Tool Tutorial
The similar-but-different-outcome tool identifies jurisdictions that were similar to the base jurisdiction in the past, but then diverged along some dimension. In particular, it is useful for finding places that achieved a desirable outcome – such as higher GDP or lower unemployment – that one's own jurisdiction has not achieved, despite previously having similar trajectories.

The feature is activated by clicking the up arrow (hover to view) beside the Alternative Paths title at the bottom-left of the similarity tool. This updates the map so that only jurisdictions that have achieved the desired outcome – e.g. GDP above the 85th percentile – are highlighted, and others removed. The heatmap colors indicate the similarity score of each of these different-outcome jurisdictions with respect to the base jurisdiction.
Map-Plot View: Toggles whether to show the plot view or the map view. This plot shows that Adams County, PA experienced a similar GDP trend to many counties for some time, but then fell off while the others continued to improve.
Year Slider: Selects the year up until which the base jurisdiction and another jurisdiction are similar.
Outcome Variable Selector: Selects outcome dimension along which the base jurisdiction and other jurisdictions diverge.
Outcome Percentile Range: Selects the percentile range into which other jurisdictions must fall with respect to the chosen outcome variable. The red vertical line on the slider indicates the base jurisdiction's percentile for the outcome variable. For example, Adams County (A.C.), PA falls into the 34th percentile for GDP.
Examples
The following are sample questions that the similar-but-different-outcome tool can answer. Click to open the similarity tool with the pre-filled query.
Counterfactual Tool Tutorial
The counterfactual tool combines similarity analysis with historical policy intervention data to predict what would have happened in a particular jurisdiction if a policy had been implemented in the past. In other words, it considers the counterfactual scenario. The tool allows the following variables to be set.
Jurisdiction Input: Selects a jurisdiction of interest.
Outcome Variable Selector: Selects an outcome variable of interest, e.g. unemployment rate.
Intervention Variable Selector: Selects intervention type of interest, e.g. U.S. Department of Commerce spending.
Intervention Year Slider: Selects the year when the hypothetical intervention occurred.
Intervention Level Selector: Selects the hypothetical intervention variable's value as a percentile compared to values for that intervention across the country. The red vertical line on the slider indicates the base jurisdiction's actual percentile for the intervention variable.
Map-Plot View: Toggles whether to display the plot, which shows the predicted impact on the selected county, or the map, which displays the predicted impact of the intervention in all counties in the same state, for comparison.
Examples
The following are sample questions that the counterfactual tool can answer. Click to open the similarity tool with the pre-filled query.
Explorer Tool Tutorial
The explorer tool visualizes the raw datasets used to perform the calculations in the similarity, similar-but-different-outcome, and counterfactual tools. By explicitly showing the jurisdictions with the highest and lowest values for each variable (i.e. the extrema of the dataset), it provides key context in which the results from the other tools can be interpreted.
Variable Selector: Selects the variable to display on the map.
Ranking Order Toggle: Selects whether the ranking panel orders jurisdictions by variable value from highest-to-lowest (default) or lowest-to-highest.
Examples
The following are sample questions that the explorer tool can answer. Click to open the explorer tool with the pre-filled query.
Interested? We’d love to hear from you.
polis is a research tool under very active development, and we are eager to hear feedback from users in the policymaking and public administration spaces to accelerate its benefit.

If you have feature requests, recommendations for new data sources, tips for how to resolve missing data issues, find bugs in the tool (they certainly exist!), or anything else, please do not hesitate to contact us at polis@basis.ai.

To stay up to date on our latest features, you can subscribe to our mailing list. In the near-term, we will send out a notice about our upcoming batch of improvements (including performance speedups, support for mobile, and more comprehensive tutorials), as well as an interest form for users who would like to work closely with us on case studies to make the tool most useful in their work.

Lastly, we emphasize that this website is still in beta testing, and hence all predictions should be taken with a grain of salt.

Acknowledgments: polis was built by Basis, a non-profit AI research organization dedicated to creating automated reasoning technology that helps solve society's most intractable problems. To learn more about us, visit https://basis.ai.