Skip to text
Measure of Chance

Chapter X · 18 min

Joint Distributions

How variables move together

Causal claims cannot be substantiated from associations alone.

After Judea Pearl, Causality (2000)

One number is rarely the whole experiment. Height and weight, a feature and a label, today’s error and yesterday’s — these come in pairs. A joint distribution is a probability on pairs. From it you recover each variable’s private distribution (the marginals) and the way they move together (covariance, and stronger notions).

Tables and marginals

For discrete , the joint pmf is . Rows (or columns) sum to the marginals:

Conditionals are renormalised slices: . Independence of the random variables is independence of all events they generate, and is equivalent to the product of the joint:

0.020.040.080.030.030.120.140.050.040.100.180.070.010.030.040.02darker = more joint mass
A joint table as a heat map. Darker cells carry more probability. A marginal is a row-sum or column-sum; independence would make every cell a product of its margins.

Covariance and correlation

Covariance is the expected product of centred variables,

It is positive when they tend to sit on the same side of their means, negative when they tend to sit on opposite sides, and zero when those tendencies cancel (or never existed). Correlation rescales to :

Uncorrelated is weaker than independent: independence implies (when the moments exist), but zero correlation only kills linear association. A symmetric banana-shaped cloud can have and still be completely dependent.

Correlation is not causation

Ice cream sales and drowning deaths rise together. A third variable — heat — drives both. The joint distribution of sales and drownings is real; the arrow from cones to casualties is not. Probability on observables cannot, by itself, name a mechanism. You need an assumption about how the world was generated: an experiment, an instrumental variable, a causal graph. Pearl’s book in Further Reading is the long form of this paragraph.