Random variable
Appearance
A random variable is a variable whose value is probabilistic.
Formal definition
$$ X:\Omega\to E, $$
is a random variable if
- $\Omega=\{\omega\}$ is the set of all possible outcomes of a random event, known as the sample space,
- $E=X(\Omega)$ is the set of all possible values of $X$, known as the value space.
Probability
For $B \subseteq E$
$$ P(X\in B)=P(\{\omega\in\Omega:X(\omega)\in B\}). $$