Distribution function of $Y = \max\{X \sim \text{Exp}(2), 3\}$

118 Views Asked by At

Let $X$ be an exponential distributed random variable with $\lambda =2$ and $Y$ the random variable that takes the maximum of $X$ and $3$. What is the distribution function of $Y$?

So how can I calculate $P(Y\leq y) = P(\max\{X,3\} \leq y) = P(3\leq y, X < 3) + P(3\leq X \leq y)$, since I think $X,Y$ are not independent?

$P(X < 3) = 1-e^{-6}$ and $ P(3 \leq X) = e^{-6}$ are easy but what about the $y$?

3

There are 3 best solutions below

0
On BEST ANSWER

It is a mixed random variable, because when $X<3$, that is with a probability of $1-e^{-6}$, Y is discrete =3. for the rest, Y has the same distribution of X.

$$F_Y(y) = \begin{cases} 0, & \text{if $y<3$} \\ 1-e^{-6}, & \text{if $y=3$} \\ 1-e^{-2y}, & \text{if $y>3$ } \end{cases}$$

As you can see, the $CDF_Y$ has "a jump" in $Y=3$ that is the law is discrete there. You can easily understand this with a drawing. Observe that I got the CDF of Y without doing any calculation, but only looking at the drawing...

enter image description here

this is the drawing of the transformation function: the max(X;3) is the red line. As you can see, Y-domain is $[3;\infty)$ and when the X spreads its probability through the interval $(0;3)$ the Y remains 3. That is Y is discrete with a positve mass of probability... for the rest of the interval $X=Y$ in distribution

If you want you can derive also the mixed pdf of Y. Be careful that you cannot calulate the derivative of CDF in Y=3 to get the pdf because it is discrete there...you have to do $F_Y(3)-F_Y(3^-)$

2
On

$\mathbb{P}(Y\leq y) = \mathbb{P}(\max\{X,3\} \leq y) = \mathbb{P}(X \leq y)\mathbb{P}(3 \leq y)=\mathbb{P}(X \leq y) \mathbb{I}_{3 \leq x}(y)$

Then derivating (where it is possible) $f_Y(y)=\partial_y(\mathbb{P}(Y\leq y))=\partial_y(\mathbb{P}(X \leq y) )\mathbb{I}_{3 \leq x}(y)=f_X(y)\mathbb{I}_{3 \leq x}(y)$

1
On

Any constant $c\in\mathbb R$ can be thought of as a (degenerated) random variable that is prescribed by $\omega\mapsto c$.

Its CDF is the function $\mathsf1_{[c,\infty)}$ i.e. the indicator function of set $[c,\infty)$.

Further a degenerated random variable is independent wrt any random variable.

With this in mind we find:

$$F_Y(y)=P\left(Y\leq y\right)=P\left(\max\left\{ X,3\right\} \leq y\right)=P\left(X\leq y,3\leq y\right)=$$$$P\left(X\leq y\right)P\left(3\leq y\right)=F_{X}\left(y\right)\mathsf{1}_{\left[3,\infty\right)}\left(y\right)$$

You can proceed now with discerning the cases: $y\geq 3$ and $y<3$.