Joint distributions and covariance
6 min read
Short answer
A joint distribution gives for every pair of values. Summing across a row or column gives the marginals. The covariance measures whether the two variables move together: Positive means they tend to be high together; zero is consistent with independence; negative means one tends to be high when the other is low.
From the table to the answers
Marginal of : add the probabilities across . Expectations: and . If and are independent, every joint probability equals the product of the marginals and .
Zero covariance is not the same as independence
Independence implies zero covariance, but not the other way around. Covariance only detects linear association. For example, if is symmetric around 0 and , then although is completely determined by .
Worked example
with , , , . Find the marginals and .
Marginals: , and similarly .
. The only pair with is , so . They tend to agree. (If the joint were in every cell, and the covariance would be .)
Try it yourself
If all four cells of the 2×2 table above equal 0.25, are and independent?
Show the answer
Yes. Each marginal is 0.5 and every cell is , so the joint always factors. The covariance is 0.
Keep going with practice
Joint distributions extend Vidi's probability lessons from one variable to two.