Confounders and Effect Modifiers

Rodolfo Pizarro1 ID· Leandro Barbagelata2 ID

1 Head of Cardiology, Hospital Italiano de Buenos Aires. Master in Clinical Effectiveness.
2 Cardiologist. Cardiology staff, Hospital Italiano de Buenos Aires.
City of Buenos Aires, Argentina.

Acta Gastroenterol Latinoam 2025;55(4):273-275

Received: 05/11/2025 / Accepted: 05/12/2025 / Published online: 23/12/2025 / https://doi.org/10.52787/agl.v55i4.560

According to the classic definition, a confounder is a variable that is associated with both the exposure and the outcome, although it is not on the causal pathway. This could generate spurious associations or obscure existing ones. For instance, a study investigating the association between hypertension and heart failure risk should consider overweight participants, an independent predictor of heart failure (HF) that is likely associated with high blood pressure. (Figure 1)

Ideally, confounding factors are controlled during the design of the study. In a randomized clinical trial (RCT), for instance, randomization aims to prevent third variables of interest from being unbalanced by treatment assignment, thereby reducing potential confounding. In population-based studies or clinical settings where randomization is not feasible or ethical, confounding can be mitigated through multivariable adjustment in regression models or alternative modern approaches to causal inference (e.g., propensity score methods).

Figure 1. The relationship between hypertension (exposure) and the risk of congestive heart failure (outcome variable) may be confounded by overweight (confounder), which is a risk factor for developing heart failure and is possibly associated with hypertension

It is necessary to distinguish the concept of a confounder, as previously explained, from the concept of effect modifier.

An effect modifier is a third variable whose presence modifies the strength of the association between the exposure of interest and the outcome. Unlike confounding, effect modifiers should not be adjusted or eliminated, but described.

In the previous example, diabetes may modify the effect of the relationship between hypertension (HTN) and congestive heart failure (CHF), as it may be different in those with and without diabetes. From an analytical point of view, effect modification can be detected by presenting results that are stratified by the level of the effect modifier variable (e.g., hypertension × diabetes) or by including an interaction term in the regression model. This is achieved by including the product of the effect modifier and the main exposure variable (in this example, HT x diabetes), which will have a statistically significant p - value. (Figure 2)

Figure 2. Diabetes can act as an effect modifier in the relationship between hypertension and congestive heart failure; if we stratify it and there are differences between individuals with and without diabetes, we are dealing with an effect modifier of this relationship

This can be exemplified as follows: Univariate analysis of the relationship between hypertension and the risk of congestive heart failure

We include the overweight variable (univariate analysis

The relationship between hypertension and the risk of congestive heart failure is altered by to the presence of a second variable (overweight). The hazard ratio of the univariate relationship is attenuated when adjusting for overweight (2.1 to 1.2), and the confidence interval is less than 1, which is not statistically significant). Therefore, overweight is a confounder of the relationship between hypertension and congestive heart failure.

If we stratify by the presence or absence of diabetes: Patients with diabetes

Patients without diabetes

As we can see, the relationship between hypertension and congestive heart failure differs depending on whether we stratify by the presence or absence of diabetes (effect modifier); we can also include the product of the interaction of Diabetes × Hypertension in the multivariable model of heart failure.

The concept of a confounder is key in observational studies in which the aim is to assess causality, since the baseline characteristics of the participants are not balanced between groups (i.e., not randomized), and must be adjusted for.

In observational studies, confounding is a source of bias that must be controlled through design or analysis, whereas effect modification represents real heterogeneity of effect between subgroups and must be described. Distinguishing confounding factors from effect modification is a prerequisite for proper causal interpretation.

Intellectual property. The authors declare that the data and tables in this article are original and were carried out at their institutions.

Funding. The authors declare that there were no external sources of funding.

Conflict of interest. The authors declare that they have no conflicts of interest in relation to this article.

Copyright

© 2025 Acta Gastroenterológica latinoamericana. This is an open-​access article released under the terms of the Creative Commons Attribution (CC BY-NC-SA 4.0) license, which allows non-commercial use, distribution, and reproduction, provided the original author and source are acknowledged.

Cite this article as: Pizarro R y Barbagelata L. Confoun- ders and Effect Modifiers. Acta Gastroenterol Latinoam. 2025;55(4):273-275. https://doi.org/10.52787/agl.v55i4.560

Bibliografy

Bellavia A, Murphy SA. Confounders, Effect Modifiers, and Mediators. Circulation 2025.

Lee H et al. AGReMA statement. JAMA 2021.

Jager KJ et al. Confounding: What it is and how to deal with it. Kidney Int 2008.

Kiriakou DN, Lewis DJ. Confounding by indication. JAMA 2016.

Desai RJ, Franklin JM. Approaches for confounding adjustment. BMJ 2019.

Correspondence: Leandro Barbagelata
Email: leandro.barbagelata@hospitalitaliano.org.ar

Acta Gastroenterol Latinoam 2025;55(4):273-275