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

What Is Confounding, and Why Can It Distort a Relationship?

Confounding occurs when the relationship you are trying to estimate becomes mixed with the influence of another factor. Identifying a confounder requires causal reasoning, not simply finding a variable associated with the outcome.

135
Confounding in Research Guide 135 of 217
01 · The Question

When Is an Observed Relationship Not Really the Relationship You Think It Is?

Suppose students who frequently use an AI tutoring platform obtain higher examination scores than students who rarely use it. The association looks promising. Perhaps using the platform improves academic performance.

But what if students with stronger academic motivation are also more likely to use the platform? Motivation could influence both platform use and examination performance. Some of the apparent relationship between the platform and achievement might therefore reflect differences in motivation rather than the effect of the platform itself.

This is the basic problem of confounding. The observed relationship between an exposure and an outcome can become mixed with the influence of another factor, making the association appear stronger, weaker, absent, or even different in direction from the relationship you actually want to estimate.

02 · The Short Answer

A Confounder Mixes Another Influence Into the Relationship of Interest

In Brief

Confounding occurs when an exposure-outcome relationship is distorted because another factor is related to the exposure and independently associated with the outcome in a way that mixes its influence with the relationship you are trying to estimate.

Identifying confounding requires more than finding a third variable correlated with both variables. Researchers need substantive and causal reasoning about the temporal and causal relationships among exposure, outcome, and potential confounder, because adjusting for the wrong variable can fail to remove bias and may sometimes introduce it.

03 · What You Need to Know

Confounding Is About Mixing Causal Influences

The CDC describes confounding as distortion of an exposure-outcome association by the effect of a third factor. In its introductory epidemiologic formulation, a potential confounder is associated with the outcome independently of the exposure and is also associated with the exposure without being a consequence of it.

This provides a useful starting point, but modern causal inference requires more careful reasoning than applying a checklist of statistical associations. Whether a variable should be controlled depends on its causal role in the system that generated the data.

A Simple Confounding Structure

Imagine that a researcher wants to estimate whether optional attendance at research workshops improves publication productivity among early-career academics.

Highly research-motivated academics may be more likely to attend the workshops. Research motivation may also independently increase publication activity. If motivation is not adequately addressed, workshop attendance becomes partly a marker for pre-existing motivation.

Potential confounder Research motivation
Relationship with exposure More motivated researchers are more likely to attend optional workshops.
Relationship with outcome More motivated researchers may publish more regardless of workshop attendance.
Result Part of the observed workshop-publication association may reflect motivation rather than the workshop's effect.

In causal-diagram terminology, the confounder can create a noncausal pathway between the exposure and outcome. The objective of confounding control is to block the appropriate noncausal pathways without blocking or creating other pathways that distort the causal effect of interest.

A Confounder Must Precede the Exposure in the Relevant Causal Structure

A variable caused by the exposure is not an ordinary baseline confounder of that exposure-outcome relationship.

Suppose an educational intervention increases students' study time, which subsequently improves examination performance. Study time lies on a possible causal pathway from the intervention to the outcome.

Automatically adjusting for study time because it is associated with both the intervention and outcome could remove part of the effect the researcher is trying to estimate.

This is why the common instruction to “control for every variable related to the outcome” is methodologically unsafe.

Confounder A variable that creates a noncausal association relevant to the exposure-outcome effect being estimated and therefore may need appropriate control.
Mediator A variable lying on a causal pathway through which the exposure may affect the outcome; adjusting for it changes the causal effect being estimated.

Association With the Outcome Is Not Enough

Researchers sometimes identify confounders by running preliminary statistical tests and selecting every variable significantly associated with the outcome.

That approach can miss important confounders and select inappropriate adjustment variables.

A genuine confounder may show a weak or statistically nonsignificant association in a particular finite sample. Conversely, a variable may strongly predict the outcome without confounding the exposure-outcome relationship at all.

Cochrane's ROBINS-I guidance defines relevant baseline confounding in terms of prognostic variables that also predict the intervention received. It recommends identifying important confounding domains using subject-matter knowledge and relevant literature rather than relying solely on the observed dataset.

Confounder identification is therefore primarily a causal-design problem, not a variable-selection contest based on P values.

Confounding Can Make an Association Look Stronger

Suppose coffee consumption appears associated with an adverse health outcome. If smoking is more common among heavy coffee drinkers and independently increases the outcome risk, some of the observed association may be attributable to smoking.

After appropriate control for smoking, the estimated coffee-outcome association might become weaker.

This familiar pattern is sometimes treated as the definition of confounding, but confounding does not always inflate an association.

Confounding Can Also Hide or Reverse a Relationship

A confounder can make an association appear weaker than the underlying causal relationship. Under some circumstances, it can obscure an effect almost entirely or contribute to a reversal in the crude association.

The direction depends on the relationships among the exposure, confounder, and outcome.

Researchers should therefore avoid assuming that adjustment will always make an effect smaller. If the adjusted estimate becomes larger, that does not prove the model is wrong. The change may reflect negative confounding, although other explanations such as model specification, selection, or measurement problems should also be considered.

Crude and Adjusted Estimates Answer Different Versions of the Comparison

A crude estimate describes the observed exposure-outcome relationship without controlling for specified confounders. An adjusted estimate attempts to compare exposure groups after accounting for selected variables under the assumptions of the adjustment method.

Suppose students using an AI tutoring platform have examination scores five points higher on average than non-users. After accounting for relevant baseline academic performance and other defensible confounders, the estimated difference is two points.

It would be tempting to say that “three points were caused by confounding.” That interpretation may be too strong. Differences between crude and adjusted estimates can reflect confounding control, but they can also depend on model specification, measurement, nonlinearity, interactions, selection, and the effect measure being estimated.

Adjusted estimates should therefore be interpreted through the assumptions of the causal and statistical model, not simply because adjustment was performed.

Randomization Helps Prevent Baseline Confounding

Random assignment is powerful because, when implemented successfully, treatment assignment is not determined by participants' baseline prognostic characteristics. This provides protection against baseline confounding by both measured and unmeasured factors, subject to chance imbalances and the details of the estimand and analysis.

Observational studies do not have this protection. Exposure or intervention status may reflect participant characteristics, clinical decisions, socioeconomic conditions, institutional policies, preferences, or other factors also related to the outcome.

This does not make observational causal inference impossible. It means that the assumptions required to identify and control confounding become more consequential.

Researchers Can Address Confounding During Design

Confounding should not be treated solely as a regression problem.

Depending on the study, researchers may address confounding through randomization, restriction, matching, careful selection of comparison groups, or other design strategies. Each approach has advantages and limitations.

Restriction can prevent variation in a known confounder but may narrow generalizability. Matching can improve comparability on selected characteristics but requires appropriate analysis and cannot address variables that were omitted from the matching strategy. Randomization is unavailable or inappropriate for many exposures.

Design-stage decisions are often valuable because they force researchers to identify plausible confounders before seeing the outcome results.

Researchers Can Also Address Measured Confounding Analytically

Common analytic approaches include stratification, multivariable regression, standardization, propensity-score methods, weighting, and other causal-estimation techniques.

These approaches differ in assumptions and objectives. None should be treated as a button labeled “remove confounding.”

Analytic adjustment requires researchers to have measured the relevant variables sufficiently well, specified an appropriate model or weighting strategy, maintained adequate overlap or positivity where required, and avoided inappropriate adjustment for variables such as mediators or colliders.

This is why statistical adjustment cannot automatically fix confounding.

Unmeasured Confounding Remains a Fundamental Problem

If an important confounder was never measured, conventional regression cannot directly adjust for it.

Suppose motivation is an important common cause of both voluntary tutoring use and examination performance, but the study contains no meaningful measure of motivation. Adding age, gender, course, and several other available variables does not guarantee that motivation has somehow been controlled indirectly.

Researchers may use design strategies, proxy variables, instrumental-variable approaches under demanding assumptions, negative controls, quantitative bias analysis, sensitivity analysis, or other methods depending on the problem. None makes unmeasured confounding disappear by declaration.

Residual uncertainty should remain visible in the interpretation.

Poorly Measured Confounders Can Leave Residual Confounding

Even when a confounder appears in the dataset, measurement quality matters.

Suppose socioeconomic circumstances are an important confounding domain, but the study adjusts only for a crude binary variable indicating whether participants are employed. That variable may capture only a small portion of the relevant socioeconomic differences.

Residual confounding can remain because the adjustment variable represents the confounding structure inadequately.

The same problem occurs when continuous confounders are categorized too coarsely or measured with substantial error.

Not Every Third Variable Is a Confounder

Several variables can be associated with an exposure and outcome without playing the same causal role.

A mediator lies on the causal pathway. An effect modifier describes variation in the effect across levels of another variable. A collider is influenced by two variables and can create bias when conditioned upon in certain causal structures.

These distinctions matter because the correct treatment differs. A confounder may need control to estimate a causal effect. A mediator may be central to understanding how that effect occurs. An effect modifier may need to be reported rather than “controlled away.” Conditioning on a collider may introduce an association that was not previously present.

The difference between effect modifiers, moderators, and confounders is therefore not semantic housekeeping. It determines what analysis means.

Confounding Is One Threat Among Several

An adjusted analysis can still be biased because of participant selection, exposure misclassification, outcome measurement, missing data, or selective reporting.

Cochrane's ROBINS-I framework reflects this explicitly by assessing confounding separately from participant selection, intervention classification, missing data, outcome measurement, and reporting.

This broader perspective prevents researchers from treating adjustment as proof that an observational study is unbiased. Confounding is one part of the larger set of threats that can weaken a research inference.

04 · A Practical Example

How a Third Factor Can Change the Story

Hypothetical Example

AI tutoring and examination performance

A researcher follows 400 university students and finds that frequent users of an optional AI tutoring platform score an average of six points higher on the final examination than students who rarely or never use it.

Observed association Frequent AI tutoring use is associated with higher examination scores.
Potential confounder Students with higher prior academic achievement may be more likely to adopt optional learning technologies and are also likely to perform better on later examinations.
Causal concern Part of the six-point difference may reflect pre-existing achievement rather than an effect of the AI tutoring platform.
Design and analysis The researcher measures prior achievement before platform use and incorporates it, together with other causally justified confounders, into an appropriate adjustment strategy.
Adjusted result Suppose the adjusted estimated difference is three points rather than six.
Interpretation The change is consistent with baseline differences explaining part of the crude association, but adjustment does not prove that all confounding has disappeared. Unmeasured and residual confounding, selection, measurement error, and model assumptions still need consideration.

The correct lesson is not that the “real effect” must be three points simply because the regression model produced that estimate. The adjusted estimate is more defensible only to the extent that the confounding structure, measurements, model, and required assumptions are defensible.

05 · What Researchers Often Get Wrong

Common Misunderstandings About Confounding

Misconception

Is Any Variable Associated With Both X and Y a Confounder?

No. Statistical association alone does not determine causal role. A variable could be a mediator, collider, proxy, consequence of the exposure, or another type of variable. Confounder selection should be informed by temporal ordering, substantive knowledge, and causal reasoning.

Misconception

Can I Find Confounders by Testing Which Variables Are Statistically Significant?

That is not a reliable general strategy. Sample-specific P values do not determine whether a variable causes confounding. Important confounders can appear statistically nonsignificant, while strongly predictive variables may not need adjustment for the causal effect being estimated.

Misconception

Should I Control for Every Available Variable?

No. More adjustment is not automatically better. Controlling for mediators can remove part of the effect of interest, while conditioning on colliders can introduce bias. Adjustment variables should be selected according to the causal question rather than the size of the dataset.

Misconception

If the Adjusted Estimate Is Smaller, Does That Prove Confounding Was Removed?

No. A change after adjustment can be compatible with confounding control, but it does not establish that the remaining estimate is unconfounded. The result still depends on variable measurement, model specification, selection processes, and assumptions about unmeasured confounding.

Misconception

Is Effect Modification Another Form of Confounding?

No. Confounding is a distortion researchers generally seek to address when estimating a causal effect. Effect modification concerns genuine variation in an effect across levels of another factor and may be scientifically important to describe rather than eliminate.

06 · What This Means for You

Identify Confounders Before Choosing the Adjustment Model

The most useful question is not “Which covariates should I put into my regression?” It is “What causal relationship am I trying to estimate, and what variables create noncausal pathways between my exposure and outcome?”

That question should ideally be addressed during study design, before the outcome results are known.

A simple decision framework

If a factor plausibly causes or predicts both exposure assignment and the outcome
Consider it as a potential confounding domain and determine how it can be addressed through design or appropriate measurement and analysis.
If the variable occurs after and is caused by the exposure
Do not automatically treat it as a baseline confounder; determine whether it is a mediator or part of a more complex time-varying causal structure.
If a variable was selected only because its P value was small
Reconsider its causal role rather than assuming statistical significance makes it a confounder.
If an important confounding domain was not measured adequately
Do not claim that conventional adjustment eliminated it. Consider appropriate sensitivity methods and qualify the causal interpretation.
If the apparent effect differs across subgroups
Determine whether you are observing effect modification rather than treating the subgroup variable automatically as a nuisance confounder.

Confounding control is therefore an argument about causal structure supported by design, measurement, and analysis. The regression table comes rather late in that argument, despite its tendency to receive most of the attention in manuscripts.

07 · A Quick Checklist

Before Calling a Variable a Confounder

When evaluating potential confounding, check:
Define the exposure, outcome, causal effect, population, and time period you are trying to estimate.
Use subject-matter knowledge and relevant literature to identify plausible common causes of exposure and outcome.
Establish temporal ordering rather than selecting confounders solely from observed statistical associations.
Distinguish potential confounders from mediators, effect modifiers, and variables that could create bias when conditioned upon.
Measure important confounding domains as accurately as reasonably possible before the exposure or intervention where appropriate.
Choose design and analytic methods appropriate to the confounding structure rather than adjusting for every available variable.
Consider whether important confounders remain unmeasured or inadequately measured after adjustment.
Report the rationale for selecting adjustment variables and avoid implying that an adjusted estimate is automatically free from confounding.
08 · Frequently Asked Questions

Frequently Asked Questions About Confounding

What is confounding in simple terms?

Confounding occurs when another factor becomes mixed into the relationship you are trying to estimate. For example, if motivation influences both use of an optional learning tool and academic performance, the observed tool-performance association may partly reflect motivation.

What are the criteria for a confounding variable?

A traditional introductory rule is that a confounder is associated with the exposure, independently associated with the outcome, and is not a consequence of the exposure. These criteria are useful as a starting point, but modern causal inference emphasizes the variable's position in the causal structure rather than relying only on observed associations.

Is age always a confounder?

No. Age is a common confounder in many studies because it influences numerous exposures and outcomes, but no variable is automatically a confounder simply because researchers routinely adjust for it. Its role depends on the causal question and data-generating process.

What is the difference between a confounder and a mediator?

A confounder creates a noncausal pathway that distorts the exposure-outcome relationship of interest. A mediator lies on a pathway through which the exposure affects the outcome. Adjusting for a mediator can remove part of the causal effect rather than merely remove confounding.

What is the difference between confounding and effect modification?

Confounding is distortion of an effect estimate caused by the structure of the comparison and generally needs to be addressed for causal estimation. Effect modification means that the effect itself differs across levels of another variable and may therefore represent an important substantive finding.

Can randomization eliminate confounding?

Successful random assignment provides strong protection against baseline confounding because treatment assignment is not determined by baseline prognostic characteristics. Randomized studies can still experience other biases, post-randomization complications, chance imbalances, missing data, and measurement problems.

Can regression eliminate all confounding?

No. Regression can adjust for measured variables under specified model assumptions. It cannot guarantee control of unmeasured confounders, measurement error, inappropriate covariate selection, selection bias, or model misspecification.

09 · The Bottom Line

Confounding Is a Causal Problem Before It Is a Statistical Problem

The Bottom Line

Confounding occurs when the relationship you want to estimate becomes mixed with another causal influence, so the observed exposure-outcome association does not cleanly represent the effect of interest.

Identify plausible confounders using substantive knowledge, temporal ordering, and causal reasoning rather than P values alone. Address them through design and appropriate analysis where possible, but do not assume that adding covariates to a statistical model proves that all confounding has disappeared.

10 · Sources and Further Reading

Authoritative Resources on Confounding

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