Probability Spaces and Random Variables
The measure-theoretic setup, stated once and precisely, so that later statements about independence, conditioning and convergence have something to mean.
The three axioms
A probability space is a triple where
- is a set of outcomes;
- is a -algebra on : a collection of subsets containing and closed under complement and countable union;
- is a probability measure: and, for pairwise disjoint , (countable additivity).
Members of are events.
The -algebra is the part that is easy to dismiss and occasionally essential. It is the collection of sets to which a probability can be assigned; on the standard choice is the Borel -algebra , the smallest -algebra containing all open intervals.
Let be a probability space and . Then
- and ;
- if then (monotonicity);
- ;
- if then .
For any events ,
Key idea
The union bound is three lines to prove and it is the workhorse of this entire laboratory. It is how a bound for one random variable becomes a bound for the maximum of many; it is the source of the in Johnson–Lindenstrauss, of the in finite-class generalisation bounds, and of the covering-number factors in net arguments. It is also lossy: it ignores all dependence, and much of high-dimensional probability is about recovering what it throws away.
Random variables and distributions
A random variable is a measurable map , meaning for every . We write for and for . A random vector is a measurable map into , equivalently a -tuple of random variables.
The map defines a probability measure on , the distribution or law of . It is determined by the cumulative distribution function , which is non-decreasing, right-continuous, with limits at and at .
Independence
Events are independent if for every subset
Random variables are independent if the events are independent for all Borel , equivalently if the joint law is the product of the marginals.
Almost sure events and Borel–Cantelli
An event holds almost surely (a.s.) if . A statement holds a.s. if the set of outcomes where it holds is an event of probability one.
Let be events and let be the event that infinitely many occur.
- If then .
- If the are independent and then .
Key idea
Borel–Cantelli is the standard route from a quantitative tail bound to an almost sure statement. If a concentration inequality gives with , then almost surely. That is exactly how the strong law is upgraded from the weak law, and how almost-sure convergence of SGD is obtained from its expected-error bounds on the SGD page.
Problems
When is the union bound tight?Proof · Foundation · 15 min Pairwise independence does not imply independenceProof · Foundation · 15 min From an exponential tail bound to almost sure convergenceProof · Intermediate · 30 minReferences
- BookRick Durrett (2019). Probability: Theory and Examples
- BookDavid Williams (1991). Probability with MartingalesShort, sharp, and the standard route into martingales used later for Azuma's inequality.
These works are cited as sources to read, not reproduced. All exposition, examples and problems on this site are written independently; where an argument is standard, the citation points to a canonical treatment.
Results stated on this page
- PropositionElementary consequences of the axiomsproof includedMonotonicity, finite additivity, complements, continuity along monotone sequences and the union bound, all from the three axioms.
- LemmaUnion boundproof includedThe probability of a union is at most the sum of the probabilities.
- PropositionThe distribution of a random variableproof includedA random variable induces a probability measure on the real line, and only that measure matters for its law.
- TheoremBorel–Cantelli lemmasproof includedSummable probabilities imply almost surely finitely many occurrences; for independent events the converse holds.