3
$\begingroup$

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$?

$\endgroup$
4
  • 1
    $\begingroup$ The distribution of $X-Y$ truncated to the positive half-line. $\endgroup$
    – Xi'an
    Commented Oct 30, 2020 at 7:15
  • $\begingroup$ It's quite straightforward (trivial, even) -- just use the lack of memory property. $\endgroup$
    – Glen_b
    Commented Oct 30, 2020 at 8:47
  • $\begingroup$ @Glen_b I know the memorylessness property of exponential random variable. But here $Y$ is also a random variable. Does it matter? $\endgroup$
    – Van Tom
    Commented Oct 30, 2020 at 11:02
  • $\begingroup$ It makes no difference $\endgroup$
    – Glen_b
    Commented Oct 30, 2020 at 12:59

1 Answer 1

2
$\begingroup$

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)$

$\endgroup$
2
  • $\begingroup$ Just complementing, here he is using the Law of total probability. $\endgroup$
    – igorkf
    Commented Oct 30, 2020 at 12:07
  • $\begingroup$ @igorkf I knew that I was using some sort of 'well known law with a name', but I couldn't get the name. $\endgroup$ Commented Oct 30, 2020 at 12:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.