College · 30 classes

Statistics - Advanced

Each class is a short animated explainer with narration and illustrations, plus quick checks and a mastery quiz. Your progress saves automatically as you complete classes.

▶ Watch class 1 free — no sign-up
Progress map · 30 classes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Not startedStartedCompletedMastered
01
Beyond the Bell Curve: The Axiomatic Approach to Probability
Not started
Start →
02
What is a Random Variable, Really?
Not started
Start →
03
The Astonishing Power of the Central Limit Theorem
Not started
Start →
04
Two Worlds of Inference: Frequentist vs. Bayesian
Not started
Start →
05
How Do We Make the 'Best Guess'? Maximum Likelihood Estimation
Not started
Start →
06
Capturing Uncertainty: The Theory of Confidence Intervals
Not started
Start →
07
The Logic of Scientific Discovery: Null Hypothesis Significance Testing
Not started
Start →
08
When Tests Go Wrong: Power, Errors, and the p-Hacking Problem
Not started
Start →
09
Is This Relationship Real? From T-tests to Chi-Squared
Not started
Start →
10
Drawing the Best Line: The Geometry of Least Squares
Not started
Start →
11
Untangling the Web: Interpreting Multiple Regression
Not started
Start →
12
Is My Model Any Good? Diagnostics and Model Selection
Not started
Start →
13
ANOVA is Just a Special Case of Regression
Not started
Start →
14
When Your Data Isn't Normal: Generalized Linear Models
Not started
Start →
15
Thinking in Beliefs: The Bayesian Revolution
Not started
Start →
16
The Art of Priors: From Conjugacy to Subjectivity
Not started
Start →
17
When Math Fails: An Intuition for MCMC Simulation
Not started
Start →
18
Weighing the Evidence: Bayes Factors and Model Choice
Not started
Start →
19
Why Correlation Is Not Causation: Confounding and the Rubin Causal Model
Not started
Start →
20
The Gold Standard: How Randomized Controlled Trials Work
Not started
Start →
21
Faking a Trial: Causal Inference from Observational Data
Not started
Start →
22
Finding a 'Natural Experiment': Instrumental Variables and Regression Discontinuity
Not started
Start →
23
Statistics Without Distributions: The Power of Nonparametrics
Not started
Start →
24
Pulling Yourself Up by Your Bootstraps: Resampling for Inference
Not started
Start →
25
Shuffling the Deck: The Logic of Permutation Tests
Not started
Start →
26
Smoothing the Bumps: An Introduction to Kernel Density Estimation
Not started
Start →
27
Predicting the Future: An Introduction to Time Series Analysis
Not started
Start →
28
How Long Until It Fails? The Statistics of Survival Analysis
Not started
Start →
29
Statistics Meets Machine Learning: The Bias-Variance Tradeoff
Not started
Start →
30
Taming the Data Deluge: High-Dimensional Statistics with LASSO
Not started
Start →
See inside a class

Here’s all of Class 1, in full.

Every class is 13 cards · narrated film + illustration · 3 quick checks · an interactive · a 5-question mastery quiz. Nothing hidden — this is the complete text of Beyond the Bell Curve: The Axiomatic Approach to Probability.

▸ Read the full class — Beyond the Bell Curve: The Axiomatic Approach to Probability

Consider a simple question: if you choose a chord of a circle at random, what is the probability that its length is greater than the side of an inscribed equilateral triangle? Depending on how you define 'at random,' you can rigorously argue that the answer is one-half, one-third, or one-quarter. This is Bertrand's Paradox, and it reveals a deep crack in the foundation of intuitive probability. It tells us that without a precise language for what 'at random' means, probability theory can produce contradictory, useless results. Our intuitions, honed on coin flips and dice rolls, fail us when we enter the continuous, the infinite, and the abstract. To build theories of inference, to model complex systems, we can't rely on counting favorable outcomes. We need a more robust foundation, one that doesn't depend on the physical interpretation of randomness, but on pure mathematical structure. Today, we build that foundation.

1. The Limits of Counting Cases

Why does the simple formula 'favorable outcomes over total outcomes' break down?

The classical definition of probability, often attributed to Laplace, is beautifully simple: the ratio of favorable outcomes to the total number of equally likely outcomes. This works perfectly for a fair die, where the probability of rolling a four is one-sixth. But what happens when the outcomes are not equally likely? What if the die is weighted? The formula collapses. What if the set of outcomes is infinite? If I ask you to pick a random integer, what is the total number of outcomes? There is no denominator. The classical definition is silent. The frequentist approach, defining probability as the long-run frequency of an event, offers an escape. But it too has limits. It struggles with one-off events. What is the probability that a specific candidate wins the next election? We can't re-run it a million times. We need a framework that is agnostic about the 'meaning' of probability—be it degree of belief, long-run frequency, or physical propensity. We need a mathematical abstraction that can handle finite and infinite sample spaces, uniform and non-uniform distributions, with equal rigor. The core problem is that without a formal, axiomatic system, probability theory remains a collection of clever heuristics rather than a branch of mathematics.

  • Need rigorous probability foundations
  • Pre-1933 was informal
  • Kolmogorov formalized
  • Foundation for modern probability
  • Measure theory provides framework

2. The Probability Space Triplet

Probability is a measure on a set of events, defined by three axioms.

The modern foundation of probability is the probability space, a mathematical construct defined by a triplet: (Omega, F, P). First, we have Omega, the sample space. This is simply the set of all possible outcomes of an experiment. For a coin flip, Omega is {Heads, Tails}. For the height of a random person, it's the set of all positive real numbers. Second, we have F, the event space. This is a collection of subsets of Omega. Crucially, F is not always the set of *all* possible subsets. It must be a sigma-algebra, a structure we'll detail later, which ensures it's well-behaved under set operations like union and complement. Each element in F is an 'event'—a question we can ask about the outcome. Third, we have P, the probability measure. This is a function that maps each event in F to a real number between zero and one. This function is not arbitrary; it must satisfy three simple rules known as the Kolmogorov Axioms. These axioms are the entire bedrock. They don't tell us what probability *is*, but they dictate how it must *behave*.

  • Kolmogorov's axioms 1933
  • Probability is measure on sigma-algebra
  • Three axioms: non-negativity, normalization, countable additivity
  • Foundation for measure-theoretic probability
  • Modern probability rigorous

3. Kolmogorov's 1933 Monograph

How did a 29-year-old Russian mathematician redefine a centuries-old field?

For centuries, probability was a playground for gamblers and philosophers, lacking the rigor of geometry or analysis. The change came in 1933. A young Soviet mathematician, Andrey Kolmogorov, published a slim, 62-page monograph in German titled 'Grundbegriffe der Wahrscheinlichkeitsrechnung' — Foundations of the Theory of Probability. In it, he did for probability what Euclid did for geometry. He set down a small number of axioms from which the entire theory could be logically derived. Kolmogorov's genius was to see the connection between probability and a burgeoning field of mathematics called measure theory, developed by French mathematicians like Borel and Lebesgue. He recognized that a probability was simply a specific kind of measure: one where the total measure of the space is 1. This insight was revolutionary. It solved paradoxes like Bertrand's by forcing a clear definition of the sample space and the measure. It placed probability on a firm axiomatic footing, transforming it into a respectable branch of pure mathematics and providing the language for the statistical revolution of the 20th century. All of modern statistical theory, from stochastic processes to machine learning, is built upon the foundation laid in that 1933 text.

  • Kolmogorov's Foundations 1933
  • Built on Lebesgue measure theory
  • Modern probability rigorous
  • Foundation for stochastic processes
  • Statistical inference grounded

4. Constructing the Probability Space

How do the three axioms generate the entire theory of probability?

Let's see how the machine works. The entire process hinges on the three axioms that the probability measure, P, must satisfy. The first axiom is Non-negativity: the probability of any event must be greater than or equal to zero. This is an intuitive starting point. The second axiom is Normalization: the probability of the entire sample space, Omega, is one. This means that *some* outcome must occur. The third axiom, Countable Additivity, is the most powerful. It states that for any sequence of disjoint—or mutually exclusive—events, the probability that at least one of them occurs is the sum of their individual probabilities. This extends the simple additivity rule you learned for finite sets to countably infinite sets, which is critical for handling infinite sample spaces. From these three simple rules, everything else follows. We can prove that the probability of the empty set is zero. We can derive the rule for complements: P(A complement) equals 1 minus P(A). We can derive the inclusion-exclusion principle for the union of any two events. The axioms act as the fundamental laws of motion for probability. They don't tell you *which* probability measure to use for a given real-world problem, but they provide the rigid logical framework that any valid probability measure must obey.

  • Sample space Ω of outcomes
  • Sigma-algebra F of events
  • Probability measure P: F → [0,1]
  • Three axioms above
  • Random variables: measurable functions

5. The Three Axioms of Probability

The formal language of a probability space (Ω, F, P).

Let's formalize what we've just discussed. On the screen is the mathematical syntax of a probability space. We begin with the triplet (Omega, F, P). Omega is the sample space. F is a sigma-algebra of subsets of Omega. P is the probability measure, a function from F to the real numbers. This function P must satisfy three axioms. First, the Axiom of Non-negativity. For any event A in our event space F, P of A is greater than or equal to 0. No negative probabilities allowed. Second, the Axiom of Normalization. The probability of the entire sample space Omega is equal to 1. P of Omega equals 1. This anchors our measure. Third, and most critically, the Axiom of Countable Additivity. For any countable collection of pairwise disjoint events A_1, A_2, A_3, and so on, all belonging to F, the probability of their union is equal to the sum of their individual probabilities. This is the engine that lets us move from simple cases to complex, infinite ones. These three statements are the complete constitution of probability theory.

  • P(A) ≥ 0
  • P(Ω) = 1
  • P(∪A_i) = ΣP(A_i) for disjoint
  • Conditional: P(A|B) = P(A∩B)/P(B)
  • Independence: P(A∩B) = P(A)P(B)

6. Corollaries of the Axioms

What powerful rules can we derive from just three starting axioms?

The power of an axiomatic system lies not in the axioms themselves, but in the rich set of theorems you can derive from them. Let's look at a few immediate consequences of Kolmogorov's system. First, we can prove that the probability of the impossible event—the empty set—is zero. This follows directly from countable additivity. Second, for any single event A, the probability of its complement, 'not A', is simply one minus the probability of A. This is immensely useful and follows from the normalization axiom and additivity. Third, we can prove monotonicity. If event A is a subset of event B, meaning A's occurrence implies B's occurrence, then the probability of A must be less than or equal to the probability of B. Probabilities must respect logical containment. Finally, we can derive the famous inclusion-exclusion principle. For any two events A and B, not necessarily disjoint, the probability of A union B is the probability of A plus the probability of B, minus the probability of their intersection. The axioms force us to subtract the overlap to avoid double-counting. These are not new axioms; they are logical necessities of the original three.

  • [object Object]
  • [object Object]
  • [object Object]
  • [object Object]

7. A Random Point in [0, 1]

Let's construct a probability space for a continuous outcome.

Let's move beyond dice and construct a probability space for picking a number 'at random' from the unit interval [0, 1]. This is a canonical example that shows why the full machinery is necessary. First, we define our sample space. Omega is simply the interval [0, 1]. It is uncountably infinite. Second, the event space, F. We cannot use the power set of all subsets of Omega. Due to deep results in set theory related to the Axiom of Choice, it's impossible to define a uniform measure over all subsets. Instead, we use a smaller collection called the Borel sigma-algebra, which contains all the 'nice' subsets we could ever want: single points, open intervals, closed intervals, and their countable unions and intersections. For our purposes, just know that F is the set of 'reasonable' subsets of [0, 1]. Finally, we define the probability measure, P. For any interval (a, b) within [0, 1], we define its probability as its length, b minus a. So the probability of picking a number in [0, 0.5] is 0.5. This measure, known as the Lebesgue measure on [0, 1], satisfies all three axioms. The probability of the whole space [0, 1] is 1. The probability of any sub-interval is non-negative. And it can be shown to be countably additive. Notice a key consequence: the probability of picking any single specific number is zero. Yet, one number must be picked.

  • Coin flipping: Ω = {H,T}, P(H)=1/2
  • Continuous random variables
  • Stochastic processes
  • Random walks
  • Modern Bayesian and frequentist

8. What the Axioms Don't Tell Us

The axiomatic approach is a framework for consistency, not a source of truth.

The axiomatic framework is incredibly powerful, but its primary limitation is that it's purely a system of logic. It offers no guidance on how to assign probabilities to real-world events. The axioms will tell you that if the probability of heads is p, then the probability of tails must be 1 minus p. They will not tell you if p should be 0.5. This is by design. The framework separates the mathematical consistency of probability from its philosophical interpretation. This is why the centuries-old debate between Frequentists and Bayesians continues. Both schools of thought operate entirely within the Kolmogorov axioms, but they differ profoundly on the source and meaning of the initial probability assignments. The frequentist sees probability as an objective feature of the world, measurable through repeated trials. The Bayesian sees it as a subjective degree of belief, which can be updated with evidence. The axioms provide the language for their debate, but cannot settle it. Furthermore, the reliance on set theory means we inherit some of its strange pathologies, like the existence of non-measurable sets. These are bizarre, abstract sets for which a consistent probability cannot be defined, a famous example being the sets used in the Banach-Tarski paradox. For applied statistics, these are philosophical curiosities, not practical hurdles, but they highlight the abstract nature of the foundation.

  • Foundations more rigorous
  • Less intuitive for beginners
  • Modern applied probability follows
  • Measure theory required
  • Foundation for advanced topics

9. Axiomatic vs. Classical and Frequentist

How does this abstract framework relate to more intuitive definitions of probability?

Let's place the axiomatic approach in context. The classical, or Laplacian, definition of probability as the ratio of favorable to total outcomes is not wrong; it's a special case. It is what you get from the axiomatic system if you choose a finite sample space Omega, and if you define the probability measure P to be the uniform measure, where P(A) equals the cardinality of A divided by the cardinality of Omega. The axioms are perfectly satisfied. Similarly, the frequentist definition, which equates probability with the limit of a relative frequency in repeated trials, can also be framed within the axiomatic system. The Strong Law of Large Numbers, a theorem derived from the axioms, provides the formal link between the axiomatic probability of an event and its long-run frequency. So, the axiomatic approach doesn't replace these earlier ideas; it subsumes them. It provides a more general and abstract container. It's the master theory that can accommodate the classical model, the frequentist interpretation, and the Bayesian interpretation. Its closest mathematical relative is not these statistical ideas, but the field of measure theory. A probability space is simply a measure space where the total measure is one. This connection is what gives probability theory its full mathematical power, allowing us to use the tools of integration and analysis to study random phenomena.

  • Frequentist vs Bayesian interpretations
  • Classical vs modern probability
  • Discrete vs continuous spaces
  • Borel vs general sigma-algebras
  • Random variables vs events

10. Common Misinterpretations

Where do students go wrong when first applying the axioms?

When working with the axiomatic framework, a few common mistakes can trip you up. The first is confusing the sample space with the event space. Remember, Omega is the set of outcomes, the individual results. F, the event space, is a set of *sets* of outcomes. An event is a subset of Omega, not an element of it. The second pitfall is failing to check for disjointness before applying the additivity axiom. The simple form, P(A union B) = P(A) + P(B), only holds if A and B are mutually exclusive. If they are not, you must use the full inclusion-exclusion principle and subtract the probability of their intersection. A third, more subtle error is assuming that an event with probability zero cannot happen. In a continuous sample space, as we saw, the probability of any single point is zero. But some point must be chosen. This means that an event with probability zero is not necessarily impossible; it is just 'infinitely unlikely'. Finally, the most significant conceptual error is believing the axioms can justify a particular model of the world. The axioms ensure your reasoning about probability is internally consistent; they do not ensure that your chosen probability measure accurately reflects reality.

  • [object Object]
  • [object Object]
  • [object Object]
  • [object Object]

11. Resources for Deeper Study

What are the essential texts and tools for mastering this material?

To truly internalize the axiomatic approach, you need to go beyond this lecture and engage with the foundational texts. The primary source, of course, is Kolmogorov's 'Foundations of the Theory of Probability'. It's concise and mathematically dense, but reading it is a direct line to the origin of these ideas. For a more pedagogical approach, the canonical graduate-level text is Patrick Billingsley's 'Probability and Measure'. It rigorously develops measure theory and probability side-by-side. For a slightly more accessible but still thorough treatment, 'A First Course in Probability' by Sheldon Ross is a standard undergraduate text that builds from the axioms. In terms of software, this topic is purely theoretical. You don't use R or Python to 'prove' the axioms. However, understanding this foundation is crucial for correctly using the statistical distributions and functions in libraries like SciPy or R's 'stats' package. Those tools are implementations of the mathematical objects whose existence and properties are guaranteed by the axiomatic framework. The real 'tool' at this stage is pencil and paper, working through proofs and constructing probability spaces for different scenarios.

  • [object Object]
  • [object Object]
  • [object Object]
  • [object Object]

12. The Geometric Distribution Space

Construct the probability space for an experiment with a countably infinite number of outcomes.

For this week's problem set, you will construct a probability space from the ground up for a classic experiment. Consider flipping a coin with probability 'p' of landing heads, repeatedly, until the first head appears. The outcome of the experiment is the number of flips required. First, define the sample space, Omega. What are all the possible outcomes? Think carefully; there is no upper limit. Second, define the event space, F. Since Omega is countably infinite, you can use the power set of Omega as your sigma-algebra. Third, and most importantly, define the probability measure, P. For any outcome 'k' in Omega, what is the probability P({k})? Derive a formula in terms of p and k. Once you have this, use the axiom of countable additivity to prove that P(Omega) equals 1. This requires you to sum an infinite geometric series. Finally, calculate the probability of the event 'an even number of flips were required'. This exercise will force you to use all three components of the probability space and apply the countable additivity axiom directly.

  • Verify Kolmogorov axioms
  • Construct probability space
  • Compute conditional probabilities
  • Test independence
  • Apply to a stochastic process

13. From Paradox to Principle

We have seen that intuitive notions of probability are insufficient, leading to paradoxes. The Kolmogorov axioms provide a rigorous, abstract foundation for all of modern statistical theory by defining a probability space.

  • Probability theory is built on a triplet: the sample space (Ω), the event space (F), and the probability measure (P).
  • The three axioms—non-negativity, normalization, and countable additivity—are the complete foundation for the rules of probability.
  • This axiomatic approach unifies and generalizes earlier classical and frequentist ideas.
  • The framework provides logical consistency but does not tell us how to assign probabilities to real-world events.
  • Understanding this foundation is essential for correctly interpreting and applying all advanced statistical methods.

Mastery quiz

  1. Who placed probability on a rigorous axiomatic footing in his 1933 monograph?
    • Andrey Kolmogorov
    • Pierre-Simon Laplace
    • Thomas Bayes
    • Ronald Fisher
  2. The classical (Laplacian) definition of probability is best described as which kind of case of the axiomatic system?
    • An incompatible alternative
    • A special case with a finite sample space and uniform measure
    • A purely Bayesian construction
    • A measure-free heuristic
  3. Which statement correctly applies the complement rule that follows from the axioms?
    • P(A complement) = P(A)
    • P(A complement) = P(A) minus 1
    • P(A complement) = 1 minus P(A)
    • P(A complement) = 0
  4. Why is F (the event space) generally required to be a sigma-algebra rather than the set of all subsets?
    • To make every outcome equally likely
    • To guarantee a finite sample space
    • Because all subsets always have a defined probability
    • So it is well-behaved under unions and complements and avoids non-measurable sets
  5. What does the axiomatic framework deliberately NOT tell us?
    • How to assign probabilities to real-world events
    • How probabilities must behave under set operations
    • That P(Ω) equals 1
    • That probabilities are non-negative
HomePracticeFeedBlogMe