Correlation measures how much the occurrence of one event changes the probability of another, comparing the probability of the intersection with the one we would have if the two events were independent.

Definition — Correlation

The correlation between two events AA and BB is the quantity: corr(A,B)=P(AB)P(A)P(B)1.\operatorname{corr}(A,B) = \frac{P(A \cap B)}{P(A) \cdot P(B)} - 1.

  • If corr(A,B)=0\operatorname{corr}(A,B) = 0: the events are independent (a definition equivalent to P(AB)=P(A)P(B)P(A \cap B) = P(A)P(B)).
  • If corr(A,B)>0\operatorname{corr}(A,B) > 0: positive correlation. The occurrence of BB favours AA, that is, P(AB)>P(A)P(A \mid B) > P(A).
  • If corr(A,B)<0\operatorname{corr}(A,B) < 0: negative correlation. The occurrence of BB works against AA, that is, P(AB)<P(A)P(A \mid B) < P(A).

Example — Independent vs correlated events

I roll two fair dice. Event AA: “the first die shows 6”. Event BB: “the second die shows 6”. P(A)=P(B)=1/6P(A) = P(B) = 1/6, P(AB)=1/36P(A \cap B) = 1/36. The product P(A)P(B)=1/36P(A) \cdot P(B) = 1/36 coincides with P(AB)P(A \cap B): independent. ✓

Event CC: “the sum of the two dice is 1212”. P(C)=1/36P(C) = 1/36 (only the outcome (6,6)(6,6)). P(CA)P(C \mid A): knowing that the first is 66, the second must be 66: P(CA)=1/6P(C \mid A) = 1/6. Since 1/6>1/361/6 > 1/36, the two events AA and CC are positively correlated.

Topics: Probability
Concepts: Correlation · Independent events · Conditional probability
Skills: Calculating probability