Introduction
Medicine constantly asks whether one factor affects another: does smoking raise blood pressure, does a drug lower glucose? Statistics describes how two variables change together, but turning an association into a cause needs more than a number.
Two kinds of dependence
| Type | Definition | Example |
|---|---|---|
| Functional | Each value of x gives exactly one value of y | Body surface area from height and weight by formula |
| Correlational (statistical) | Each value of x goes with a range of y values; the link shows only on average | Height and weight of students |
Biological relationships are almost always correlational, because many other factors act at the same time.
Describing a correlation
- Direction: positive (both rise together) or negative (one rises, the other falls).
- Form: linear (a straight line fits) or curvilinear.
- Strength: the correlation coefficient r runs from −1 to +1; 0 = no linear relationship. Common guide: below 0.3 weak, 0.3 to 0.7 moderate, above 0.7 strong.
- Always start with a scatter diagram: it shows the direction, the form and outliers before any coefficient is calculated.
Methods
| Method | Use |
|---|---|
| Scatter diagram | First look at the relationship |
| Pearson correlation (r) | Two quantitative, roughly normal variables with a linear relationship |
| Spearman rank correlation (rs) | Ordinal data, skewed data, or a non-linear but monotonic relationship |
| Regression analysis | Describes the relationship by an equation and predicts y from x |
| Coefficient of determination (r²) | Share of the variation of y explained by x |
- The coefficient must be tested for significance: in a small sample a large r can arise by chance.
Regression in brief
- y = a + b·x: y is the dependent variable (outcome), x the independent variable (factor).
- a (intercept) = the value of y when x = 0; b (slope, regression coefficient) = the change in y for each one-unit change in x.
- The line is fitted by the least squares method (smallest sum of squared vertical distances).
- r² × 100 = percentage of the variation of y explained by x. With r = 0.8, r² = 0.64: x explains 64% of the variation in y and 36% is due to other factors.
Regression and r²: The intercept, the slope and how much of the variation the line explains.
Correlation is not causation
A strong correlation between x and y can arise because:
- x causes y
- y causes x (reverse causation)
- a third factor causes both (confounding: yellow fingers and lung cancer both come from smoking)
- chance in a small sample
- bias in how the sample was chosen
Why do x and y move together?: Five explanations for a strong correlation; only one of them is that x causes y.
Accepting a cause: the Bradford Hill criteria
- Strength of the association (a large RR)
- Consistency: found by different studies, places and methods
- Specificity: one cause, one effect
- Temporality: the cause comes before the effect (the only essential criterion)
- Biological gradient: more exposure, more disease (dose-response)
- Plausibility and coherence with existing biology
- Experiment: removing the cause reduces the disease
- Analogy with known causes
High-yield points
- Functional dependence is exact; correlational dependence shows only on average.
- r: sign = direction, size = strength; test it for significance.
- Pearson for normal quantitative data, Spearman for ranks or skewed data.
- r² = share of variation explained.
- Correlation is not causation; temporality is the essential causal criterion.
Memory aid
Before you blame x, rule out the other four suspects: reverse causation, a third factor, chance and bias.