[Math] Showing that Y has a uniform distribution if Y=F(X) where F is the cdf of continuous X

probability distributionsprobability theorystatistics

Let $X$ be a random variable with a continuous and strictly increasing c.d.f. $F$ (so that the quantile function $F^{−1}$ is well-defined). Define a new random variable $Y$ by $Y = F(X)$. Show that $Y$ follows a uniform distribution on the interval $[0, 1]$.

My initial thought is that $Y$ is distributed on the interval $[0,1]$ because this is the range of $F$. But how do you show that it is uniform?

Best Answer

Let $F_Y(y)$ be the CDF of $Y = F(X)$. Then, for any $y \in [0,1]$ we have:

$F_Y(y) = \Pr[Y \le y] = \Pr[F(X) \le y] = \Pr[X \le F^{-1}(y)] = F(F^{-1}(y)) = y$.

What distribution has this CDF?