Truncated distribution formula proof

1k Views Asked by At

This definition is taken from the Wikipedia page for truncated distribution:

Let $X$ be a random variable with a continuous distribution, $f(x)$ be its probability density function and $F(x)$ be its cumulative distribution function.

Now the truncated distribution where the top of the distribution has been removed is as follows: $$f(x|X\le y)=\frac{g(x)}{F(y)}$$ where $g(x)=f(x)$ for all $x\le y$ and $g(x)=0$ everywhere else.

I have a hard time understanding the formula $f(x|X\le y)$ since I could not find a proof for it. My intuition tells me that it is derived from either the formula of conditional probability $$P(A|B)=\frac{P(A\cap B)}{P(B)}$$ or the formula of conditional probability density function $$f_{Y|X}(y|x)=\frac{f_{X,Y}(x.y)}{f_X (x)}$$ but I just don't know how. I can see how where the denomitator comes from since it is the condition and $P(X\le y)=F_X(y)$ but I don't know where the numerator comes from.

2

There are 2 best solutions below

0
On BEST ANSWER

If $x > y$, $$Pr(X \le x|X \le y)=\frac{P(X \le x, X \le y)}{P(X\le y)}=\frac{P(X \le \min(x,y))}{P(X\le y)}=\frac{P(X \le y)}{P(X\le y)}=1$$

If $x \le y$, $$Pr(X \le x|X \le y)=\frac{P(X \le x, X \le y)}{P(X\le y)}=\frac{P(X \le \min(x,y))}{P(X\le y)}=\frac{P(X \le x)}{P(X\le y)}$$

Now, if you differentiate with respect to $x$,

$$f(x|X \le y) = \begin{cases} 0 &, x > y \\ \frac{f(x)}{F(y)} &, x \le y\end{cases}$$

1
On

The idea is, let $Y$ be the truncated random variable with support on $(-\infty, y)$, in other words, $$ f_Y(x) = \begin{cases} f_X(x) & x \le y \\ 0 & x > y \end{cases} $$ Then, since you want to make sure the pdf of $Y$ integrates to 1, you see that $$ \int_{-\infty}^\infty f_Y(x)\ dx = \int_{-\infty}^y f_Y(x)\ dx = F_X(y), $$ so to have $f_Y(x)$ integrated to $1$ you divide it by $F_X(y)$.