Work through these six prompts in order. Each one supplies what the next one needs.
1 · Before you start
Have a crude and an adjusted model for the same outcome, with baseline variables chosen before comparing the estimates.
Words used on this page
Confounder
a pre-exposure cause of, or defensible proxy for causes of, both exposure and outcome.
Mediator
a variable on the pathway through which an exposure may influence an outcome.
Collider
a common consequence of two variables; conditioning on it can create bias.
Confounding by indication
treatment is more likely in people already at higher clinical risk.
Residual confounding
confounding that remains because variables were unmeasured or measured imperfectly.
2 · Why this comes now
The reviewed and unreviewed groups were not created by randomisation. Comparing crude and adjusted estimates now shows how measured baseline differences alter the association and what uncertainty remains.
3 · Do this now
Draw baseline causes before medication review and six-month outcomes after it.
Classify each candidate variable as a confounder, mediator, collider or duplicate measure.
Compare the medication-review estimate from the crude and pre-specified adjusted models.
Same step in Stata and SPSS
Run Section 06 in Stata or SPSS. Compare the same medication-review coefficient and confidence interval across models; do not choose adjustment variables because they change a p-value.
4 · Read this
Read the direction and size of the estimate change, not only whether either p-value crosses 0.05. Then ask which measured baseline differences explain that change and which unmeasured differences could remain.
5 · Ready to continue when
You can justify each included baseline variable, identify variables that should not be adjusted for automatically and state that residual confounding is still possible.
A confounder is a pre-exposure common cause of the exposure and outcome,
or a measured proxy that belongs in a defensible adjustment set. In this
teaching cohort, baseline frailty increases the chance of receiving a
medication review and the chance of later disability.
Baseline frailty → review
Selection into exposure
Frailer participants are more likely to receive a structured review.
Baseline frailty → outcome
Baseline risk
The same frailty measure predicts disability, quality of life, falls and admission.
Covariates should be selected before looking at which version gives the
preferred result. A “10% change” rule or a univariable p-value is not a
causal model.
Worked change
Crude and adjusted answer different questions.
Disability · crude
OR 1.04: the observed groups have almost identical unadjusted odds.
Disability · adjusted
OR 0.64 after accounting for the pre-specified baseline covariates.
Quality of life · crude
Mean difference −0.001: essentially no unadjusted difference.
Quality of life · adjusted
Mean difference +0.047 after separating review status from recorded baseline risk.
Representative output · same teaching data in all three routes
Crude versus adjusted disability model
Medication-review estimate Odds ratio 95% CI
Crude 1.04 0.70 to 1.54
Adjusted* 0.64 0.41 to 1.01
* age, sex, living alone, deprivation, medication count,
baseline frailty and baseline disability
What the output means
The crude model compares the observed exposure groups as they entered the cohort. The adjusted model compares them conditional on the recorded baseline variables. Movement from 1.04 to 0.64 is consistent with confounding by indication: participants at higher baseline risk were more likely to receive a review. The adjusted interval still includes 1, and unmeasured confounding may remain.
Write the interpretation like this
The crude odds ratio for six-month disability was 1.04 (95% CI 0.70 to 1.54). After adjustment for the pre-specified baseline covariates, the odds ratio was 0.64 (95% CI 0.41 to 1.01). The change was consistent with confounding by indication, although residual confounding cannot be excluded.
Stata
Store the crude and adjusted models, then compare the medication-review estimate rather than comparing p-values.
Adjustment changes an estimate under model assumptions; it does not
repair unmeasured confounding, measurement error, selection bias or a
poorly defined causal question.
What not to adjust for
Mediators and colliders need different handling.
Role
Relationship
Default implication
Confounder
Common cause of exposure and outcome.
Often belongs in the adjustment set if measured well.
Mediator
On the causal path from exposure to outcome.
Do not adjust if estimating the total effect.
Collider
Common effect of two variables.
Conditioning can create bias.
Precision variable
Predicts outcome without causing exposure.
May improve precision but is not a confounder.
DAGitty tutorials
Interactive explanations of confounders, mediators, colliders and adjustment sets.