# on the difference of exponential random variables

Assume two random variables X,Y are exponentially distributed with rates p and q respectively, and we know that the r.v. X-Y is distributed like X'-Y' where X',Y'are exponential random variables, independent among themselves and independent of X andY, with rates p and q.

Does it follow that X and Y are independent?

-
You may have better luck at stats.stackexchange.com. In particular, this looks to me like a homework question, and MO is not for homework. – David Roberts May 2 '12 at 6:06
Yes. If it's not homework, you should tell us the context... (read the FAQ) – Anthony Quas May 2 '12 at 14:03
No, it's not HW, even though it is a question about two random variables. It arose naturally in my current research project. I am constructing a sequence of random variables in a very complicated geometric way, by sone miracle I can find the one dimensional marginals and the property written above. I want to know whether the sequence is at least pairwise independent. If you do know this question is easy or doable as a Hw, can you at least point me to an appropriate lit reference? – Mensarguens May 2 '12 at 14:48

No.

Consider an analogous question for the random variables $Z_1$, $Z_2$ uniformly distributed on $\lbrace0,1,2,3\rbrace$ whose sum has the probabilities $1/16, 2/16, 3/16, 4/16, 3/16, 2/16, 1/16$ of taking the values $0, 1, 2, 3, 4, 5, 6$, respectively. Must $Z_1$ and $Z_2$ be independent? No, here is a possible joint distribution:

$$\frac 1{16}\begin{pmatrix}1 & 0 & 2 & 1 \\\ 2 & 1 & 1 & 0 \\\ 0 & 1 & 1 & 2 \\\ 1 & 2 & 0 & 1\end{pmatrix}.$$

The sum of each row or column is $1/4$, and the sums of the diagonals are $1/16, 2/16, 3/16, 4/16, 3/16, 2/16, 1/16$.

Using this, we can construct random variables uniformly distributed on $[0,1]$ whose sum is a uniform sum distribution, but which are not independent. Let the density of the joint distribution on the unit square be $0$, $1$, or $2$ according to the $16$th of the square and the pattern above.

Using this, for any distributions which have densities greater than a positive constant on some intervals, we can write the distributions as mixtures of uniform distributions and something else, and we use the above on the uniform distributions to construct nonindependent copies whose sum has the same distribution as independent copies. Doing this for $X'$ and $-Y'$ produces exponentially distributed random variables which are not independent, but whose difference is the same as the difference of independent exponential random variables.

There are some discrete distributions which do have the property that if the sum looks like the variables are independent, then they must be independent.

-