The Probability Space
Formal
(Probability Space)
The probability space is a triplet .
- The Sample Space The set of all possible elementary outcomes of an experiment. For example, for 2 consecutive coin tosses: .
- Event Space .
A collection of subsets of . An Event is an element . In our example, an event could be or .
A collection of subsets of is a -algebra if
- .
- If ,then its complement .
- If then their countable union . Example of an event space that is -algebra is . Verify why it’s a -algebra. In general, a full power set of sample space with cardinality N, has elements and forms a -algebra.
- Probability Measure .
A function that assigns a probability to each event. must satisfy Kolmogorov Axioms:
- Non-negativity: For any event .
- Normalization: . (Something must happen).
- Countable Additivity: If are pairwise disjoint events (i.e., for ) then
(Random Variables)
A Random Variable (RV) is a function that maps the sample space to the real numbers.
In the Axioms, the sample space contains raw outcomes. These could be anything: a whole RPC response, log line, state of a coin toss etc. These are hard to do math with. A Random Variable is essentially a refactoring step. It’s a deterministic function that parses the raw outcome and extracts a value (numerical?) of interest. RV is not random, nor is it variable. All the randomness arises from the sample space .
Discrete RVs: The set of possible values can return is countable. The Image of () is a countable set. Continuous RVs: The set of possible values can take is uncountable.
Connections
- Forward Links: Bayes Theorem
- Backward Links: The Landscape of Probability Theory