[Math] Proving if $X$ is a random variable and $f$ is a continuous function, then $f(X)$ is a random variable

statistics

I'm reading "Fundamental of Mathematical Statistics" by Gupta and Kapoor and the authors make the claim that "if $X$ is a random variable and $f$ is a continuous function, then $f(X)$ is a random variable". The proof has been skipped as it was beyond the scope of the textbook.

However, here's my question: There's not much information about given about $f$, so I assume $f$ is a real valued function on $\mathbb{R}$. So clearly the composition $f(X)$ is also a random variable. The hypothesis that $f$ is continuous is never used. So, does it mean that $f$ does not have be continuous? Or am I wrong somewhere?

Best Answer

The proof is most likely out of the scope of most undergraduate mathematical statistics/probability courses.

Formally, a random variable is a measurable function from $ \Omega $ to $ E $ where $ (\Omega, \mathcal{F}, P) $ is a probability space and $ (E, \mathcal{E}) $ is a measurable space.

A well-known result in measure-theoretic probability is that if $ X : \Omega \to E $, and $ f : E \to E $ is continuous, then $ f \circ X $ is also a measurable function with respect to the previous probability space. This is the result to which the authors are referring.

Related Question