#probability-theory
Definition
Random Variable
Let be a probability space and let be a measurable value space. A random variable is a measurable function
meaning that every measurable set of values has a measurable preimage:
Each is an underlying outcome, while is a realisation of . The image is the set of values that can attain. A real-valued random variable uses with its Borel -algebra.
Why Measurability Is Required
The probability measure accepts only events in . A condition on the value of lives in the value space, so it must first be pulled back to the outcome space:
Measurability guarantees that this preimage belongs to , making its probability well-defined:
The resulting map
is the probability distribution induced by . Thus a random variable transfers probability from sets of raw outcomes to sets of values.
Event Notation
Conditions on a random variable denote events in the sample space. For a real-valued random variable,
The braces describe sets of outcomes; they do not mean that itself is a set.
Realisation
Definition
Link to originalRandom Variable Realisation
The image of a random variable is called one realisation of .
Example
Maximum of two dice
For two six-sided dice, take
and define
The raw outcome produces the realisation
Different outcomes may produce the same value: . The value-level condition corresponds to the outcome event
With fair independent dice, this preimage contains outcomes, so