Effect Modification in Studies
📘 Observational Studies in Epidemiology: Study Design, Confounding, and Bias
Effect Modification (Interaction)
Effect modification occurs when the association between an exposure (or intervention) and an outcome is different across levels of a third variable. It is also called interaction or synergy. The effect can be larger or smaller depending on the subgroup.
The relationship between the outcome and the intervention is modified by a third variable.
Example: A new cardiovascular drug might lower blood pressure differently in men vs. women — sex is an effect modifier.
Classic example: Smoking and asbestos exposure and lung cancer risk.
Smoking alone increases lung cancer risk by amount A.
Asbestos alone increases risk by amount B.
If both exposures are present, the combined risk may be greater than A + B (synergy) or possibly less than A + B (antagonism).
Effect modification is distinct from confounding — it describes a difference in effect, not a spurious association.
Different professions define effect modification differently (statisticians, public health workers, lawyers, biologists). It is useful to read the chapter by Neal Pearce for profession-specific definitions.
Confounding
Confounding occurs when two or more variables (known or unknown to the researcher) have mixed effects on the outcome, making it appear that one variable causes the outcome when it is actually another variable.
Confounders are associated with both the exposure and the outcome.
They may be known or unknown — unknown confounders are particularly dangerous because they are often unmeasured.
Example: Carrying matches in your pocket appears associated with lung cancer. But the real cause is cigarette smoking — matches are used to light cigarettes. Smoking is the confounder.
Historical example: A 1981 New England Journal of Medicine study suggested coffee drinking causes pancreatic cancer. However, smoking is a known risk factor for pancreatic cancer and is also associated with coffee drinking. After controlling for smoking properly, the association disappeared.
Confounding means the observed association between exposure and outcome is at least partially due to a third variable that is related to both.
Handling Confounding
Identify all potential confounders and measure them (often in multiple ways, e.g., smoking: current/former/never, pack-years, etc.).
Adjust for confounders in statistical models — most statisticians recommend including confounders in a regression model rather than stratifying.
Residual confounding occurs when a confounder is poorly measured (e.g., physical activity measured only by steps per day, missing other dimensions). This can leave part of the confounding effect unaccounted for.
Randomization and Confounding
Randomization helps protect against confounding by balancing known and unknown confounders between groups, but it does not prevent confounding entirely.
Problems like non-random dropout (attrition) or unblinding can reintroduce confounding even in randomized trials.
Example from early HIV trials: Some patients tested their drugs, and if they thought they were on placebo, they dropped out or bought the active substance elsewhere — breaking randomization.
Pictorial Representation of Confounding and Effect Modification
From John Powers' lectures:
No confounding, no effect modification: The outcome is similar across baseline variable values; test and control groups show the same effect size.
Confounding, no effect modification: The baseline variable affects the outcome (slope), but the distance between test and control arms remains constant — the treatment effect is the same regardless of the baseline variable.
Effect modification: The slopes of the lines for test and control groups are different — the treatment effect varies by level of the baseline variable.
Both confounding and effect modification: Both a slope difference and a difference in slopes — more complex.
Introduction to Epidemiology
Epidemiology is the study of the distribution and determinants of disease and injury in populations (human, animal, plant, or any other).
Basic tenet: Disease does not occur at random. Causal and preventive factors can be identified through systematic investigation.
Epidemiology is often thought of as studying epidemics (e.g., outbreaks), but it also includes large cohort studies (e.g., Nurses' Health Study, Cardiovascular Health Study).
It is considered a cornerstone of public health research.
Observational studies are often the only feasible approach for studying prevention, rare diseases, or exposures that cannot be randomized (e.g., smoking in humans).
Challenges in Epidemiology
You must measure many variables accurately over time.
Measurement methods may change, and diagnostic criteria may evolve.
You never know what you don't measure — unmeasured confounders are the biggest worry.
Epidemiology provides circumstantial evidence, akin to hypothesis generation. It can distinguish association but not necessarily causation without additional evidence (e.g., experimental studies).
Causal Inference: The Bradford Hill Criteria
The Bradford Hill criteria were developed to assess whether an observed association from observational studies is causal.
Strength of association — larger associations are more likely to be causal.
Consistency — the association is replicated across different studies and populations.
Specificity — one cause leads to one effect (not always necessary).
Temporality — cause must precede effect (often violated in retrospective studies).
Biological gradient (dose-response) — increasing exposure increases risk (or sometimes a U-shaped curve).
Plausibility — a biologically plausible mechanism exists.
Coherence — the association is coherent with known facts.
Experiment — experimental evidence (e.g., from animal studies) supports the association.
Analogy — similar exposures cause similar effects.
Statistical significance is not enough — with large sample sizes, even tiny effects become significant.
Dose-response and temporality are often where causal inference fails.
Biological plausibility can sometimes be constructed post-hoc for almost any result, so it is not definitive.
Types of Observational Study Designs
Case Reports and Case Series
Case report: Detailed description of a single patient with a unique characteristic (e.g., unusual disease presentation, cluster of symptoms).
Case series: A collection of similar case reports, usually without a comparison group.
Often arise from clinical observation — a clinician notices something unusual.
Require well-defined populations, clear descriptions of the phenomenon, and reliable, reproducible observations.
Typically present means, medians, standard deviations (though unreliable for small sample sizes, e.g., <10), proportions, and sometimes subgroup data.
Used for hypothesis generation and describing natural history.
Biased patient selection is common — the cases may not be generalizable.
Classic example: The 1981 report of five cases of Pneumocystis pneumonia in previously healthy homosexual men — led to the discovery of AIDS.
Cross-Sectional Surveys
A snapshot in time — observe the prevalence of characteristics or disease in a defined population at a single point.
Steps:
**Define the population** (e.g., all adults 18+ in the US).
**Derive a representative sample**.
**Define characteristics** being studied (e.g., blood pressure measurement method).
**Standardize observations** — train data collectors, use consistent methods.
**Apply methods equally** to all participants.
Prevalence = number of people with disease / number of people at risk (a snapshot).
Prevalence = incidence × duration.
Incidence = number of new cases over time / number of people at risk at start.
Cross-sectional surveys describe distributions of factors (e.g., age, sex) and associations between factors.
Analysis often uses regression rather than simple chi-square tests, to adjust for confounders.
Positives: Cheap for common diseases, more representative than case series, quick (<1 year), wide variety of simultaneous measurements.
Negatives: Not suitable for rare diseases or short-duration diseases (recall bias), high refusal rates, temporal relationship hard to establish.
Example: NHANES (National Health and Nutrition Examination Survey) on obesity and mortality. An influential study initially omitted age from the model — when age was added, the association between overweight and mortality changed dramatically (overweight appeared protective).
Case-Control Studies
Efficient for rare diseases or diseases with long latency periods.
Identify a group of cases (with disease) and a group of controls (without disease), then determine their past exposures.
Key: Cases and controls must come from the same source population to avoid selection bias.
Controls should represent the non-diseased population. Often matched on variables (e.g., age, sex) or multiple control groups are used (e.g., hospital controls, neighborhood controls, general population controls).
Information must be collected identically for cases and controls (same interviewers, same protocols). Recall bias is a major issue — cases may remember exposures differently.
Analysis: Use regression (logistic regression) to estimate odds ratios (OR). For rare diseases, OR approximates relative risk.
Positives: Good for rare diseases, can study multiple risk factors simultaneously, less time-consuming and cheaper than cohort studies.
Negatives: Cannot estimate incidence or prevalence directly; temporal sequence is hard to establish; bias is a major concern.
Classic example: Case-control study linking diethylstilbestrol (DES) exposure during pregnancy to a rare vaginal cancer in young women (1974).
Another example: Link between intraocular lens material and post-operative infection following cataract surgery.
Cohort Studies
Prospective (concurrent) cohort: Follow a group of people forward in time, comparing incidence of outcomes between exposed and unexposed groups.
Retrospective (non-concurrent) cohort: Use historical records to define exposure status in the past and track outcomes (e.g., from employment records).
Steps:
**Define the population** and exposure status (exposed vs. unexposed).
**Follow them forward** (or backward) and measure outcomes.
**Apply consistent outcome definitions** throughout.
**Minimize loss to follow-up** — >20% non-response raises concerns.
Advantages:
Can examine multiple outcomes from a single exposure.
Directly calculate incidence rates and relative risks.
Less bias than case-control studies (if done well).
Good for studying rare exposures.
Can capture natural history of disease.
Disadvantages:
Often require long follow-up (years to decades).
Expensive and difficult to maintain contact.
Need large sample sizes.
Not suitable for rare diseases (unless exposure is common).
Changes in disease definitions over time can complicate analysis.
Example: British Doctors Study (1954, 50-year follow-up) linking smoking to lung cancer.
Example: World Trade Center Health Registry — following cleanup workers for respiratory and PTSD outcomes.
Example: Cardiovascular Health Study — studying aging in adults 65+ on Medicare.
Nested Case-Control and Case-Cohort Studies
Nested case-control: Within an existing cohort, select all new cases and a sample of controls (often matched). Useful for expensive assays — only test a subset.
Case-cohort: Select all incident cases and a random subset of the cohort (non-cases) for comparison.
Advantages: Efficient, less selection bias than traditional case-control, can use stored samples.
Bias in Observational Studies
Bias is any systematic error that makes the study value differ from the true value. Many types exist, but the core issue is inaccurate measurement or selection.
Selection bias (prevalence-incidence bias): If exposure leads to early death, you may miss those cases entirely. Also from non-response (people unwilling/unable to participate).
Recall bias: Cases may remember exposures differently than controls (e.g., mothers of children with birth defects recall pregnancy exposures more vividly).
Interviewer bias: Interviewers may probe cases more aggressively for exposure history.
Diagnostic suspicion bias: Knowing exposure status may influence how aggressively you look for disease.
Family information bias: Family history may be inaccurately reported due to stigma, secrecy, or selective memory.
Minimizing bias: Use standardized data collection, blind interviewers, use multiple control groups, conduct sensitivity analyses.
Key Takeaways
Observational studies are essential when randomization is impossible or unethical.
Effect modification tells you for whom the exposure matters; confounding tells you when an association is misleading.
Randomization is the gold standard, but it does not guarantee freedom from confounding (attrition, non-compliance).
Always measure everything possible, adjust for known confounders, and be honest about limitations.
Use regression (logistic, Cox, linear) to analyze observational data rather than simple 2×2 tables and chi-square tests.
Causation requires more than association — use the Hill criteria and experimental evidence where possible.
The biggest mistake is designing a randomized trial when the question truly requires an observational study — or vice versa. Think carefully about feasibility, ethics, and the need for generalizability.

Ask anything
We've read this whole study set, so questions about it get the best answers.