Swapped Context

← Back to BlackEdge Interview Questions

Question

An auditor compares two equally busy delivery venues, East and West. For each order, \(X=1\) means a particular routing flag was switched on, and \(Y=1\) means the delivery arrived early. Their joint probabilities are shown below; rows are X and columns are Y.

East venue:

Y=0 Y=1
X=0 0.40 0.10
X=1 0.10 0.40

West venue:

Y=0 Y=1
X=0 0.10 0.40
X=1 0.40 0.10

An order is selected by first choosing East or West with probability \(1/2\) each, then sampling from that venue's table. Is X independent of Y in the pooled orders? Is it independent of Y within either venue? Demonstrate both conclusions using the joint probabilities, not a significance test.

Hint 1

Check the X and Y marginal probabilities in each venue before combining the two tables.

Each venue has \(P(X=1)=P(Y=1)=1/2\), but the (1,1) cell is 0.40 in East and 0.10 in West. Average corresponding cells to obtain the pooled table.

Check your answer

© 2026 EverythingQuant. All Rights Reserved.