Probability & Statistics
Probability measures how likely an event is on a scale from 0 (impossible) to 1 (certain); statistics is the science of collecting, summarising, and drawing conclusions from data. Key result in words: the long-run frequency of an event converges to its probability, and large random samples reliably reveal the structure of the population they come from. Applies to: gambling, insurance, quality control, medicine, polling, machine learning, and any reasoning under uncertainty. Foundations laid by Pascal & Fermat (1654), formalised by Kolmogorov (1933).
Randomness in the small produces order in the large. A single coin flip is unpredictable, but the average behaviour of many independent repetitions is governed by precise mathematical laws. Probability builds a deductive model of this randomness from axioms; statistics uses observed averages to work backwards to the model's hidden parameters. The bridge between the two is the idea that relative frequency estimates probability, and that estimate improves predictably as the sample grows.
Formal Statement
A random experiment has a sample space , the set of all possible outcomes. An event is any subset of . A probability measure assigns to each event a number satisfying Kolmogorov's axioms:
Derivation hint: probabilities are non-negative by definition — they count "share of certainty."
Derivation hint: something in the sample space must occur, so the total probability is 1.
Derivation hint: for mutually exclusive (disjoint) events, probabilities simply add. Here is the set of outcomes, are events, is union ("or"), is intersection ("and"), and is the empty event (impossible).
The conditional probability of given that has occurred is
Derivation hint: restrict the sample space to and renormalise so . Events and are independent when knowing one tells nothing about the other:
Derivation hint: substitute independence into [4] to get .
For events and with ,
Derivation hint: write two ways using [4] — as and — then solve. If partition , the denominator expands by the law of total probability:
Derivation hint: is the disjoint union of the ; apply [3] repeatedly and [4].
A random variable assigns a number to each outcome. Its expected value (mean) and variance are
Derivation hint: a probability-weighted average of all values , with the probability density.
Derivation hint: expand and use linearity of , noting . The standard deviation is , in the same units as .
The binomial distribution counts successes in independent trials each with success probability :
Derivation hint: each specific sequence has probability ; multiply by the orderings. The normal (Gaussian) distribution with mean and standard deviation has density
Derivation hint: the unique symmetric density whose log is quadratic; the constant makes the total area 1.
Why It Holds / Derivation
Let be independent random variables, each with mean and variance , and let be the sample mean. 1. Mean of the average. By linearity of expectation, . The sample mean is an unbiased estimator of . 2. Variance of a sum of independent variables. For independent variables, variances add: . 3. Scaling. Since with ,
Derivation hint: combine additivity of variance for independent terms with the scaling rule. 4. Consequence. The standard deviation of is , the standard error. As it shrinks to 0, so concentrates ever more tightly around — this is the quantitative heart of the Law of Large Numbers. ∎
∎The Soviet mathematician Andrey Kolmogorov transformed probability from a collection of clever gambling tricks into a rigorous branch of mathematics. In his 1933 monograph Grundbegriffe der Wahrscheinlichkeitsrechnung he proposed that probability is simply a measure — a non-negative function on sets summing to 1 — borrowing the machinery of measure theory developed by Lebesgue. This axiomatic foundation (equations [1]–[3]) settled centuries of philosophical dispute about what probability is by declining to answer it: instead it specified the rules probability must obey, leaving interpretation open. Kolmogorov also made deep contributions to turbulence, dynamical systems, and complexity theory.
Building Intuition
Think of probability as shared-out certainty. You have one unit of belief to distribute over all possible outcomes; equation [2] says it all has to go somewhere, and [1] says you can't assign negative belief. Conditional probability [4] is zooming in: once you learn happened, you throw away the part of the world where it didn't and rescale what remains so it again sums to 1. For statistics, picture a giant opaque urn (the population) and a handful of balls you draw out (the sample). You never see the whole urn, but each handful is a blurry photograph of it. The blur is the standard error from [12]: bigger handfuls give sharper photographs, but only as fast as — to halve the blur you must quadruple the sample. This square-root law is why national polls of 1,000 people work surprisingly well, yet doubling accuracy is genuinely expensive.
Worked Examples
Given: A disease affects 1% of a population. A test is 99% sensitive (detects the disease when present) and 95% specific (correctly negative when absent). A randomly chosen person tests positive. What is the probability they actually have the disease?
Steps: Let = has disease, = tests positive.
- ,
- ,
- Total probability of a positive test [7]:
- Bayes' theorem [6]:
Answer: — despite the accurate test, most positives are false alarms because the disease is rare. This is the base-rate effect.
Given: Heights of adult women have cm and cm. A random sample of women is taken. Within what range does the sample mean fall about 95% of the time?
Steps:
- Standard error from [12]: cm.
- By the Central Limit Theorem, is approximately normal about cm.
- The 95% range is roughly .
Answer: . Note the individual heights vary by cm, but the average of 49 varies only by cm — averaging suppresses noise.
Common Misconceptions
Independent events have no memory. After five heads in a row, a fair coin is still exactly 50% to land heads next — equation [5] guarantees past flips do not change future ones. The belief that tails is "due" confuses the Law of Large Numbers (long-run averaging) with a non-existent self-correcting force. The average drifts toward 0.5 not because future flips compensate for the past, but because past flips become an ever-smaller fraction of the total.
Two variables can move together — high correlation — without one causing the other. Ice-cream sales and drowning deaths correlate strongly, but neither causes the other; both rise with summer temperature, a confounding variable. Statistics can establish association; only a controlled experiment or careful causal reasoning can establish cause.
A common error: with a 1-in-6 chance per roll, "the probability of at least one six in 6 rolls" is not . Probabilities of non-exclusive events don't simply add (that violates the disjointness condition in [3]). Compute via the complement instead:
The naïve sum even exceeds 1 for 7 rolls, which is impossible by [1]–[2].
Connections
Probability is the deductive engine; statistics runs it in reverse for inference. The Central Limit Theorem explains why the Normal Distribution appears everywhere, justifying the confidence intervals and hypothesis tests of Statistical Inference. Bayes' Theorem generalises into Bayesian Inference, an entire framework for updating beliefs with data. The expectation and variance of [8]–[9] connect to Combinatorics (for counting outcomes) and to Calculus (integrals define continuous expectations and densities). Variance and the standard error link to Regression Analysis, where the same square-of-distance ideas underpin least-squares fitting.
Real-World Applications
Historical Development
Subtleties & Limits
The meaning of probability remains philosophically contested. Frequentists define as the long-run fraction of times occurs in repeated trials — but this is awkward for one-off events ("the probability it rains tomorrow"). Bayesians treat probability as a degree of belief, updated by [6] — but then the choice of prior belief is subjective. Both interpretations use the same axioms [1]–[3]; they disagree on what the numbers mean. Deeper still: real data are rarely truly independent or identically distributed, so the clean theorems above are idealisations. Modern statistics wrestles with the replication crisis — many published findings fail to reproduce, partly from misuse of -values and "-hacking" — and with making valid inferences from massive, messy, non-random datasets where the classical guarantees may not apply.
See Also
Central Limit Theorem · Law of Large Numbers · Normal Distribution · Bayes' Theorem · Statistical Inference · Combinatorics · Regression Analysis · Stochastic Processes