A zero in the table
, and . Are and independent?
Worked answer
No. The product of the marginals is , and the joint probability is . One cell where the product formula fails is enough.
P(X=1)=1/2, P(Y=1)=1/3 and P(X=1,Y=1)=0. Are X and Y independent?
No. The product of the marginals is 1/6, and the joint probability is 0. One cell where the product formula fails is enough.