Gary King Homepage Previous: What if My datasets Up: Frequently Asked Questions Next: How Do I Create


How Exactly are the Weights Created?

Each type of matching method can be thought of as creating groups of units with at least one treated unit and at least one control unit in each. In exact matching, subclassification, or full matching, these groups are the subclasses formed, and the number of treated and control units will vary quite a bit across subclasses. In nearest neighbor or optimal matching, the groups are the pairs (or sets) of treated and control units matched. In 1:1 nearest neighbor matching there will be one treated unit and one control unit in each group. In 2:1 nearest neighbor matching there will be one treated unit and two control units in each group. Unmatched units receive a weight of 0. All matched treated units receive a weight of 1. These weights are constructed to estimate the average treatment effect on the treated, with the control group essentially weighted to look like the treated group.

The weights for matched control units are formed as follows:

  1. Within each group, each control unit is given a preliminary weight of $ n_{ti}/n_{ci}$ , where $ n_{ti}$ and $ n_{ci}$ are the number of treated and control units in group $ i$ , respectively.
  2. If matching is done with replacement, each control unit's weight is added up across the groups in which it was matched.
  3. The control group weights are scaled to sum to the number of uniquely matched control units.

With subclassification, when the analysis is done separately within each subclass and then aggregated up across the subclasses, these weights will generally not be used, but they may be used for full matching or nearest neighbor matching if the number of control units matched to each treated unit varies.



Gary King 2011-04-26