Let X=(X1,X2) and Y=(Y1,Y2) be two random vectors in R2. Suppose that Xi and Yj are independent for each pair of indices. We have the following questions.

  1. Are X and Y independent?
  2. Are X and Y independent if each of them is bivariately normally distributed?
  3. Are X and Y independent if they are jointly normally distributed?

Answer

Let X1,X2U(0,1) be uniformly distributed and independent. Define the variables

Y1=X1+X2mod1Y2=X1X2mod1,

where the mod1 operation means that we identify all integer values on the real line and turn it into a circle of circumference one. Notice that Y1X1U(0,1), hence the distribution of Y1 does not depend on X1. By the same token Y1 is independent of X2 as well. The argument also applies to Y2, which is independent of X1 and X2. Hence all pairs of components are independent. However, the knowledge of X fully determines the value of Y, hence X and Y are not independent.

We shall answer the second question by reducing it to the first one. To that end, let us consider the variables X1N(0,1) and X2N(0,1), X1 and X2 independent, and apply the transformation

Z1=F(X1)+F(X2)mod1Z2=F(X1)F(X2)mod1,

where F is the cumulative distribution function of the standard normal distribution. Since F(Xi)U(0,1), it follows that Z1 and Z2 have a standard uniform distribution. We now define the variables Y1 and Y2 such that

Y1|Z1N(Z1,1),Y2|Z2N(Z2,1).

We conclude that Xi and Yj are independent for all pair of indices. However, the knowledge of X fully determines the value of Z, which is a parameter in the distribution of Y. Hence X and Y are not independent.

If X and Y are jointly normally distributed, then pairwise independence does imply vector independence.