1
$\begingroup$

I'm trying to understand better the difference between independence and conditional independence.

If I have three independent random variables, X, Y and Z, how could I construct two random variables A and B using X, Y and Z, such as A and B are not independent, but are conditionally independent given Z?

$\endgroup$

1 Answer 1

2
$\begingroup$

How about $A=X+Z$ and $B=Y+Z$?

($A$ and $B$ are only dependent if $Z$ is not almost surely constant; if it is, there is no solution.)

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .