What does this tool show?
Lord's paradox (1967) is the observation that two correct statistical analyses — the difference-score method and ANCOVA — can lead to opposite conclusions. The paradox doesn't arise from an error, but because the two methods answer different causal questions.
The running example
A university compares two courses: Course A (standard instruction) and Course B (intensive course with tutorials). Students are tested in math at the start (pre) and end (post) of the semester. Course B has a higher average starting level — stronger students choose the intensive course.
The two analyses
Difference score (post − pre): how large is the mean improvement per course? If both courses improve by the same amount, the difference-score analysis finds no effect.
ANCOVA (post ~ course + pre): at the same starting level — does one course end up ahead? Because Course B starts at a higher level and regression to the mean dampens this, Course B looks better in the ANCOVA comparison.
The key formula — derivation
Both analyses start from the same four summary numbers: the pre- and post-test means per course (ȳpre,A, ȳpost,A, ȳpre,B, ȳpost,B). A small rewrite shows exactly why the two methods diverge — no new assumption, just algebra.
Step 1 — rewrite δDiff: with Δ = mean(post − pre), δDiff = ΔB − ΔA is the same as:
δ_Diff = (ȳ_post,B − ȳ_pre,B) − (ȳ_post,A − ȳ_pre,A)
= (ȳ_post,B − ȳ_post,A) − (ȳ_pre,B − ȳ_pre,A)
= (ȳ_post,B − ȳ_post,A) − Δ_base
So δDiff subtracts the full starting-level difference Δbase from the raw post-test difference — it implicitly assumes that one point of pre-test lead translates 1:1 into one point of post-test lead (a slope of 1).
Step 2 — δANCOVA makes the same correction, but with an estimated rather than an assumed slope:
δ_ANCOVA = (ȳ_post,B − ȳ_post,A) − b_w · Δ_base
Instead of subtracting Δbase in full, ANCOVA weights it by the estimated within-group slope bw — how much a point of pre-test lead actually translates into a point of post-test lead, on average.
Step 3 — subtract the two formulas (the raw post-test difference cancels out exactly):
δ_ANCOVA − δ_Diff = [(ȳ_post,B−ȳ_post,A) − b_w·Δ_base] −
[(ȳ_post,B−ȳ_post,A) − Δ_base]
= (1 − b_w) · Δ_base
⟹ δ_ANCOVA = δ_Diff + (1 − b_w) · Δ_base
The correction term (1 − bw) · Δbase vanishes exactly when either bw = 1 (no regression to the mean) or Δbase = 0 (no starting-level difference, as is usually the case in an RCT).
What exactly is bw — and why ≈ ρ?
bw ("within-group slope", pooled) is the slope you get when you regress post on pre separately within each course and pool the two slopes across courses — exactly the slope that an ANCOVA with a common-slope assumption (Post ~ Pre + Course, no interaction) estimates internally.
For a bivariate normal distribution, the general formula for the regression slope of Y on X is:
b = ρ · (σ_Y / σ_X)
Here Y = post, X = pre, so bw = ρ · σpost/σpre. If the spread barely changes from pre- to post-test (σpost ≈ σpre — exactly how this tool simulates it, and realistic in many test-retest settings), this simplifies to bw ≈ ρ. That's why the ρ slider on the left acts almost directly on how far the two methods diverge.
The intuition: a difference score is ANCOVA with a fixed slope
Comparing steps 1 and 2 reveals the core of the paradox: difference scores are mathematically nothing other than ANCOVA with bw not estimated, but stubbornly fixed at 1. Whether that's justified depends on the design — in an RCT, Δbase is already ≈ 0, so fixing the slope has essentially no consequence; in an observational study with a genuine starting-level difference, a wrongly fixed slope can account for the entire bias you incur.
Controls
Δ starting level: difference in the pre-test (Course B minus Course A). True effect: additional improvement from the intensive course (beyond the semester's general improvement). ρ (pre-post corr.): the closer to 1, the more strongly the two methods agree. Scenarios: four preset situations showing different aspects of the paradox.
Best practice: which tool when?
RCT: ANCOVA is preferable (higher power, random baseline differences get corrected). Observational study: the choice depends on the estimand — which causal question is to be answered? A DAG is needed. Both methods can be legitimate — for different questions.
References
Lord, F. M. (1967). A paradox in the interpretation of group comparisons. Psychological Bulletin, 68(5), 304–305.
Vickers, A. J. & Altman, D. G. (2001). Statistics notes: Analysing controlled trials with baseline and follow up measurements. BMJ, 323(7321), 1123–1124.
Senn, S. (2006). Change from baseline and analysis of covariance revisited. Statistics in Medicine, 25(24), 4334–4344.
Pearl, J. (2016). Lord's Paradox Revisited – (Oh Lord! Kumbaya!). Journal of Causal Inference, 4(2).