Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

Can Matching Reduce Confounding but Introduce Selection Bias?

Matching can improve comparability between exposed and unexposed groups, but selecting matches is not automatically harmless. Learn when matching reduces confounding, how inappropriate matching variables can introduce bias, and why excluding unmatched participants may change the causal effect being estimated.

898
Matching, Confounding, and Selection Bias Guide 898 of 1272
01 · The Question

Can Making Two Research Groups More Similar Actually Make the Comparison Less Credible?

You are evaluating whether an AI-supported learning platform improves students' academic performance. Because students choose whether to use the platform, you decide to match users with nonusers who have similar prior grades, academic levels, and demographic characteristics.

After matching, the groups look considerably more similar. Their baseline characteristics are balanced, and the resulting comparison appears more credible.

But what if you also matched students according to their engagement halfway through the semester? What if engagement was already affected by the platform? Or what if matching excluded nearly every student with limited connectivity because no comparable platform users existed?

The matched sample might look balanced while no longer representing the original population or preserving the intended causal comparison.

Matching can reduce confounding, but its consequences depend on the variables used, the selection process, and the causal effect researchers intend to estimate. Similarity is useful only when it is achieved without introducing a more consequential problem.

02 · The Short Answer

Can Matching Reduce Confounding While Creating Selection Bias?

In Brief

Yes. Matching can reduce confounding by improving comparability on appropriately selected pretreatment characteristics, but it can also introduce or amplify bias when researchers match on colliders, posttreatment variables, or other causally inappropriate characteristics, or when match selection creates problematic conditioning.

Excluding unmatched participants also changes the population represented by the analysis, although this is not automatically internal selection bias. Researchers must distinguish bias in the causal comparison from changes in the estimand, limited overlap, and reduced generalizability.

03 · What You Need to Know

How Matching Works, When It Helps, and When It Creates New Problems

What Is Matching in Research?

Matching is a design or analytical procedure that selects or organizes observations according to similarities in specified characteristics.

In observational intervention studies, researchers may match treated participants with untreated participants who have comparable pretreatment characteristics.

For example, students receiving AI tutoring may be matched with students who have similar prior examination scores, academic levels, and baseline access to digital resources.

The purpose is to improve comparability on characteristics that might otherwise distort the exposure-outcome relationship.

Matching can also serve different purposes in case-control studies, including improving efficiency or controlling selected factors. Its analytical implications depend on the sampling design.

Researchers should specify why matching is being used rather than assuming that every matched design addresses the same methodological problem.

How Does Matching Reduce Confounding?

Confounding occurs when the association between an exposure and outcome is distorted by noncausal pathways, commonly involving variables that influence both exposure and outcome.

Suppose students with stronger prior academic performance are more likely to use an optional learning platform and would also perform better on the final examination without it.

Comparing all users with all nonusers may attribute part of the preexisting academic advantage to platform use.

Matching students on prior achievement can reduce the observed imbalance associated with that characteristic.

However, matching does not establish that every relevant confounder has been measured or controlled.

Unmeasured motivation, instructor encouragement, and learning opportunities may still differ between groups.

What Is the Difference Between Matching and Randomization?

Randomization Assigns treatment through a chance mechanism that supports baseline exchangeability in expectation, including for unmeasured characteristics.
Matching Constructs comparisons according to selected observed characteristics and relies on additional assumptions about unmeasured confounding.

A matched observational study can provide useful causal evidence under appropriate assumptions. It should not, however, be described as equivalent to randomization merely because the groups have similar baseline tables.

The distinction is central to designing a comparison group that supports the intended causal contrast.

What Variables Should Researchers Match On?

Matching variables should be chosen according to substantive knowledge and a causal model.

Appropriate candidates often include pretreatment common causes of exposure and outcome, along with selected strong baseline predictors of the outcome when doing so improves the design.

For example, prior achievement and baseline connectivity may be relevant in a study of optional digital tutoring.

However, not every variable associated with the outcome should automatically be included.

Variables affected by treatment, colliders, and certain instruments can create difficulties when used indiscriminately.

The objective is to support exchangeability for the intended estimand, not to maximize the number of matched characteristics.

What Happens When Researchers Match on a Collider?

A collider is a variable influenced by two or more variables along a causal pathway.

Conditioning on a collider can open a previously blocked noncausal association between its causes.

Suppose baseline participation in an optional support program is influenced by both students' technology enthusiasm and their academic difficulties.

Matching on support-program participation may associate those causes within matched strata, even if they were otherwise independent.

If those causes are connected to treatment and outcome, the induced association may distort the treatment effect.

Researchers should examine how conditioning on a collider can create misleading associations before choosing matching variables.

The important issue is the variable's causal role, not whether it was measured before treatment.

Why Is Matching on Posttreatment Variables Dangerous?

Posttreatment variables may be consequences of the exposure being investigated.

For example, an AI-supported platform may influence students' engagement during the semester, and engagement may subsequently affect examination performance.

Matching platform users and nonusers on midsemester engagement can remove part of the pathway through which the intervention operates.

If engagement is also influenced by unmeasured academic characteristics, conditioning on it may introduce collider bias.

Such a comparison no longer necessarily estimates the total effect of platform use.

Posttreatment conditioning can sometimes be appropriate for a carefully defined alternative estimand, but it requires methods and assumptions suited to that causal question.

Researchers should not use posttreatment variables in ordinary baseline matching without justification.

What Is Overmatching?

Overmatching refers to matching choices that unnecessarily reduce information, impair the comparison, or introduce bias.

The term is used somewhat differently across study designs.

In a cohort-style comparison, matching on a variable strongly associated with treatment but unrelated to the outcome may reduce overlap or efficiency without meaningfully addressing confounding.

In case-control research, matching on factors associated with exposure but not appropriately related to disease risk can reduce efficiency and complicate analysis.

Matching on mediators or colliders can create more serious causal problems.

Researchers should therefore explain the mechanism by which a proposed matching variable improves identification rather than assuming that additional matching is always beneficial.

What Is Propensity Score Matching?

A propensity score is the probability of receiving a specified treatment conditional on measured pretreatment characteristics.

Propensity score matching pairs or groups observations with similar estimated treatment probabilities.

For example, a model may estimate the probability of choosing AI tutoring using prior grades, academic level, and baseline connectivity.

Students with similar estimated probabilities can then be compared under a defined matching procedure.

However, propensity score matching does not automatically remove confounding.

Its credibility depends on the adequacy of measured confounders, positivity, treatment definitions, matching implementation, and analysis.

A well-fitting propensity score model is not itself evidence that the resulting causal comparison is unbiased.

Does Propensity Score Matching Always Improve Balance?

No. Balance depends on the propensity score model, matching algorithm, caliper, sample structure, and other design decisions.

Researchers should assess covariate balance after matching rather than assuming it follows automatically.

Standardized mean differences and distributional comparisons can help evaluate measured balance.

However, a small standardized mean difference does not establish exchangeability for unmeasured characteristics.

Researchers should also examine whether matching has created extreme sample restrictions or eliminated important population subgroups.

Balance is a diagnostic property of the matched sample, not proof of causal identification.

What Is Common Support or Overlap?

Common support refers to the range of covariate or propensity score values represented in both treatment groups.

Suppose students with very limited connectivity almost never use an AI-supported platform.

There may be few or no treated students comparable to untreated students in that subgroup.

Matching cannot create the missing counterfactual information.

Researchers may restrict analysis to a population with adequate overlap, but doing so changes the population represented by the estimated effect.

When treatment probability is effectively zero or one for particular covariate profiles, standard observational identification requires assumptions that cannot be supported by within-profile comparisons.

Can Excluding Unmatched Participants Introduce Selection Bias?

It can, but exclusion must be interpreted carefully.

If matching removes individuals because they lack suitable counterparts, the resulting estimate may apply to a narrower overlap population rather than the original target population.

This change is not necessarily internal selection bias. A credible effect may still be estimated for the matched population under appropriate assumptions.

However, bias can arise if researchers continue to interpret that estimate as representing the original population without appropriate generalization assumptions.

Matching-based selection can also introduce internal bias when it conditions on causally inappropriate variables or otherwise violates identification assumptions.

Researchers should distinguish a change in target population from distortion of the causal comparison within that population.

How Does Matching Change the Estimand?

The estimand is the causal quantity a study seeks to estimate.

Common examples include the average treatment effect in a target population and the average treatment effect among treated individuals.

Matching methods do not all estimate the same quantity.

For example, matching untreated students to treated students may aim to estimate an effect among treated students who have suitable comparisons.

If many treated students are discarded because matches are unavailable, the resulting estimate may instead concern only the retained treated subgroup.

Researchers should specify the estimand before matching and examine whether the implemented procedure preserves it.

The distinction is especially important when findings are intended to inform policies affecting a broader population.

Can Matching on an Instrumental Variable Be Harmful?

Potentially. An instrumental variable influences treatment but, under the relevant assumptions, does not directly affect the outcome except through treatment and is not associated with unmeasured causes of the outcome.

Matching or adjusting for a strong instrument may reduce treatment overlap without removing outcome-related confounding.

Under some causal structures, conditioning on an instrument can amplify bias from unmeasured confounding.

However, these consequences depend on the assumptions and estimator.

Researchers should not automatically include every strong predictor of treatment in a matching model.

Variable selection should follow the causal identification strategy rather than prediction performance alone.

What Is the Difference Between Exact Matching and Nearest-Neighbor Matching?

Exact matching requires observations to agree on specified characteristics or categories.

Nearest-neighbor matching selects comparison observations according to a defined distance measure, such as proximity in propensity scores or covariate values.

Exact matching may provide strong balance on selected variables but can become impractical when many characteristics are included.

Nearest-neighbor matching may retain more observations, although poor matches can remain when overlap is limited.

Calipers can restrict the maximum acceptable matching distance, potentially improving match quality while excluding more observations.

The choice should reflect the causal question, sample structure, and balance requirements.

Should Researchers Match With or Without Replacement?

Matching with replacement allows a comparison observation to serve as a match for more than one treated observation.

This may improve match quality when suitable controls are scarce, but it changes the dependence structure and effective information available for estimation.

Matching without replacement uses each comparison observation at most once under the specified algorithm.

The preferable approach depends on overlap, sample sizes, and the estimand.

Researchers should use uncertainty estimators appropriate to the matching design rather than analyzing matched observations as though they were always independent random samples.

How Should Matched Data Be Analyzed?

The analysis should reflect the matching design, estimand, treatment assignment mechanism, and outcome structure.

Some matched designs require accounting for matched sets, repeated use of controls, clustering, or sampling weights.

In matched case-control studies, conditional logistic regression is one established approach for certain matching structures.

In matched cohort-style comparisons, the appropriate estimator and standard errors depend on the specific matching procedure.

There is no universal rule that every matched dataset must be analyzed with one particular regression model.

Researchers should plan the analysis alongside matching rather than treating matching as a preprocessing step with no inferential consequences.

Can Matching Replace Sensitivity Analysis?

No. Matching can address measured differences but does not automatically establish the absence of unmeasured confounding.

Sensitivity analyses can examine how conclusions might change under specified levels or patterns of residual bias.

For example, researchers may investigate whether an unmeasured factor associated with both AI platform use and achievement could plausibly explain the estimated effect.

Such analyses do not identify the true magnitude of unmeasured confounding.

They clarify how strongly conclusions depend on assumptions that cannot be verified directly.

How Can Researchers Prevent Matching-Induced Selection Problems?

Begin by defining the target trial, treatment strategies, eligible population, and causal estimand.

Identify pretreatment confounders using substantive knowledge and, where appropriate, a directed acyclic graph.

Avoid ordinary matching on posttreatment variables, mediators, or colliders when estimating a total causal effect.

Assess overlap before selecting a matching algorithm and document the number and characteristics of unmatched observations.

After matching, evaluate balance and determine whether the resulting population still corresponds to the intended estimand.

These decisions should be established before inspecting outcome differences whenever feasible.

How Should Matching Be Reported?

Researchers should describe the rationale for matching, the variables selected, the algorithm, distance measure, caliper, replacement rules, and handling of unmatched observations.

Report sample sizes before and after matching and relevant balance diagnostics.

Explain the target estimand and whether matching changed the population represented by the effect estimate.

Describe the analytical approach, uncertainty estimation, and remaining assumptions about unmeasured confounding.

When matching introduces restrictions, consider how restriction affects confounding and generalizability.

Transparent reporting allows readers to evaluate the causal design rather than merely observe that a matched sample was created.

04 · A Practical Example

When Matching on Midsemester Engagement Distorts an AI Learning Comparison

Hypothetical Example

Matching Students in an Observational AI Tutoring Study

A university evaluates optional AI tutoring among 400 students. Of these, 160 use the tutoring platform and 240 do not.

The researchers initially propose matching on prior achievement, baseline connectivity, and midsemester engagement.

However, the platform may itself influence engagement, while motivation may affect both engagement and final achievement.

Candidate matching variable Timing and causal role Design implication
Prior examination score Pretreatment predictor of platform use and achievement Potentially appropriate confounding-control variable.
Baseline connectivity Pretreatment factor influencing access and achievement Potentially appropriate, subject to overlap.
Midsemester engagement Potential consequence of platform use and motivation May block mediation or introduce collider bias.
Final examination completion Posttreatment outcome-availability process May create additional selection when used for inclusion.
Define the estimandThe researchers seek the total effect of using the tutoring platform among a specified eligible population.
Identify pretreatment confoundersPrior achievement and connectivity are examined as plausible common causes of platform use and examination performance.
Remove inappropriate matching variablesMidsemester engagement is not used in ordinary baseline matching because it may be affected by treatment.
Evaluate overlapThe researchers determine whether platform users have credible nonuser counterparts across relevant baseline characteristics.
Assess balance and exclusionsThey report the characteristics of retained and unmatched students and identify the resulting target population.
Interpret the effect cautiouslyEven after good measured balance, the estimate remains dependent on assumptions about unmeasured confounding and selection.

The example illustrates that matching on additional variables is not necessarily beneficial. A variable may make groups look more similar while changing the causal question or opening a noncausal pathway.

The appropriate matching strategy depends on the causal role of each variable, not simply on its correlation with the outcome.

05 · What Researchers Often Get Wrong

Common Misconceptions About Matching and Selection Bias

Misconception

Does Matching Eliminate Confounding?

No. Matching can reduce imbalance on measured characteristics but does not automatically control unmeasured confounding or inappropriate selection.

Misconception

Should Researchers Match on Every Available Baseline Variable?

No. Variables should be selected according to their causal roles. Matching on colliders or strong instruments can create problems even when measured before treatment.

Misconception

Does Matching on Posttreatment Engagement Improve Comparability?

Not necessarily. It may remove part of the treatment effect or introduce collider bias when estimating a total effect.

Misconception

Does Excluding Unmatched Participants Always Introduce Internal Bias?

No. Exclusions may instead change the estimand to a narrower overlap population. Whether internal bias arises depends on the selection mechanism and identification assumptions.

Misconception

Does Good Covariate Balance Prove Exchangeability?

No. Balance diagnostics concern observed variables. Unmeasured confounding and other causal assumptions remain relevant.

Misconception

Is Propensity Score Matching Always Better Than Other Adjustment Methods?

No. The preferable method depends on the estimand, sample structure, overlap, model assumptions, and implementation.

06 · What This Means for You

How to Match Participants Without Creating a New Causal Problem

Choose matching variables according to a prespecified causal model and target estimand.

Evaluate overlap before matching, inspect balance afterward, and report who was excluded. Avoid assuming that a balanced matched sample automatically supports the original population-level claim.

A simple decision framework

If a variable is a pretreatment common cause of exposure and outcome
Consider including it in the confounding-control strategy, subject to measurement quality and overlap.
If a variable is affected by treatment
Avoid ordinary baseline matching on it for a total-effect estimand unless a different causal strategy is explicitly justified.
If a proposed variable is a collider
Examine whether conditioning on it would open a noncausal pathway.
If many participants cannot be matched
Clarify the overlap population, changed estimand, and implications for generalizability.
If matched groups have good observed balance
Continue evaluating unmeasured confounding, selection, and analytical uncertainty.

For educational technology studies, matching on prior achievement may be defensible, while matching on engagement after platform introduction may be problematic.

Matching should make the causal comparison more credible, not merely produce an attractive baseline table.

07 · A Quick Checklist

Matching Design and Selection Bias Checklist

Before conducting matching, check:
Define the causal estimand and eligible population.
Identify matching variables using substantive causal reasoning.
Distinguish pretreatment confounders from mediators, colliders, and instruments.
Avoid inappropriate matching on posttreatment characteristics.
Evaluate treatment overlap and common support.
Prespecify the matching algorithm and relevant parameters.
Assess measured covariate balance after matching.
Report unmatched observations and changes to the target population.
Use an analysis and uncertainty estimator appropriate to the matching design.
08 · Frequently Asked Questions

Frequently Asked Questions About Matching

Can propensity score matching introduce selection bias?

Yes, under certain conditions, particularly through inappropriate conditioning or selection. Excluding unmatched participants may also change the estimand without necessarily creating internal bias.

Does matching eliminate unmeasured confounding?

No. Ordinary matching on observed characteristics cannot guarantee balance on unmeasured causes of treatment and outcome.

Should researchers match on variables measured after treatment?

Generally not for an ordinary total-effect comparison. Posttreatment matching may block causal pathways or induce bias unless justified by a different estimand and appropriate methods.

What happens when no suitable match exists?

The participant may be excluded under the matching algorithm, or another strategy may be required. The consequences for the estimand and generalizability should be reported.

Does a low standardized mean difference prove matching succeeded?

It provides evidence of balance on a measured characteristic, not proof of exchangeability or the absence of selection bias.

What is overmatching?

Overmatching refers to matching choices that unnecessarily reduce efficiency or comparability, or introduce bias. Its specific meaning depends on the study design.

Can matched observational studies support causal conclusions?

Yes, when the treatment contrast is well defined and assumptions concerning confounding, selection, positivity, and analysis are sufficiently defensible.

09 · The Bottom Line

Matching Helps Only When It Preserves the Intended Causal Comparison

The Bottom Line

Matching can reduce confounding through improved balance on appropriately selected characteristics, but it can also introduce bias through inappropriate conditioning or change the target population by excluding participants without suitable matches.

Researchers should choose matching variables using causal reasoning, evaluate overlap and balance, and distinguish a changed estimand from internal selection bias. A well-matched sample is useful evidence, but it is not automatically an unbiased one.

10 · Sources and Further Reading

Authoritative Sources on Matching and Causal Inference

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes