I'm attempting to understand one line of the proof for the probability integral transform as found on wikipedia:
Suppose that a random variable $X$ has a continuous distribution for which the cdf is $F_X$. Then the random variable $Y = F_X(X)$ has a standard uniform distribution.
Proof:
$ F_Y(y) = P(Y \leq y) = P(F_X(X) \leq y) = P(X \leq F^{-1}_X(y)) = F_X(F^{-1}_X(y)) = y $
What I do not understand is the definition of the random variable $Y$, namely why is there a capital $X$ in parentheses, $F_X(X)$, instead of lower-case, $F_X(x)$. More importantly, what does this mean?
I have looked at this post already, and my updated understanding is that $F_X(X)$ represents the distribution of the probabilities of $X$, not the variable itself. So, I believe that $Y$ is the distribution of probabilities of $X$. Is this correct? Or, if not, can someone explain what this difference in notation means?