Is the sum of conditionally independent random variables independent?

375 Views Asked by At

Let's say I have three random variables $X,Y,Z$ such that $X$ is independent of $Z$ and $Y$ is independent of $Z$.

Is it true that $X+Y$ is independent of $Z$?

1

There are 1 best solutions below

4
On BEST ANSWER

No.

The classical example is to take $X,Y$ independent Bernoulli$(1/2)$ random variables (uniformly distributed on $\{0,1\}$), and set $Z\stackrel{\rm def}{=}X+Y \bmod 2$.

$X,Y,Z$ are pairwise independent (more than what you ask), yet $X+Y$ is clearly not independent of $Z$.