Suppose $X$ follows exponential distribution with a positive parameter $\lambda$ and $Y$ is a positive continuous random variable, independent of $X$. Then what is the conditional distribution of $X-Y$ given $X > Y$?
-
1The distribution of $X-Y$ truncated to the positive half-line. – Xi'an Oct 30 '20 at 07:15
-
It's quite straightforward (trivial, even) -- just use the lack of memory property. – Glen_b Oct 30 '20 at 08:47
-
@Glen_b I know the memorylessness property of exponential random variable. But here $Y$ is also a random variable. Does it matter? – Van Tom Oct 30 '20 at 11:02
-
It makes no difference – Glen_b Oct 30 '20 at 12:59
1 Answers
Consider the distribution of $X\vert X>Y$ or the memorylessness. Then see if it is easy to change it to $X-Y\vert X>Y$
But here Y is also a random variable. Does it matter?
If you know $\mathbb{P}(A \vert B)$ and $B$ is itself a random variable, then you can find the probability of $\mathbb{P}(A)$ as a compound distribution or by using the law of total probability
$$\mathbb{P}(A) = \sum_{\forall B} \mathbb{P}(A \vert B)\mathbb{P}(B) $$
if $ \mathbb{P}(A \vert B) = f(A)$ is a function independent of $B$ then it can be taken out of the sum and you get
$$\mathbb{P}(A) = \sum_{\forall B} \mathbb{P}(A \vert B)\mathbb{P}(B) = f(A)\sum_{\forall B} \mathbb{P}(B) = f(A) $$
Similarly when $\mathbb{P}(X-Y\vert X>Y, Y)$ is independent from $Y$ then you know $\mathbb{P}(X-Y\vert X>Y)$

- 43,080
- 1
- 72
- 161
-
-
@igorkf I knew that I was using some sort of 'well known law with a name', but I couldn't get the name. – Sextus Empiricus Oct 30 '20 at 12:11