Two binary variables and have joint probabilities , , , . What are and the correlation ?
Probability and statistics, Covariance and correlation
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
Computing moments from a joint table, then using .
Key idea
and .
Steps
- Marginals: and . For a 0/1 variable the mean equals this probability, so , .
- Product moment: only when both are 1, so .
- Covariance: .
- Variances of 0/1 variables are : , .
- Correlation: . They are positively but not strongly correlated.
Common mistakes
- Using the joint probabilities as the marginals.
- Dividing by instead of the square root of it.
- Concluding independence from a small . Here , so they are dependent.
How long your answer should be
Half a page; 3 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: A server's waiting time (in minutes) is exponential with mean 5. Given that you have already waited 3 minutes, what is the probability you wait more than 8 minutes in total? Why is the answer what it is?
Next in Probability and statistics: If and , what is the distribution of , and what is , given ?