Does $X \sim X'$ and $Y \sim Y'$ implies that $(X,Y) \sim (X',Y')$?
By $X \sim X'$, I mean that the random variables $X$ and $X'$ are distributed equally.
I've been thinking whether the above statement holds in general for arbitrary random variables.
The statement would be useful in doing some proofs in computer science, but although the statement seems intuitively, I don't know how to prove it rigorously.