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?