Fig. 1 in words
Running mean
- Running mean of the 100 000 draws in the code (seed 13). Check for ③: (6 828 × 1.662 + 32 383) ÷ 6 829 = 6.40
- running mean from −4 to 6 against number of draws n (log scale) from 10 to 100k
- dashed line: true mean = 1
- ① green line: the exponential mean, hugging the dashed line
- ② a shaded green band around 1 that narrows as n grows
- ③ the red line jumps to its peak just below 10k, then falls back
- ④ red line: the Cauchy mean, from below −2 at 10 draws, still wandering at 100k
Entry 13 / 90
- Observer M. Tahri
- Seed 13
- Draws 100 000
01 Three Axioms
- P(A) ≥ 0 for every event
- P(Ω) = 1: something happens
- Disjoint events: probabilities add, even for countably many
Kolmogorov (1933). The rest, laws of large numbers included, is derived from these.
02 What P Means
- Frequency: a long-run share
- Subjective: a coherent degree of belief
- Propensity: a tendency of the set-up
The axioms fit all three; they are silent on which numbers to assign (Hájek, SEP).
03 Six Specimens
- Bernoulli one yes / no
- Binomial yeses in n
- Poisson rare counts
- Normal sums of effects
- Exponential waiting times
- Cauchy no mean
04 Averages Settle
- LLN (Bernoulli, 1713): the sample mean closes in on the true one
- CLT (de Moivre 1733, Laplace 1810): shape turns normal, spread σ/√n
Both need a finite mean; the CLT also needs finite variance.
05 Try It Yourself
sprint13_probability_distributions.py
import numpy as np
rng = np.random.default_rng(13)
N = 100_000
e = rng.exponential(1, N) # mean 1
c = rng.standard_cauchy(N) # no mean
for k in (10, 1_000, N):
print(k, e[:k].mean().round(3),
c[:k].mean().round(3))
m = rng.exponential(1, (10_000, 30))
print(m.mean(1).std().round(3),
round(1 / 30**0.5, 3)) # CLT
Output, as printed on the image
10 0.949 -2.977
1000 1.025 -0.432
100000 1.0 0.866
0.181 0.183
Run it. sprint13_probability_distributions.py · versions, data and steps
06 General Notes
- Name the sample space first
- Look at the tails before the mean
- Shares converge; the heads–tails gap grows like √n
- Simulate, then check the formula
07 Mini Project
- Rerun the code with seeds 1 to 5
- Plot my own Fig. 1 for each seed
- Histogram 10 000 means of 30: a bell?
- Swap in the median: does Cauchy settle?
R Trusted Sources
- Kolmogorov (1933). Grundbegriffe der Wahrscheinlichkeitsrechnung. Springer
- Hájek. Interpretations of Probability. Stanford Encyclopedia of Philosophy
- Bernoulli (1713). Ars Conjectandi
- Stigler (1986). The History of Statistics
- Blitzstein & Hwang (2019). Introduction to Probability
- NIST/SEMATECH e-Handbook
