Random variable
Appearance
A random variable is a variable whose value is probabilistic.
Formal definition
$$ X:(\Omega,\mathcal{F}(\Omega)) \to (S,\mathcal{F}(S)), $$
is a random variable if
- $\Omega=\{\omega\}$ is a sample space
- $S=X(\Omega)$ is the set of all possible values of $X$, known as the value space.
- $\mathcal{F}(\Omega),\mathcal{F}(S)$ are sigma-algebras of $\Omega,S$ respectively
Probability distribution
Let $P_\Omega$ be the probability measure of $(\Omega,\mathcal{F}(\Omega))$,
then the probability measure of $(S,\mathcal{F}(S))$
$$\begin{gathered} P_X: \mathcal{F}(S) \to [0,1], \\ P_X(S)=1, \\ \forall \omega_i \in \Omega: P_X(X(\omega_i))=P_\Omega(\omega_i)). \end{gathered}$$
$P_X$ is then known as the probability distribution of random variable $X$.
Property
For $B \subseteq S$
$$ P_X(X\in B)=P_\Omega(\{\omega\in\Omega:X(\omega)\in B\}). $$