What is this about?
Imagine a university that admits only applicants whose grades and test score together are high enough. Among the admitted, it then looks as if people with good grades have worse test results — although in the general population the two have nothing to do with each other. The selection itself creates the spurious relationship. Technically, the quantity used for selection is called a
collider: both variables act on it (X → Z ← Y), and whoever selects on it opens a spurious path between X and Y. The example in the tool: an HR department rates talent (X) and diligence (Y), which are uncorrelated in the population; career success Z depends on both. If you look only at the most and least successful, a negative correlation suddenly appears.
How to proceed
1. Causal structure (DAG) — understand X → Z ← Y as a collider.
2. Basic principle — why selecting on the sum X + Y forces a negative dependence: all selected persons lie close to a line with slope −1.
3. Total population vs. selected group — total population (grey) and selected extreme group (red) in direct comparison.
4. Concepts — the selection modes (top, bottom, both extremes) and how strongly the effect depends on the noise in Z.
What to watch for
Selecting on or controlling for a collider creates spurious relationships — normally a collider blocks the flow of information between X and Y.
Even with a positive baseline correlation, strong selection can reverse the direction of the observed relationship.
Collider bias is common and hard to spot: classic cases are hospital studies (Berkson's original),
survivorship bias or samples that capture only successful people.
Things to try
Set the baseline correlation ρ_XY to +0.40 and choose a strong one-sided selection (e.g. the top 10%): the relationship flips to negative in the selected range although it is positive in the population.
What's next?
Lord's Paradox shows a related trap: two statistically correct analysis
methods on the same data can reach opposite conclusions.