03 · What You Need to Know
How Matching Works and When It Improves a Case-Control Study
What Does Matching Mean in a Case-Control Study?
Matching is a sampling strategy in which controls are selected according to specified characteristics of cases or according to predetermined distributions of those characteristics.
For example, researchers may select controls who fall within the same age categories as cases, belong to the same recruitment site, or share another characteristic considered important to the design.
The aim is generally to control the sampling distribution of selected variables and, under suitable conditions, improve the efficiency of estimating the exposure-outcome association.
Matching does not mean that cases and controls should be identical. Indeed, if matching eliminates variation in the exposure of interest, the study may lose information needed to estimate its association with the outcome.
Nor does matching establish that cases and controls are otherwise comparable. Unmeasured differences can remain, and measured confounders not included in the matching procedure may still require adjustment.
What Is the Difference Between Individual and Frequency Matching?
Two commonly used approaches are individual matching and frequency matching. Both structure control selection, but they create different data arrangements and analytical requirements.
| Characteristic |
Individual matching |
Frequency matching |
| Selection principle |
Controls are selected to match characteristics of particular cases |
Controls are selected to achieve a specified distribution of matching characteristics |
| Typical structure |
Matched pairs or sets |
Groups with comparable distributions across matching strata |
| Example |
Each case aged 45 is paired with an eligible control of approximately the same age |
The control group is sampled to reproduce the case group's distribution across prespecified age categories |
| Common analytical approach |
Conditional logistic regression for individually matched sets |
Unconditional logistic regression adjusting for matching factors, where appropriate |
| Important limitation |
Exposure contrasts within matched sets may be limited |
Matching strata must be represented and handled appropriately in analysis |
Individual matching creates a relationship between each case and one or more selected controls. Frequency matching does not ordinarily require preserving a unique case-control pair.
Neither method is inherently superior. The appropriate choice depends on the variables being controlled, the availability of controls, the sampling design, and the intended analysis.
When Is Individual Matching Useful?
Individual matching may be attractive when a small number of strong confounders can be measured reliably and suitable controls can be identified for each case.
For example, if age is strongly related to both the exposure and the outcome, selecting controls within prespecified age ranges may improve the efficiency of the exposure comparison under suitable conditions.
Individual matching is also common in nested case-control studies using risk-set sampling. Controls may be selected from individuals who are at risk at the time each case occurs, with additional matching on variables such as cohort membership or recruitment center.
However, matching on age or another characteristic is not automatically necessary simply because the variable is associated with the outcome. Its relationship with exposure, its role in the causal structure, and its effect on sampling efficiency must also be considered.
Researchers should distinguish matching required by the temporal sampling design from additional matching intended to address confounding or improve efficiency.
When Is Frequency Matching Preferable?
Frequency matching may be useful when researchers want cases and controls to have comparable distributions of selected characteristics without requiring a separate control match for every case.
Suppose cases are distributed across three age categories. Researchers could recruit controls so that the proportions in those categories approximate the case distribution.
This approach may simplify recruitment when exact individual matches are difficult to identify.
It can also permit more flexible analysis, particularly when researchers use unconditional logistic regression with appropriate adjustment for the matching factors.
However, frequency matching still changes the sampled distribution of the matching variables. Researchers should not assume that the matching process can be ignored in analysis.
The intended association measure and control-sampling scheme should guide how matching strata are incorporated into the statistical model.
Should You Match on Every Potential Confounder?
No. Matching on every available variable is neither necessary nor generally desirable.
A confounder is a variable that can distort the association between an exposure and an outcome because of its relationship with both, under the relevant causal structure.
Matching may be useful for selected confounders, but many can be addressed through appropriate statistical adjustment when they are measured adequately and the data contain sufficient overlap.
Moreover, not every variable associated with the outcome is a confounder. A variable may be a mediator, a collider, a consequence of exposure, or a predictor of outcome that is unrelated to exposure.
Matching on such variables can be unnecessary or harmful.
The decision should therefore begin with a substantive understanding of how the exposure, outcome, and candidate matching variables are related. A causal diagram may help clarify these relationships, although it does not replace knowledge of the underlying subject matter.
Does Matching Automatically Control Confounding?
No. This is one of the most consequential misunderstandings in case-control methodology.
Matching affects the sampling process. It does not automatically remove confounding from the estimated exposure-outcome association.
In particular, matched case-control data generally require analysis that appropriately accounts for the matching factors or matched-set structure.
For individually matched case-control studies, conditional logistic regression is a common analytical method. It conditions on matched sets and estimates associations using relevant within-set exposure information.
For frequency-matched studies, unconditional logistic regression with appropriate adjustment for matching variables is often used.
The exact approach depends on the sampling procedure and target estimand. Some individually matched datasets can be analyzed using unconditional methods under suitable conditions, but such choices require methodological justification.
Ignoring matching can produce misleading estimates or inference, particularly when matching has substantially altered the relationship between case status and the matching variables in the sampled data.
Why Can Matching Reduce Statistical Efficiency?
Matching may reduce efficiency when it makes cases and controls too similar on the exposure being investigated.
Suppose researchers want to estimate the association between a workplace chemical and a disease. They match cases and controls on exact job title, even though job title is strongly associated with chemical exposure.
Many matched sets may then contain participants with identical exposure status.
In a conditional analysis, sets without exposure variation contribute little or no information to estimating the exposure coefficient.
Consequently, a study with many participants can still have relatively few informative exposure comparisons.
This is one reason overmatching can make a case-control study less informative.
Matching should be evaluated according to the information it preserves, not simply the similarity it creates.
What Happens When You Match on the Wrong Variable?
Matching on a variable that is not a confounder may reduce efficiency without providing a corresponding benefit.
More seriously, matching on a variable affected by exposure, a collider, or a consequence of the outcome can introduce or amplify bias under particular causal structures.
For example, suppose an exposure and an unmeasured determinant of disease both influence whether a person enters a particular occupational category. Restricting or matching participants on that category could induce an association between the exposure and the unmeasured determinant, even when none existed in the underlying population.
The resulting bias depends on the causal relationships and selection mechanism.
This is why researchers should evaluate the consequences of matching on an inappropriate variable before recruitment.
Statistical significance, demographic familiarity, or ease of obtaining a variable is not sufficient justification for matching.
Can You Match on the Exposure of Interest?
Ordinarily, researchers should not match cases and controls on the primary exposure whose association with the outcome they intend to estimate.
If exposure is identical within every matched set, a conventional conditional matched analysis cannot identify its effect from within-set contrasts.
For example, matching each exposed case with an exposed control and each unexposed case with an unexposed control would eliminate the exposure discordance required for a standard matched-pair analysis of that exposure.
Specialized exposure-stratified sampling designs exist, but they require explicit sampling probabilities and appropriate analysis. They should not be confused with routine matching intended to improve comparability.
Before selecting a matching variable, researchers should ask whether doing so would remove the variation needed to answer the primary research question.
How Many Matching Variables Are Too Many?
There is no universal numerical limit. The problem is that each additional matching variable can make eligible controls harder to identify and may reduce the number of informative comparisons.
Consider matching on exact age, sex, occupation, residential district, educational attainment, and healthcare facility. The combination may produce highly restrictive matching strata, particularly in a small population.
Some cases may have no eligible controls, while others may have only one.
Such restrictions can delay recruitment, reduce sample size, and potentially change which cases are included in the final analysis.
Researchers should prioritize a limited number of scientifically justified variables and assess the feasibility of finding suitable controls before committing to a matching protocol.
Does Matching Affect the Number of Controls Needed?
Yes. The statistical efficiency of a matched study depends not only on the number of controls per case but also on the exposure distribution within matched sets.
For a binary exposure in a one-to-one matched study, discordant pairs are particularly informative. A discordant pair contains one exposed and one unexposed participant.
Concordant pairs, in which both participants share the same exposure status, do not contribute to the matched-pair estimate of the exposure odds ratio.
Consequently, adding controls may improve information when it increases useful within-set exposure variation. The gain cannot be predicted solely from the total number of participants.
Decisions about how many controls to recruit per case should therefore account for matching and the anticipated exposure distribution.
Can Matching Solve Problems With the Source Population?
No. Matching does not compensate for selecting controls from an inappropriate source population.
Suppose cases arise from a regional disease registry, but controls are recruited from a hospital population whose admission patterns are strongly associated with the exposure.
Matching those controls to cases on age and sex does not necessarily correct the exposure-related selection mechanism.
Researchers must first establish that controls appropriately represent the source population.
Matching is a secondary design decision within a valid sampling framework. It should not be used to create an appearance of comparability where the underlying populations are incompatible.
What Are the Trade-Offs Between Matched and Unmatched Designs?
Potential Advantages of Matching
- May improve efficiency when carefully selected matching variables are strongly related to relevant outcome risk and exposure patterns.
- Can support comparisons within meaningful strata, including cohort risk sets or recruitment centers.
- May reduce certain forms of imbalance that would otherwise complicate analysis in small or heterogeneous samples.
Potential Limitations of Matching
- Can make recruitment more difficult and exclude cases for whom suitable controls cannot be found.
- May reduce informative exposure contrasts through unnecessary matching.
- Requires analysis that respects the matching structure and may prevent separate estimation of effects for variables constant within matched sets.
- Can introduce bias when matching variables have inappropriate causal roles.
The decision is therefore contextual. Matching can be a useful design feature, but an unmatched study with valid control selection and appropriate confounder adjustment may be simpler and equally defensible.
04 · A Practical Example
How Matching Changes the Information Available for Analysis
Hypothetical Example
Matching on Age in an Occupational Exposure Study
Researchers investigate whether prior occupational solvent exposure is associated with a neurological condition. They identify 100 eligible cases and plan to recruit one control per case from the appropriate source population.
Age is associated with disease occurrence and may also be associated with historical occupational exposure. The researchers consider matching cases and controls within five-year age categories.
For illustration, suppose the final matched dataset contains the following exposure patterns.
| Exposure pattern within pair |
Number of pairs |
Contribution to matched exposure comparison |
| Case exposed, control unexposed |
30 |
Informative discordant pair |
| Case unexposed, control exposed |
10 |
Informative discordant pair |
| Both exposed |
20 |
Concordant pair |
| Both unexposed |
40 |
Concordant pair |
| Total |
100 |
40 discordant pairs |
Although the study contains 200 participants, only 40 pairs are discordant for the binary exposure. Those discordant pairs provide the information used to estimate the exposure association in a conventional matched-pair analysis.
The estimated matched odds ratio is 3.00. Within the matched-pair comparison, the observed exposure pattern favors an association between solvent exposure and case status.
However, the estimate is not proof of causation. Researchers would need to assess its uncertainty, potential residual confounding, exposure measurement, selection mechanisms, and whether age matching was appropriate.
Now consider an alternative hypothetical design in which researchers match cases and controls on exact job title, a variable strongly associated with solvent exposure.
Suppose that this more restrictive matching procedure produces only 12 discordant pairs out of 100 matched pairs. The study would then contain substantially less information about the exposure association, despite retaining the same number of participants.
Step 1: Identify candidate matching variables.
The researchers consider age, sex, job title, and recruitment site, using substantive knowledge about their relationships with exposure and disease.
Step 2: Evaluate causal relevance.
They distinguish potential confounders from variables that may be consequences of exposure or otherwise inappropriate for matching.
Step 3: Assess recruitment feasibility.
They estimate how many eligible controls would remain available under alternative matching rules.
Step 4: Preserve exposure variation.
They avoid matching on characteristics likely to eliminate the exposure contrasts needed for the primary analysis unless a compelling methodological justification exists.
Step 5: Specify the analytical method.
If individual matching is retained, they plan an analysis appropriate to the matched sets and document the matching factors in the protocol.
The example demonstrates that matching can change the effective information available for analysis. A larger number of matching restrictions does not necessarily produce a stronger design.
Whether age matching improves efficiency relative to an unmatched design would require additional assumptions or comparative calculations. The illustrative matched odds ratio alone cannot establish that matching was the better choice.