Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-07T05:09:47.727Z Has data issue: false hasContentIssue false

Generalized Full Matching

Published online by Cambridge University Press:  23 November 2020

Fredrik Sävje*
Affiliation:
Department of Political Science, and Department of Statistics & Data Science, Yale University, New Haven, CT, USA. Email: fredrik.savje@yale.edu
Michael J. Higgins
Affiliation:
Department of Statistics, Kansas State University, Manhattan, KS, USA. Email: mikehiggins@k-state.edu
Jasjeet S. Sekhon
Affiliation:
Travers Department of Political Science, and Department of Statistics, UC Berkeley, Berkeley, CA, USA. Email: sekhon@berkeley.edu
*
Corresponding author Fredrik Sävje
Rights & Permissions [Opens in a new window]

Abstract

Matching is a conceptually straightforward method to make groups of units comparable on observed characteristics. The method is, however, limited to settings where the study design is simple and the sample is moderately sized. We illustrate these limitations by asking what the causal effects would have been if a large-scale voter mobilization experiment that took place in Michigan for the 2006 election were scaled up to the full population of registered voters. Matching could help us answer this question, but no existing matching method can accommodate the six treatment arms and the 6,762,701 observations involved in the study. To offer a solution for this and similar empirical problems, we introduce a generalization of the full matching method that can be used with any number of treatment conditions and complex compositional constraints. The associated algorithm produces near-optimal matchings; the worst-case maximum within-group dissimilarity is guaranteed to be no more than four times greater than the optimal solution, and simulation results indicate that it comes considerably closer to the optimal solution on average. The algorithm’s ability to balance the treatment groups does not sacrifice speed, and it uses little memory, terminating in linearithmic time using linear space. This enables investigators to construct well-performing matchings within minutes even in complex studies with samples of several million units.

Information

Type
Article
Copyright
© The Author(s) 2020. Published by Cambridge University Press on behalf of the Society for Political Methodology
Figure 0

Figure 1 The generalized full matching algorithm. The sample in this example consists of 14 units divided between three treatment conditions. We require that each matched group contains at least one unit of each treatment condition and at least three units in total. We use Euclidean distances based on two covariates. (A) The units are represented as points on the covariate plane. The treatment conditions of the units are indicated by the points’ color and pattern. (B) Step 1: One of the building blocks of $G_w$ is shown, namely the nearest neighbor digraph between the whole sample and the patterned units: $ \operatorname {\mathrm {NN}}(1, G(\mathbf {U}\rightarrow \mathbf {w}_{\text {patterned}}))$. (C) Step 2: The $ \mathcal {C}$-compatible nearest neighbor digraph $G_{\mathcal {C}}$ is created. Note that all vertices in this graph are pointing to one vertex of each treatment condition and that no graph exists with shorter arcs that satisfy this condition. (D) Step 3: A set of seeds is found. Seeds are indicated with a diamond shape enclosed in their circles. The arcs pointing out from the seeds are highlighted. Note that no two seeds are pointing to a common unit. Step 4: Each seed and its neighbors are given a unique label as indicated by the numbers. (E) Step 5: Some units are still unlabeled. Each such unit is assigned a label that is represented in its neighborhood. All outward-pointing arcs from unlabeled units are shown in this panel. (F) The algorithm has terminated. Matched groups are formed by units sharing the same label.

Figure 1

Figure 2 Illustration of the 4-approximate optimality property.

Figure 2

Figure 3 Runtime and memory use by matching method. Marker symbols are actual simulation results, and connecting lines are interpolations. The colors represent different matching packages, and the shape of the marker symbols represent different implementations within the packages. Memory use was identical for methods from the same package, so we present results for only one implementation from each package. Each measure is based on 1,000 simulation rounds. The simulation errors are negligible.

Figure 3

Table 1 Performance of matching methods with samples of 10,000 units.

Figure 4

Table 2 Unadjusted and matching adjusted average turnout in the 2006 primary election.

Figure 5

Table 3 Covariate balance before and after matching adjustment.

Figure 6

Table 4 Turnout in the 2006 primary election among voters in the 2004 general election.

Supplementary material: PDF

Sävje et al. supplementary material

Sävje et al. supplementary material

Download Sävje et al. supplementary material(PDF)
PDF 271.6 KB