01 / 21

Bias &
Confounding

Learn to identify selection bias, recall bias, measurement bias, and confounding variables that threaten the validity of biostatistical studies.

Biostatistics

What Is Bias?

In biostatistics, bias is any systematic error in the design, conduct, or analysis of a study that causes the results to deviate from the truth. Unlike random error, bias pushes estimates consistently in one direction.

Bias cannot be reduced by simply increasing sample size: a biased study with \( n = 10{,}000 \) is still biased. Only proper study design prevents it.

Accuracy vs. Precision

No Bias Low Variance Biased Low Variance Biased High Variance

Why Bias Matters in Research

1
Invalid conclusions: Biased results may wrongly show a drug is effective (or ineffective), leading to harmful medical decisions.
2
Wasted resources: Biased studies can mislead entire research programmes, costing millions in follow-up trials based on false leads.
3
Cannot be fixed post hoc: Unlike random error (reduced by \( n \uparrow \)), bias requires redesigning the study from scratch.

Three Major Types of Bias

Selection Bias
Occurs when the sample is not representative of the target population due to how participants are chosen or retained.
Recall Bias
Occurs when participants remember past exposures differently depending on their disease status or outcome.
Measurement Bias
Occurs when data collection tools or methods systematically distort the measured values in one direction.

Deep Dive: Selection Bias

Target Population Biased Selection Biased Sample Over-represents one group

Recall & Measurement Bias

Recall Bias
Participants with a disease tend to search their memory more thoroughly for possible causes than healthy controls. Common in case-control studies.
Measurement Bias
A miscalibrated instrument (e.g., a scale that always reads \( 2 \text{ kg} \) high) or a biased interviewer shifts all measurements the same way.

What Is Confounding?

A confounder is a third variable \( Z \) that is associated with both the exposure \( X \) and the outcome \( Y \), distorting the apparent relationship between them. Confounding is not a bias in data collection: it is a structural problem in the causal pathway.

Exposure (X) Outcome (Y) Confounder (Z) Spurious association?

Classic Example: Coffee & Heart Disease

Coffee (X) Heart Disease (Y) Smoking (Z) Confounded link

Early studies found that coffee drinkers had higher rates of heart disease. But smoking was the confounder: smokers were more likely to drink coffee and more likely to develop heart disease. After adjusting for smoking, the coffee-heart disease link largely disappeared.

Bias vs. Confounding

Bias Confounding
Source Study design or measurement flaws Third variable in the causal structure
When it occurs During data collection Exists in nature, revealed in analysis
Fix in design Blinding, standardised tools, random sampling Randomisation, restriction, matching
Fix in analysis Generally cannot be corrected Stratification, multivariable regression
Increases with \( n \)? Systematic: persists at any \( n \) Persists at any \( n \), but can be adjusted

How to Identify a Confounder

1
Check association with exposure: Is \( Z \) associated with \( X \)? (e.g., is smoking related to coffee drinking?)
2
Check association with outcome: Is \( Z \) associated with \( Y \) independently of \( X \)? (e.g., does smoking cause heart disease?)
3
Not an intermediary: \( Z \) must not be on the causal pathway \( X \to Z \to Y \). If it is, adjusting for it would block the true effect.
4
Compare crude vs. adjusted: If the effect estimate changes by \( \geq 10\% \) after adjusting for \( Z \), confounding is likely present.

Controlling for Confounding

Randomisation
Randomly assigning subjects to groups distributes all confounders (known and unknown) equally. The gold standard.
Restriction
Limit the study to one level of the confounder (e.g., only non-smokers). Simple, but limits generalisability.
Matching
Pair cases and controls on the confounder (e.g., same age, sex). Common in case-control studies.
Stratification
Analyse the association within each level of the confounder separately, then combine using Mantel-Haenszel methods.

Example 1: Selection Bias

A hospital-based study investigates whether pesticide exposure causes asthma. Researchers recruit cases (asthma patients) and controls (patients with fractures) from the same hospital.

Hospital Patients Cases (Asthma) Controls (Fractures) Problem: fracture patients may have higher pesticide exposure (farm workers more prone to injury) → biased control group

Example 2: Recall Bias

A case-control study asks mothers of children with birth defects (cases) and mothers of healthy children (controls) about medication use during pregnancy.

Cases (birth defect)
Mothers search their memory intensely, may over-report medication use because they want to find a cause.
Controls (healthy)
Mothers have no reason to scrutinise their pregnancy, may under-report minor medication use.

Example 3: Confounding in Action

A study finds that people who carry lighters have higher rates of lung cancer. Does carrying a lighter cause lung cancer?

Lighter (X) Lung Cancer (Y) Smoking (Z) No causal link

Common Mistakes

✕ Confusing Bias with Confounding
Bias is a flaw in how data are collected. Confounding is a structural issue with variables in the real world. They require different solutions.
✕ Thinking Larger \( n \) Fixes Bias
Increasing sample size reduces random error, not systematic error. A biased study stays biased regardless of \( n \).
✕ Adjusting for a Mediator
If \( Z \) is on the causal path \( X \to Z \to Y \), adjusting for it blocks the true effect. Only adjust for confounders, not mediators.

Question 1 of 5

A survey on diet is conducted by recruiting participants from a health-food store. Customers report much healthier diets than the general population. Which type of bias is most likely present?

Question 2 of 5

In a case-control study, mothers of children with autism recall more details about prenatal exposures than mothers of healthy children. This is an example of:

Question 3 of 5

A study finds that ice cream sales are positively correlated with drowning deaths. Temperature is associated with both variables. Temperature is best described as:

Question 4 of 5

Which of the following strategies can control for both known and unknown confounders?

Question 5 of 5

A blood pressure monitor consistently reads \( 5 \text{ mmHg} \) too high for every patient. This is an example of: