Cheatsheet

Probability & Statistics

All topics on one page

9modules
27articles
6definitions
88formulas

01

Axiomatic Foundations of Probability Theory

Kolmogorov axioms, probability space, and classical probabilities

Probability Space and Kolmogorov's Axioms

Probability Space → Kolmogorov's Axioms → Classical Probability → Historical Development of the Axiomatic System → Types of Events and Operations → Continuity of the Probability Measure → Models of Probability Spaces in Practice → Numerical Example: Tossing Three Coins

Formulas

Laplace's definition: Ω is a finite set, all outcomes are equally likely. P(A) = |A|/|Ω|.Step 1: Ω = {HHH, HHT, HTH, HTT, THH, THT, TTH, TTT}, |Ω| = 2³ = 8. All outcomes are equally likely.Step 2: A = "exactly 2 heads" = {HHT, HTH, THH}, |A| = C(3,2) = 3.

Probability theory acquired a rigorous mathematical foundation in 1933, when Andrey Nikolaevich Kolmogorov published "Foundations of the Theory of Probability", laying down the axiomatic basis that remains in effect to this day.

Definition: The triple (Ω, F, P), where: Ω is the sample space of elementary outcomes. F ⊆ 2^Ω is a σ-algebra of events. P: F → [0,1] is a probability measure.

σ-algebra F: A family of subsets of Ω satisfying: (1) Ω ∈ F; (2) A ∈ F ⇒ Aᶜ ∈ F (closure under complements); (3) A₁, A₂,... ∈ F ⇒ ⋃ₙ Aₙ ∈ F (closure under countable unions).

P1 (Non-negativity): P(A) ≥ 0 for all A ∈ F. P2 (Normalization): P(Ω) = 1. P3 (Countable additivity): For pairwise disjoint A₁, A₂,...: P(⋃ₙ Aₙ) = Σₙ P(Aₙ).

Conditional Probability and Independence

Conditional Probability → Independence of Events → Bayesian Inference in Practice → Chains of Conditional Probabilities → Independence in the Flow of Information → Causal Inference and Simpson’s Paradox → Bayesian Inference and Updating Beliefs → Numerical Example: Bayes’ Theorem — Three Urns

Definitions

Event tree
a visual way to apply conditional probability formulas. Every node is an event, each branch is a conditional transition probability. The probability of a final outcome is the product of probabilities along a path from the root. The sum of the prob...

Formulas

Law of Total Probability: If B₁,...,Bₙ form a complete group (mutually exclusive, ⋃Bᵢ = Ω): P(A) = Σᵢ P(A|Bᵢ)P(Bᵢ).Two events: A and B are independent if P(A∩B) = P(A)P(B). Equivalently: P(A|B) = P(A) (knowledge about B does not change the probability of A).

Conditional probability is the probability of an event given that another event has occurred. This allows us to update our knowledge as information arrives and is the foundation of Bayesian inference.

Multiplication Theorem: P(A₁∩A₂∩...∩Aₙ) = P(A₁)·P(A₂|A₁)·P(A₃|A₁A₂)·...·P(Aₙ|A₁...Aₙ₋₁).

Law of Total Probability: If B₁,...,Bₙ form a complete group (mutually exclusive, ⋃Bᵢ = Ω): P(A) = Σᵢ P(A|Bᵢ)P(Bᵢ).

Bayes’ Theorem: P(Bᵢ|A) = P(A|Bᵢ)P(Bᵢ) / Σⱼ P(A|Bⱼ)P(Bⱼ). “Posterior probability of hypothesis Bᵢ upon observing A.”

Geometric Probabilities and Continuous Spaces

Geometric Probabilities → Continuous Probability Spaces → Bertrand’s Paradox and the Measure Problem → Lebesgue Measure and “Zero” Probabilities → Monte Carlo Method and Geometric Probabilities → Continuous Probability Spaces and σ-algebras → Lebesgue Measure and Absolute Continuity → Numerical Example: Calculating Probability via Density

Formulas

Uniform Distribution U[a,b]: P(X ∈ [c,d]) = (d−c)/(b−a). Density: f(x) = 1/(b−a) for x ∈ [a,b].Step 1: Density of the uniform distribution: f(x) = 1/(4−0) = 1/4 on [0,4], and 0 outside this interval.

Classical probability assumes a finite number of equally probable outcomes. For continuous spaces (interval, circle, ℝⁿ), geometric probabilities are needed, defined via the Lebesgue measure.

Principle: In a continuous space, “equally possible” means a uniform distribution according to the measure (length, area, volume). P(A) = measure(A)/measure(Ω).

Bertrand’s Paradox (1889): “Random chord” of a circle — is it longer than the side of an inscribed equilateral triangle? Three reasonable definitions of “random chord” yield P = 1/2, P = 1/3, P = 1/4. Demonstrates that “equally possible” is ambiguous without precise definition.

Buffon’s Needle: A needle of length l is thrown onto a floor with parallel lines spaced d apart (l < d). P(crossing a line) = 2l/(πd). Allows estimation of π via experiment!

02

Random Variables and Distributions

Discrete and continuous distributions, functions of random variables

Discrete Distributions

Bernoulli and Binomial Distribution → Negative Binomial and Hypergeometric → Cumulative Distribution Function and Generating Functions → Approximations and Limit Theorems for Discrete Distributions → Real-World Applications of Discrete Distributions → Variance and Relationship Between Moments → Methods for Estimating Distribution Parameters → Numerical Example: Poisson Distribution

Formulas

Bernoulli: X ~ Bernoulli(p). P(X=1)=p, P(X=0)=1-p. E[X]=p, Var[X]=p(1-p).Poisson: X ~ Poisson(λ). P(X=k) = e^{-λ}λ^k/k!, k=0,1,2,... E[X] = Var[X] = λ. Limit of Bin(n,p) as n→∞, p→0, np→λ.Step 2: P(X=6) = 0.01832·4⁶/6! = 0.01832·4096/720 = 0.01832·5.689 ≈ 0.1042. Most probable are X=3 and X=4.

A discrete random variable takes on a countable number of values. It is fully described by its probability mass function (PMF)—the probabilities of each value.

Binomial: X ~ Bin(n,p). X = number of successes in n independent Bernoulli trials. P(X=k) = C(n,k)p^k(1-p)^{n-k}. E[X]=np, Var[X]=np(1-p). Generating function: G(z) = (1-p+pz)^n.

Poisson: X ~ Poisson(λ). P(X=k) = e^{-λ}λ^k/k!, k=0,1,2,... E[X] = Var[X] = λ. Limit of Bin(n,p) as n→∞, p→0, np→λ.

Geometric: X ~ Geom(p). X = number of trials until first success. P(X=k) = (1-p)^{k-1}p. E[X]=1/p, Var[X]=(1-p)/p². Memoryless property: P(X>m+n|X>m) = P(X>n).

Continuous Distributions

Normal Distribution → Exponential and Gamma Distributions → Lognormal and Heavy Tails → The Memoryless Property and Its Uniqueness → Sums and Transformations of Random Variables → Applications of Continuous Distributions in Science and Engineering → Tail Probabilities and Extremes Distributions → Link Between Continuous Distributions and Real Data → Numerical Example: Normal and Exponential Distributions

Definitions

Discrete analogue
geometric distribution (P(X > m+n | X > m) = P(X > n)). This explains why Poisson processes (continuous time, exponential inter-event intervals) and Markov chains (discrete time, geometric holding times) are mathematically close.

Formulas

X ~ N(μ, σ²): f(x) = (1/√(2πσ²)) exp(-(x-μ)²/(2σ²)). E[X]=μ, Var[X]=σ². Symmetric, 68-95-99.7 rule (±1σ, ±2σ, ±3σ).Standard: Z ~ N(0,1). Function Φ(z) = P(Z≤z). P(a<X<b) = Φ((b-μ)/σ) - Φ((a-μ)/σ).Gamma distribution: X ~ Gamma(α,β). f(x) = β^α x^{α-1}e^{-βx}/Γ(α). E[X]=α/β, Var[X]=α/β². When α=1: Exp(β). Sum of n Exp(λ) ~ Gamma(n,λ).Beta distribution: X ~ Beta(α,β) on [0,1]. f(x) = x^{α-1}(1-x)^{β-1}/B(α,β). Models probabilities and proportions. When α=β=1: U[0,1].Step 1 (normal): Standardize: P(160<X<190) = P(−1.5<Z<1.5), since z₁=(160−175)/10=−1.5, z₂=(190−175)/10=1.5.

Continuous random variable has a probability density function f(x) ≥ 0 with ∫f dx = 1. Probability of falling into an interval is the integral of the density.

X ~ N(μ, σ²): f(x) = (1/√(2πσ²)) exp(-(x-μ)²/(2σ²)). E[X]=μ, Var[X]=σ². Symmetric, 68-95-99.7 rule (±1σ, ±2σ, ±3σ).

Standard: Z ~ N(0,1). Function Φ(z) = P(Z≤z). P(a<X<b) = Φ((b-μ)/σ) - Φ((a-μ)/σ).

Sum of normals: If X~N(μ₁,σ₁²) and Y~N(μ₂,σ₂²) are independent: X+Y~N(μ₁+μ₂, σ₁²+σ₂²).

Multivariate Distributions and Copulas

Bivariate Normal Distribution → Sklar’s Theorem and Copulas → Marginal and Conditional Distributions → Multivariate Normal Distribution → Dependence, Correlation, and Measures of Association → The Role of Copulas in the 2008 Financial Crisis → Conditional Distribution and Joint Moments → Simulation of Multivariate Distributions → Numerical Example: Conditional Distribution in Bivariate Normal

Formulas

Correlation ≠ dependence: For ρ=0: X and Y are uncorrelated, but not necessarily independent (for normals — this is equivalent!).Step 2: Conditional variance: Var[X₂|X₁] = σ₂²·(1−ρ²) = 1·(1−0.49) = 0.51, σ ≈ 0.714.
  • ·Gaussian: C_Gauss(u, v) = Φ₂(Φ⁻¹(u), Φ⁻¹(v); ρ)
  • ·Clayton: C_Clay(u, v) = (u⁻ᵅ + v⁻ᵅ − 1)^{−1/α}
  • ·Gumbel: with upper-tail dependence

Multivariate distributions describe the joint behavior of several random variables. Copulas are a powerful tool for modeling dependencies between variables independently of their marginal distributions.

Joint Density: (X, Y) ~ N₂(μ, Σ). Σ = [[σ₁², ρσ₁σ₂], [ρσ₁σ₂, σ₂²]]. The correlation parameter ρ = Cov(X, Y)/(σ₁σ₂). Conditionals: Y|X=x ~ N(μ₂ + ρσ₂/σ₁(x−μ₁), σ₂²(1−ρ²)).

Correlation ≠ dependence: For ρ=0: X and Y are uncorrelated, but not necessarily independent (for normals — this is equivalent!).

Sklar’s Theorem (1959): For the joint CDF H(x, y) = C(F₁(x), F₂(y)), where F₁, F₂ are marginal CDFs, C: [0,1]² → [0,1] is a copula. With continuous marginals, C is unique.

03

Expectation and Moments

Moments, generating functions, inequalities, and the law of large numbers

Mathematical Expectation and Moments

Mathematical Expectation → Variance and Covariance → Conditional Expectation → Jensen's Inequality and Convexity → Markov's Inequality: Origins and Consequences → Concentration of Measure and High Dimensions → Martingales and Azuma–Hoeffding Inequality → Numerical Example: Application of Chebyshev's Inequality (LLN)

Formulas

Linearity: $E[aX+bY] = aE[X] + bE[Y]$ — always (regardless of the dependence of $X, Y$!). $E[X_1+\dots+X_n] = n\mu$ (if $E[X_i]=\mu$ for all $i$).Step 1: Variance: $\sigma^2 = p(1-p) = 0.4\cdot 0.6 = 0.24$. $\mathrm{Var}[\overline{X}_n] = \sigma^2/n = 0.24/n$.Step 2: Chebyshev’s inequality: $P(|\overline{X}_n-\mu|\geq\varepsilon) \leq \mathrm{Var}[\overline{X}_n]/\varepsilon^2 = 0.24/(n\cdot0.0025)$.Step 3: Need: $0.24/(0.0025n) \leq 0.05 \Rightarrow n \geq 0.24/(0.0025\cdot0.05) = 1920$.

Mathematical expectation is the "center of mass" of a distribution. Moments characterize the shape of a distribution: mean, variance, skewness, kurtosis.

Definition: $E[X] = \sum x \cdot P(X=x)$ (discrete), $\int x \cdot f(x)dx$ (continuous). Exists if $\sum|x|P(X=x) < \infty$.

Linearity: $E[aX+bY] = aE[X] + bE[Y]$ — always (regardless of the dependence of $X, Y$!). $E[X_1+\dots+X_n] = n\mu$ (if $E[X_i]=\mu$ for all $i$).

For functions: $E[g(X)] = \sum g(x)P(X=x) = \int g(x)f(x)dx$. Jensen’s inequality: for convex $g$: $E[g(X)] \geq g(E[X])$.

Generating Functions and Characteristic Functions

Moment Generating Function (MGF) → Probability Generating Function (PGF) → Characteristic Function → MGF and Computing Distribution Moments → Heavy Tails and Absence of MGF → Generating Functions and Recurring Event Chains → Characteristic Function: Applications and Theorems → MGF for Risk Assessment: Value-at-Risk and CVaR → Numerical Example: Moments through MGF

Formulas

For discrete $X \geq 0$: $G_X(z) = E[z^X] = \sum_k P(X=k)z^k$. $P(X=k) = G^{(k)}(0)/k!$. $E[X] = G'(1)$, $Var[X] = G''(1) + G'(1) - (G'(1))^2$.Definition: $\varphi_X(t) = E[e^{itX}] = \int e^{itx}f(x)dx$ (Fourier transform of the density). Always exists, $|\varphi(t)| \leq 1$.Problem: $X \sim Exp(\lambda=3)$. Find $E[X]$ and $Var[X]$ via the moment generating function.Step 1: MGF for the exponential distribution: $M(t) = \lambda/(\lambda-t) = 3/(3-t)$, defined at $t < 3$.Step 2: $E[X] = M'(0)$. Differentiate: $M'(t) = 3 \cdot 1/(3-t)^2 \rightarrow M'(0) = 3/9 = 1/3 \approx 0.333$.Step 3: $E[X^2] = M''(0)$. Differentiate once more: $M''(t) = 6/(3-t)^3 \rightarrow M''(0) = 6/27 = 2/9 \approx 0.222$.

Generating functions are a powerful tool for working with distributions of the sum of independent random variables. The characteristic function always exists and uniquely determines the distribution.

Definition: $M_X(t) = E[e^{tX}] = \sum E[X^n] t^n / n!$ (Taylor series). If it exists in a neighborhood of $t=0$: $E[X^n] = M_X^{(n)}(0)$. The MGF uniquely determines the distribution.

For the sum of independents: $M_{X+Y}(t) = M_X(t)\cdot M_Y(t)$. This turns convolutions into multiplications.

Examples: Poisson$(\lambda)$: $M(t) = \exp(\lambda(e^t-1))$. $N(\mu,\sigma^2)$: $M(t) = \exp(\mu t + \sigma^2 t^2 / 2)$. Sum of normal distributions: $M_{X+Y} = \exp((\mu_1+\mu_2)t + (\sigma_1^2+\sigma_2^2)t^2/2) \to N(\mu_1+\mu_2, \sigma_1^2+\sigma_2^2)$. ✓

Probability Theory Inequalities

Basic Inequalities → Concentration Inequalities → Azuma–Hoeffding Inequality → Chernoff Inequality and Applications → Sub-Gaussian and Sub-Exponential Random Variables → VC Dimension and Generalization in ML → Randomized Algorithms and Probabilistic Analysis → Second Moment Method → Concentration of Measure and High Dimensionality → Numerical Example: Comparing Three Inequalities

Formulas

Problem: $X \sim \mathrm{Bernoulli}(p=0.2)$, sample $n=100$. Estimate $P(|\overline{X}-0.2|>0.1)$ by Chebyshev, Hoeffding, and normal approximation.

Probability inequalities allow us to estimate event probabilities without full knowledge of the distribution. They are critically important for statistics, machine learning, and information theory.

Markov's Inequality: For $X \geq 0$, $a > 0$: $P(X \geq a) \leq \mathbb{E}[X]/a$. Proof: $\mathbb{E}[X] \geq \mathbb{E}[X \cdot 1_{X \geq a}] \geq a \cdot P(X \geq a)$.

Chebyshev's Inequality: For any $X$ with finite $\mathbb{E}[X] = \mu$, $\operatorname{Var}[X] = \sigma^2$: $P(|X-\mu| \geq k) \leq \sigma^2/k^2$ or $P(|X-\mu| \geq k\sigma) \leq 1/k^2$. Does not require knowledge of the distribution, only $\mu$ and $\sigma^2$.

Jensen's Inequality: For convex $g$: $\mathbb{E}[g(X)] \geq g(\mathbb{E}[X])$. Corollaries: $\mathbb{E}[X^2] \geq (\mathbb{E}[X])^2$ (variance $\geq 0$). $\mathbb{E}[e^X] \geq e^{\mathbb{E}[X]}$.

04

Limit Theorems

Law of large numbers, central limit theorem, and large deviation theorems

Law of Large Numbers

Weak and Strong LLN → Applications of LLN → Law of the Iterated Logarithm → Strong vs. Weak LLN → Applications of LLN in Computation → Ergodic Theorem and Strong LLN for Dependent Data → Characteristic Function Method in LLN → Probabilistic Method in Combinatorics → Inequalities for Sums of Random Variables → Numerical Example: LLN with Coin Tossing

Formulas

LLN without finite variance (Khinchin): Finiteness of $E[|X|]$ is sufficient. For $Var[X]=\infty$, LLN still holds!Step 1: $Var[\overline{X}_n] = p(1-p)/n = 0.25/n$. Standard deviation: $\sigma[\overline{X}_n]=0.5/\sqrt{n}$.

The Law of Large Numbers (LLN) is a fundamental result in probability theory: the mean of a large number of independent random variables converges to their expected value. This is the mathematical foundation of statistics.

Weak LLN (Chebyshev, 1866): For i.i.d. $X_1,\ldots,X_n$ with $E[X_i]=\mu$ and $Var[X_i]=\sigma^2 < \infty$: $\overline{X}_n = (X_1+\ldots+X_n)/n \to_P \mu$ (convergence in probability). Proof via Chebyshev: $P(|\overline{X}_n-\mu|\geq\epsilon) \leq \sigma^2/(n\epsilon^2)\to 0$.

Strong LLN (Kolmogorov): Under the same conditions: $\overline{X}_n \to \mu$ almost surely ($P(\lim \overline{X}_n = \mu) = 1$). This is stronger than the weak law (almost sure $\to$ in probability, but not vice versa).

LLN without finite variance (Khinchin): Finiteness of $E[|X|]$ is sufficient. For $Var[X]=\infty$, LLN still holds!

Central Limit Theorem

Classical CLT → Generalizations of CLT → Applications of CLT → Rate of convergence in CLT → Multivariate CLT and Functional Limits → Poisson Approximation: Chen-Stein Theorem → Generalized CLT and Stable Distributions → Random Matrices and Spectral Distributions → Lévy's Continuity Theorem → Rate of Convergence in CLT: Berry-Esseen Inequality

Formulas

Multivariate CLT: For vectors $X_i$: $n^{-1/2}(S_n - n\mu) \xrightarrow{d} N(0, \Sigma)$, $\Sigma = Cov(X)$.Step 1: $E[X_i]=1/2$, $Var[X_i]=1/12$. For the sum: $E[S_{36}]=36 \cdot (1/2)=18$, $Var[S_{36}]=36 \cdot (1/12)=3$.Step 2: By CLT: $S_{36} \approx N(18, 3)$. Standardize: $Z = (S_{36} - 18)/\sqrt{3}$.Step 3: $P(S_{36}>20) = P(Z>(20-18)/1.732) = P(Z>1.155) = 1-\Phi(1.155) \approx 1-0.876 = 0.124$.

Central Limit Theorem (CLT) is one of the most important results in mathematics. It explains why the normal distribution is ubiquitous: the sum of a large number of independent random variables approaches the normal distribution.

Theorem (Lindeberg-Levy): For i.i.d. $X_1,\ldots,X_n$ with $E[X_i]=\mu$, $Var[X_i]=\sigma^2 < \infty$: $(\bar{X}_n - \mu)/(\sigma/\sqrt{n}) \xrightarrow{d} N(0,1)$. Equivalently: $(S_n - n\mu)/(\sigma\sqrt{n}) \xrightarrow{d} N(0,1)$.

Rate of convergence (Berry-Esseen): $|P((S_n-n\mu)/(\sigma\sqrt{n}) \leq x) - \Phi(x)| \leq C\cdot\rho/(\sigma^3\sqrt{n})$, where $\rho = E[|X-\mu|^3]$. With $C \leq 0.4748$. Rate $O(1/\sqrt{n})$.

Proof via characteristic functions: $\varphi_{(S_n-n\mu)/(\sigma\sqrt{n})}(t) = [\varphi_X(t/(\sigma\sqrt{n}))]^n$. Expanding $\varphi_X(t) \approx 1 - t^2/2 + \ldots$ for small $t$: $\rightarrow \exp(-t^2/2) = \varphi_{N(0,1)}(t)$. Lévy's continuity theorem $\rightarrow$ CDF converges to normal.

Convergences of Random Variables and Large Deviations

Types of Convergence → Large Deviations Theory → Rate Function and Rate of Probability Decay → Principle of Large Deviations: General Theory → Relationship of Rate Function with Entropy → Langevin Dynamics and Sampling from Continuous Distributions → Principle of Maximum Entropy → Information Theory and Probability → Differential Entropy and Its Properties → Numerical Example: Cramér's Deviation Rate Function

Formulas

Almost surely (a.s.): $X_n \to_{a.s.} X$ if $P(\lim X_n = X) = 1$. Stronger than in probability. Consequence: convergence in probability.Cramér's Theorem (1938): For i.i.d. $X_i$: $\lim_{n\to\infty} \frac{1}{n} \log P(\overline{X}_n \geq x) = -I(x)$ for $x > \mu$.Problem: $X_1,...,X_n \sim$ Bernoulli($p=0.5$). Find the approximation $P(\overline{X}_n \geq 0.7)$ for $n=100$ via the large deviations theorem.

There exist several different concepts of convergence for sequences of random variables. Large Deviations Theory studies the probabilities of rare events—exponentially small probabilities of deviations from the mean.

In probability: $X_n \to_P X$ if $\forall \varepsilon > 0:\ P(|X_n-X| > \varepsilon) \to 0$ as $n\to\infty$.

Almost surely (a.s.): $X_n \to_{a.s.} X$ if $P(\lim X_n = X) = 1$. Stronger than in probability. Consequence: convergence in probability.

In distribution (weak): $X_n \to_d X$ if $F_{X_n}(x) \to F_X(x)$ for all points of continuity of $F_X$. The weakest—does not require identity on a single probability space.

05

Sample Statistics and Estimation

Parameter estimation methods, nonparametric methods, and sufficient statistics

Parametric Estimation

Maximum Likelihood Method (MLE) → Bayesian Estimation → EM Algorithm → Estimation Theory: Completeness and Sufficiency → Bayesian Estimation: Posterior Functionals → Conjugate Prior Families in Bayesian Analysis → Bayesian Model Selection and Comparison → Posterior Prediction and Calibration → Variational Bayesian Inference → Bayesian Updating in Real Time

Formulas

MLE: $\hat{\theta}_{\text{MLE}} = \arg\max_\theta \ell(\theta)$. Solution: $\partial\ell/\partial\theta = 0$ (likelihood equations).Task: MLE with incomplete data or hidden variables. Maximize $\ell(\theta; x) = \log P(x; \theta) = \log \sum_z P(x, z; \theta)$.Task: Sample: $x = \{2.1, 3.4, 2.8, 3.1, 2.6\}$. Find MLE for $\mu$ and $\sigma^2$. Compare to Bayesian estimate.Step 2: $\bar{x} = (2.1 + 3.4 + 2.8 + 3.1 + 2.6)/5 = 14.0/5 = 2.80$.

Statistical estimation is the construction of estimates for unknown parameters based on observed data. The maximum likelihood method, Bayesian approach, and method of moments are the three main paradigms.

Likelihood function: $L(\theta; x_1, ..., x_n) = \prod_i f(x_i; \theta)$ (for an i.i.d. sample). Log-likelihood: $\ell(\theta) = \sum_i \log f(x_i; \theta)$.

MLE: $\hat{\theta}_{\text{MLE}} = \arg\max_\theta \ell(\theta)$. Solution: $\partial\ell/\partial\theta = 0$ (likelihood equations).

Properties of MLE: Consistency: $\hat{\theta}_n \to_P \theta_0$. Asymptotic normality: $\sqrt{n}(\hat{\theta}_n - \theta_0) \to_d N(0, I(\theta_0)^{-1})$. Asymptotic efficiency: attains the Cramer-Rao lower bound.

Nonparametric Methods and Bootstrap

Nonparametric Criteria → Density Function Estimation → Bootstrap → Nonparametric Statistics: Details → Bootstrap: Theory and Variants → Rank Tests and Their Power → Resampling Methods: Jackknife and Permutation Tests → Bayesian Nonparametric Methods → Gaussian Processes in Regression → Numerical Example: Bootstrap Estimate of Standard Error

Formulas

Mann-Whitney Test: Nonparametric two-sample test. U = #{(xᵢ, yⱼ): xᵢ > yⱼ}. Under H₀: E[U] = n₁n₂/2. Analog of two-sample t-test without normality.Histogram: Divide the domain into K bins. Bin width h = (max-min)/K. P(bin k) = n_k/n. Bias O(h²), variance O(1/(nh)) — trade-off.Problem: Data n=5: x = {1, 3, 5, 7, 9}. Estimate the SE of the mean using bootstrap (B=4 samples for illustration).
  • ·{1, 1, 5, 9, 7} → x̄* = 23/5 = 4.6;
  • ·{3, 5, 5, 9, 9} → x̄* = 31/5 = 6.2;
  • ·{7, 7, 3, 1, 5} → x̄* = 23/5 = 4.6;
  • ·{9, 5, 7, 5, 3} → x̄* = 29/5 = 5.8.

Nonparametric methods do not assume a concrete distributional form. They are used when the assumptions of parametric methods are violated. Bootstrap is a universal technique for error estimation.

Sign Test: H₀: median = m₀. Statistic: number of observations > m₀. Under H₀: ~ Bin(n, 0.5). Does not depend on the distribution form, but is not very efficient.

Wilcoxon Signed-Rank Test: Accounts for the magnitude of deviations. Compute dᵢ = xᵢ − m₀, rank |dᵢ|, W⁺ = sum of ranks with dᵢ > 0. Under H₀: E[W⁺] = n(n+1)/4, Var[W⁺] = n(n+1)(2n+1)/24.

Mann-Whitney Test: Nonparametric two-sample test. U = #{(xᵢ, yⱼ): xᵢ > yⱼ}. Under H₀: E[U] = n₁n₂/2. Analog of two-sample t-test without normality.

Sufficient Statistics and the Rao-Blackwell Theorem

Sufficient Statistics → Rao-Blackwell Theorem → UMVU Estimators (UMVUE) → Algorithm for Applying the Rao-Blackwell Theorem → Optimality and Lower Bounds for Variance → Robust Estimation Methods → Sufficiency in Multivariate Models → Example of Applying the Rao-Blackwell Theorem → Numerical Example: Rao-Blackwell Theorem

Formulas

Problem: $X_1,...,X_4 \sim Bernoulli(p)$. $T = \sum X_i \sim Binomial(4, p)$. Improve $\delta(X) = X_1$ via conditional expectation.Step 1: $\delta(X) = X_1$ is unbiased: $E[X_1] = p$. $Var[X_1] = p(1-p)$. Sufficient statistic: $T = X_1 + X_2 + X_3 + X_4$.

Sufficient statistics compress all information about a parameter from the sample. The Rao-Blackwell theorem allows improving any estimator by conditionally averaging over a sufficient statistic.

Definition (Fisher, 1922): A statistic T(X) is sufficient for θ if the conditional distribution of the sample given T is independent of θ. Intuition: T contains everything the sample knows about θ.

Factorization Criterion (Neyman-Fisher): T is sufficient if and only if the likelihood factorizes: $L(\theta; x) = g(T(x); \theta) \cdot h(x)$. The part depending on θ enters only via T(x).

Examples: Poisson(λ): $T = \sum X_i$. Bernoulli(p): $T = \sum X_i$. N(μ, known σ²): $T = \bar{X} = \sum X_i / n$. N(μ, unknown σ²): $T = (\sum X_i, \sum X_i^2)$ — a two-dimensional sufficient statistic.

06

Statistical Hypothesis Testing

Hypothesis testing criteria, regression analysis, and goodness-of-fit tests

Hypothesis Testing

Key Concepts → Criteria for the Normal Distribution → Neyman-Pearson Lemma → Multiple Testing → Test Power and Sample Size → Bayesian Factors and Alternatives to p-values → Sequential Tests (SPRT) → Bayesian Tests and Procedures → Multiple Comparison in Clinical Trials → Adaptive Tests and Distributed Inference Tasks

Formulas

Null (H₀) and alternative (H₁) hypotheses. Significance level α = P(Type I error) = P(reject H₀ | H₀ is true). Power 1-β = P(reject H₀ | H₁ is true).Two-sample t-test: H₀: μ₁ = μ₂. T = (X̄₁-X̄₂)/√(Sp²/n₁ + Sp²/n₂) ~ t(n₁+n₂-2).Problem: Manufacturer claims μ=500 g (package weight). Sample n=25: x̄=492 g, σ=20 g (known). Test H₀: μ=500 against H₁: μ≠500 at α=0.05.

Hypothesis testing is a formalized decision-making procedure based on data. The null hypothesis H₀ is rejected or not rejected based on the criterion statistic.

Null (H₀) and alternative (H₁) hypotheses. Significance level α = P(Type I error) = P(reject H₀ | H₀ is true). Power 1-β = P(reject H₀ | H₁ is true).

p-value: p = P(observed statistic or more extreme | H₀). If p < α → reject H₀. p-value ≠ probability of H₀ (misinterpretation!).

Student's t-test: σ unknown. T = (X̄-μ₀)/(S/√n) ~ t(n-1). |T| > t_{α/2,n-1} → reject.

Linear Regression and Analysis of Variance

Simple Linear Regression → Multiple Linear Regression → One-Way Analysis of Variance (ANOVA) → Regularized Regression: Ridge and Lasso → Two-Way ANOVA and Interaction → Linear Regression Diagnostics: In-Depth Analysis → Nonlinear Regression → Spatial Regression and Geostatistics → Causal Inference → Numerical Example: Simple Linear Regression

Formulas

Step 1: $\bar{x} = (1+2+3+4)/4 = 2.5$, $\bar{y} = (2+4+5+7)/4 = 4.5$.Step 3: $\hat{\beta}_0 = \bar{y} - \hat{\beta}_1\cdot\bar{x} = 4.5 - 1.6\cdot2.5 = 0.5$. Equation: $\hat{y} = 0.5 + 1.6x$.

Linear regression models the dependence between variables and is one of the most important tools in applied statistics. Analysis of variance generalizes the t-test to multiple groups.

Model: $Y_i = \beta_0 + \beta_1 x_i + \varepsilon_i$, $\varepsilon_i \sim N(0, \sigma^2)$ i.i.d. OLS estimates: $\hat{\beta}_1 = \Sigma (x_i-\bar{x})(y_i-\bar{y})/\Sigma(x_i-\bar{x})^2$, $\hat{\beta}_0 = \bar{y} - \hat{\beta}_1\bar{x}$.

Gauss-Markov Theorem: $\hat{\beta}$ is BLUE (best linear unbiased estimator) among all linear unbiased estimators. $\operatorname{Var}[\hat{\beta}_1] = \sigma^2/\Sigma(x_i-\bar{x})^2$. $S^2 = \operatorname{RSS}/(n-2)$ is an unbiased estimator of $\sigma^2$.

Coefficient of Determination $R^2$: $R^2 = 1 - \operatorname{RSS}/\operatorname{TSS}$, $\operatorname{RSS} = \Sigma(y_i-\hat{y}_i)^2$, $\operatorname{TSS} = \Sigma(y_i-\bar{y})^2$. $R^2 = \operatorname{cor}(y, \hat{y})^2$ in simple regression. The proportion of explained variation $\in [0,1]$.

Goodness-of-Fit Tests

Pearson's Chi-Squared Test → Kolmogorov-Smirnov Test → Shapiro-Wilk Test for Normality → Anderson-Darling Test → Checking Symmetry and Heavy Tails → Goodness-of-Fit Tests for Discrete Distributions → Testing for Overdispersion → Goodness-of-Fit Tests in Bayesian Statistics → Information Criteria and Model Selection → Numerical Example: χ² Goodness-of-Fit Test and AIC Criterion

Formulas

Contingency tables: Testing independence of two categorical variables. χ² = Σᵢⱼ(Oᵢⱼ - Eᵢⱼ)²/Eᵢⱼ, Eᵢⱼ = nᵢ·nⱼ/n. Degrees of freedom: (r-1)(c-1).Two-sample KS test: Dₙ,ₘ = sup_x |F̂ₙ(x) - Ĝₘ(x)|. H₀: F = G (two samples from the same distribution). Nonparametric test.Practical recommendations: n < 50: Shapiro–Wilk. n = 50–2000: Anderson–Darling. n > 2000: visual QQ-plot + χ² are sufficient.Step 1: Expected frequencies under H₀ (uniform): Eᵢ=60/6=10 for each face.

Goodness-of-fit tests assess whether data conform to a hypothesized theoretical distribution. This is an important step in statistical analysis before applying parametric methods.

Idea: Divide the data into k cells with observed frequencies Oᵢ and theoretical Eᵢ = nPᵢ(θ). Statistic: χ² = Σᵢ(Oᵢ - Eᵢ)²/Eᵢ. Under H₀, asymptotically: χ² ~ χ²(k-1-r), where r is the number of estimated parameters.

Conditions for applicability: Eᵢ ≥ 5 for each cell (if violated, combine adjacent cells). Independent observations. Minimum n ≥ 30-50.

Contingency tables: Testing independence of two categorical variables. χ² = Σᵢⱼ(Oᵢⱼ - Eᵢⱼ)²/Eᵢⱼ, Eᵢⱼ = nᵢ·nⱼ/n. Degrees of freedom: (r-1)(c-1).

07

Stochastic Processes

Markov chains, Poisson process, martingales, and optimal stopping theory

Discrete-Time Markov Chains

Definition and Properties of Markov Chains → Classification of States → Stationary and Limiting Distribution → Ergodicity and Limit Theorems for Markov Chains → MCMC: Metropolis-Hastings and Gibbs Sampling → Hidden Markov Models (HMM) → Theorem on MCMC Convergence → Variational Methods and Normalizing Flows → Spectral Methods in Clustering → Numerical Example: Stationary Distribution of a Markov Chain

Definitions

Ergodic chain
irreducible, aperiodic, positive recurrent. For an ergodic chain: μₙ → π (geometrically fast when S is finite). Mixing rate: spectral gap gap Lₛ = 1 − λ₂ (λ₂ — the second largest eigenvalue of P). Mixing time: τ_mix ≈ 1/gap. For the "shuffling" ch...

Formulas

Transition matrix: Pᵢⱼ = P(Xₙ₊₁ = j | Xₙ = i). Stochastic: Pᵢⱼ ≥ 0, ΣⱼPᵢⱼ = 1 for all i.n-step transitions: P(Xₙ = j | X₀ = i) = (Pⁿ)ᵢⱼ — the (i,j)-th element of the matrix Pⁿ.Periodicity: Period d(i) = GCD{n ≥ 1: (Pⁿ)ᵢᵢ > 0}. For d=1 — aperiodic.Stationary distribution π: A vector π ≥ 0, Σπᵢ = 1: π = πP. For a finite irreducible aperiodic chain: unique π, and Pⁿ → 1·πᵀ.Problem: Two-state MC (sun/rain): P(sun|rain)=0.4, P(rain|sun)=0.3. Matrix: P=[[0.7,0.3],[0.4,0.6]]. Find π and first return times.Step 3: π₁=4/7≈0.571, π₂=3/7≈0.429. In the long run: 57.1% of days are sunny.

A Markov chain is a memoryless stochastic process: the future depends only on the present, not on the past. This is a powerful model for systems with "states": queues, markets, genomic sequences, PageRank.

Definition: A sequence X₀, X₁, X₂, ... with values in a finite/countable set S satisfies the Markov property: P(Xₙ₊₁ = j | X₀,...,Xₙ) = P(Xₙ₊₁ = j | Xₙ) for all n and j.

Transition matrix: Pᵢⱼ = P(Xₙ₊₁ = j | Xₙ = i). Stochastic: Pᵢⱼ ≥ 0, ΣⱼPᵢⱼ = 1 for all i.

n-step transitions: P(Xₙ = j | X₀ = i) = (Pⁿ)ᵢⱼ — the (i,j)-th element of the matrix Pⁿ.

Poisson Process and Continuous-Time Markov Chains

Poisson Process → Continuous-Time Markov Chains (CTMC) → Nonhomogeneous and Compound Poisson Processes → Queueing Theory: Extensions and Practice → Continuous Markov Chains: More Details → Computational Complexity of Queueing Theory Problems → Nonlinear Markov Chains and Applications in AI → Random Walks: Recurrence and Transience → Covariance Structures in Continuous Processes → Numerical Example: Poisson Process and CTMC

Formulas

Stationary distribution: $\pi Q = 0$. Detailed balance: $\pi_i q_{ij} = \pi_j q_{ji}$ → reversibility.Step 1: Inter-arrival $T_1\sim Exp(λ=3)$. $P(T_1 > 0.5$ hr$)=e^{−3·0.5}=e^{−1.5}\approx 0.223$.Step 2: Between 3rd and 5th request — total interval $T_4 + T_5$ (two i.i.d. Exp(3)). $E[T_4+T_5]=2/3$ hr $\approx 40$ min. $Var=2/9$ hr$^2$.

Poisson process is a standard model of events that occur randomly over time (calls to a call center, atomic decay, transactions). CTMCs describe systems with continuous time and discrete states.

Definition: {N(t), t ≥ 0} is a Poisson process with rate λ if: 1. N(0) = 0 2. Increments on non-overlapping intervals are independent 3. N(t + s) − N(t) ~ Poisson(λs) for all t,s > 0

Inter-event intervals: $T_i$ = time between the i-th and (i-1)-th event ~ Exp(λ), independent.

Superposition: The merging of two Poisson processes with rates λ₁ and λ₂ is a Poisson process with rate λ₁+λ₂. Thinning: each event is independently included with probability p — Poisson with rate pλ.

Martingales and the Theory of Optimal Stopping

Martingales → Martingale Theorems → Optimal Stopping → Optimal Stopping Theory: General Approach → Inequalities for Martingales → Theory of Optimal Stopping → Optional Sampling Theorem (Doob's OST) → Stochastic Dominance and Comparison of Distributions → Martingale Theory in Discrete Optimization → Doob-Meyer Theorem and Compensator

Formulas

Definition: The sequence {Mₙ, Fₙ} is a martingale relative to the filtration {Fₙ} if: (1) Mₙ is Fₙ-measurable; (2) E[|Mₙ|] < ∞; (3) E[Mₙ₊₁|Fₙ] = Mₙ.Examples: Symmetric random walk: Sₙ = X₁ + ... + Xₙ, Xᵢ = ±1. E[Sₙ₊₁|Fₙ] = Sₙ. Mₙ = Sₙ² - n is also a martingale (suitable for calculating E[τ]).Problem: Symmetric random walk, P(+1) = P(−1) = 0.5, starting S₀ = 3. Τ = min{n: Sₙ = 0 or Sₙ = 5}. Find P(S_τ = 5).Step 1: Sₙ is a martingale: E[Sₙ₊₁|Sₙ] = Sₙ (fair game, no systematic drift).

A martingale is a stochastic process without “systematic drift”: the expected future value is equal to the current value. It is the mathematical embodiment of a “fair game” and the foundation of financial mathematics.

Definition: The sequence {Mₙ, Fₙ} is a martingale relative to the filtration {Fₙ} if: (1) Mₙ is Fₙ-measurable; (2) E[|Mₙ|] < ∞; (3) E[Mₙ₊₁|Fₙ] = Mₙ.

Examples: Symmetric random walk: Sₙ = X₁ + ... + Xₙ, Xᵢ = ±1. E[Sₙ₊₁|Fₙ] = Sₙ. Mₙ = Sₙ² - n is also a martingale (suitable for calculating E[τ]).

Optional Stopping Theorem (Doob): Under sufficient conditions for the martingale Mₙ and stopping time τ: E[M_τ] = E[M₀]. “In a fair game the expected gain is zero.”

08

Stochastic Calculus

Brownian motion, Itô integral, Itô’s lemma, and stochastic methods in finance

Brownian Motion: Construction and Properties

Definition and Construction → Key Properties → Brownian Motion: Construction and Properties → Path Space and Wiener Measure → Multidimensional Brownian Motion and Correlation → Stochastic Differential Equations: Existence and Uniqueness → Processes with Jumps: Lévy Models → Risk Measurement: VaR and CVaR → Numerical Methods in Stochastic Problems → Feynman–Kac Formula

Formulas

Self-similarity: {W_{ct}} =_d {√c W_t} (in the sense of finite-dimensional distributions). Scaling.Problem: Stock: S₀=100, μ=0.10, σ=0.20. Find E[S₁] and P(S₁>120) in one year.Step 1: Ito SDE: dS=μS dt+σS dW. Exact solution: S_t=S₀·exp((μ−σ²/2)t+σW_t).

Brownian motion (Wiener process) is a mathematical model of chaotic motion, described by Brown in 1827 while observing pollen on water. It is the limit of random walks and the foundation of stochastic analysis.

Standard Brownian motion: The process {W_t, t ≥ 0} such that: 1. W₀ = 0 2. Independence of increments: W_{t₄}-W_{t₃} ⊥ W_{t₂}-W_{t₁} for 0≤t₁<t₂≤t₃<t₄ 3. Normality: W_t - W_s ~ N(0, t-s) 4. Continuity of trajectories: t → W_t is continuous

Construction (Levy–Centsov): Via Gaussian series over Haar functions: W_t = Σ_{n,k} Z_{nk}·H_{nk}(t). Or via the CLT: W_t = lim_{n→∞} S_{⌊nt⌋}/√n (scaling limit of the random walk).

Nowhere differentiability: W_t is everywhere continuous, but nowhere differentiable (almost surely). Variation: total variation is infinite, quadratic variation [W]_t = t (finite!). [W,W]_t = t — “key fact” underpinning Ito’s lemma.

Ito's Lemma and Stochastic Differential Equations

Ito Integral → Ito's Lemma → SDEs and Geometric Brownian Motion → Stochastic Differential Equations → Girsanov's Theorem and the Risk-Neutral Measure → Black-Scholes Partial Differential Equation → Greeks: Sensitivity of Options → Implied Volatility and the Volatility Smile → Interest Rates and Yield Curve Models → Risk-Neutral Measure and Fundamental Theorems of Asset Pricing

Formulas

Properties: Martingale: E[∫₀^T f dW] = 0. Ito isometry: E[(∫₀^T f dW)²] = E[∫₀^T f² dt].SDE: dX_t = b(X_t, t)dt + σ(X_t, t)dW_t. The solution is an adapted continuous process.Problem: S_t satisfies dS=μS dt+σS dW. Apply Ito's lemma to f(S)=ln(S). Numbers: μ=0.12, σ=0.25, dt=1/252.

Ito's lemma is the stochastic analogue of the chain rule for differentiation. Due to the nonzero quadratic variation of Brownian motion, there appears an additional "correction" second-order term.

The integral ∫₀^T f_t dW_t for adapted processes fₜ. It cannot be defined pointwise (W_t is nowhere differentiable). It is defined as the L²-limit of step processes.

Properties: Martingale: E[∫₀^T f dW] = 0. Ito isometry: E[(∫₀^T f dW)²] = E[∫₀^T f² dt].

Let dX = b dt + σ dW, f ∈ C²(ℝ). Then: df(X_t) = f'(X_t) dX_t + (1/2)f''(X_t) d[X,X]_t = [f'(X_t)b + (1/2)f''(X_t)σ²] dt + f'(X_t)σ dW_t.

Stochastic Methods in Finance

Girsanov's Theorem and the Risk-Neutral Measure → The Black-Scholes Formula → Stochastic Optimization (Merton) → Option Greeks: Full Table → Implied Volatility (IV) and Volatility Smile → Merton Portfolio and Utility Maximization Problem → Stochastic Control and the Principle of Dynamic Programming → The Markowitz Portfolio Problem in Continuous Time → Extreme Value Theory in Finance → Credit Risk and Structural Models

Definitions

IV
the value of $\sigma$ at which the BS formula matches the market price. IV $\neq$ realized volatility. Volatility smile: IV depends on strike $K$ — violation of BS assumptions. In reality: IV is higher for OTM options (tail risk). Volatility surfa...

Formulas

Dynamic hedging: $\Delta = \partial C/\partial S = N(d_1)$. Continuous rebalancing of Δ shares in the stock plus risk-free asset → exact replication.Task: European call option: $S_0=100$, $K=100$, $r=0.05$, $\sigma=0.20$, $T=1$ year.

Mathematical financial theory uses stochastic calculus for derivative pricing, risk management, and optimal investing. Girsanov's theorem and the Black-Scholes formula are central results.

The problem: In the real world, a stock grows at a rate μ > r (risk-free rate). For pricing, a "risk-neutral" measure Q is needed.

Girsanov's theorem: When switching measure from P to Q via $dQ/dP = e^{-\theta W_T - \theta^2 T/2}$: $\tilde{W}_t = W_t + \theta t$ is a Q-Brownian motion. For GBM with μ: $dS = \mu S\,dt + \sigma S\,dW \rightarrow dS = r S\,dt + \sigma S\,d\tilde{W}$ (at $\theta=(\mu - r)/\sigma$).

Pricing: $V_0(F) = e^{-rT} \mathbb{E}^Q[F_T]$ — price of a derivative with payoff $F_T$. This follows from the absence of arbitrage: the discounted price is a Q-martingale.

09

Asymptotic Statistics and Robustness

Convergence of estimators, Cramér–Rao bound, efficiency, and robust estimation

Asymptotic Properties of Estimators and the Delta Method

Consistency → Asymptotic Normality of MLE → Delta Method → Delta Method: Second Order and Multivariate Case → Fisher Information: Meaning and Applications → Regression as an Estimation Problem → Asymptotic Criteria: Wald, Rao, and Wald Tests → Bootstrap in Estimating Fisher Information → Regularized Estimation in High Dimensions → Estimation Theory Under Constraints

Definitions

$I(\theta) = -E[\frac{\partial^2}{\partial \theta^2} \log f(X; \theta)]$
"expected information" in one observation. The greater the curvature of the log-likelihood, the more information. Information inequality: $\operatorname{Var}(\hat{\theta}) \geq 1/(nI(\theta))$—lower limit of the variance. For normal $N(\mu, \sigma...

Formulas

Task: $X_1,\ldots,X_{100} \sim \text{Bernoulli}(p)$, $\bar{x}=0.30$. Construct a 95% CI for the logit $g(p)=\ln(p/(1-p))$.Step 1: By the CLT: $\sqrt{n}(\bar{x}-p)\to N(0,p(1-p))$. $g(p)=\ln(p/(1-p))$, $g'(p)=1/(p(1-p))$.

Asymptotic statistics studies the behavior of estimators as n → ∞. Consistency, asymptotic normality, and the delta method are the main tools for analyzing estimator properties.

Weak consistency: $\hat{\theta}_n \to_P \theta_0$ as $n\to\infty$. A sufficient condition: $\operatorname{Bias}(\hat{\theta}_n)\to 0$ and $\operatorname{Var}[\hat{\theta}_n] \to 0$. Mean square consistency (MSE→0) implies weak consistency.

Strong consistency: $\hat{\theta}_n \to_{a.s.} \theta_0$. The MLE is strongly consistent under regular conditions—this follows from the strong law of large numbers applied to the log-likelihood.

Invariance of MLE: If $\hat{\theta}$ is the MLE for $\theta$, then $g(\hat{\theta})$ is the MLE for $g(\theta)$ (for any function $g$). This follows as a consequence of the definition via likelihood maximization.

Cramer-Rao Bound and Asymptotic Efficiency

Fisher Information → Cramer-Rao Inequality → Asymptotic Efficiency → Relative Efficiency of Estimators → Convexity and Estimation from Exponential Families → Method of Moments Estimators and Their Efficiency → Hausman Test: Efficiency vs. Consistency → Instrumental Variables and Two-Stage Least Squares → Bennett and Bernstein Exponential Inequalities → Super-efficiency and Le Cam's Theorem

Formulas

Additivity: For n i.i.d. observations: Iₙ(θ) = n·I(θ). Matrix form: I(θ)ᵢⱼ = -E[∂² log f/∂θᵢ∂θⱼ]—the Fisher information matrix.Examples: N(μ,σ²) with σ² known: I(μ)=1/σ². Poisson(λ): I(λ)=1/λ. Bernoulli(p): I(p)=1/(p(1-p)). Exp(λ): I(λ)=1/λ².Formulation: For an unbiased estimator θ̂ under regularity conditions: Var[θ̂] ≥ 1/(n·I(θ)). The lower bound for variance CRB = 1/(nI(θ)).Definition: The estimator θ̂ₙ is asymptotically efficient if √n(θ̂ₙ - θ₀) →_d N(0, I(θ₀)⁻¹). Asymptotic variance = CRB—you cannot do better as n→∞.Problem: X₁,...,X₁₀₀ ~ Bernoulli(p). Find I(p), lower bound Var[p̂] at p=0.4. Compare with Var[X̄].Step 3: At p=0.4: I(0.4)=1/(0.4·0.6)=1/0.24≈4.167. CR bound for n=100: Var[p̂]≥1/(n·I(p))=1/(100·4.167)=0.0024. SE≥√0.0024≈0.049.

Cramer-Rao bound establishes the lower limit for the variance of unbiased estimators. An asymptotically efficient estimator attains this bound as n → ∞.

Definition: I(θ) = E[(∂ log f(X;θ)/∂θ)²] = -E[∂² log f(X;θ)/∂θ²]. Fisher information measures the "steepness" of the likelihood function—the higher it is, the more precisely θ can be estimated.

Additivity: For n i.i.d. observations: Iₙ(θ) = n·I(θ). Matrix form: I(θ)ᵢⱼ = -E[∂² log f/∂θᵢ∂θⱼ]—the Fisher information matrix.

Examples: N(μ,σ²) with σ² known: I(μ)=1/σ². Poisson(λ): I(λ)=1/λ. Bernoulli(p): I(p)=1/(p(1-p)). Exp(λ): I(λ)=1/λ².

Robust Estimation and M-Estimators

Breakdown Point and Influence Function → M-Estimators (Huber, 1964) → IRLS Algorithm and Asymptotics → Breakdown Point and Robustness of Estimators → Robust Estimates of Dispersion and Covariance Matrix → Outlier Test and Anomaly Detection Methods → Connection with Survival Theory → Copulas and Tail Dependence → Multivariate Statistics and Principal Component Analysis → Numerical Example: Principal Component Method (PCA)

Definitions

Breakdown point ($\epsilon^*$)
maximum proportion of spoiled data for which the estimator remains bounded. $\bar{X}$: $\epsilon^* = 1/n \approx 0$ (a single outlier can cause it to diverge). Median: $\epsilon^* = 0.5$ (theoretically the best). Trimmed mean ($\alpha$-trimmed): $...

Formulas

Definition: M-estimator $\hat{\theta} = \arg\min_\theta \sum_i \rho(X_i - \theta)$, or solution to $\sum_i \psi(X_i - \theta) = 0$, $\psi = \rho'$.Scale Estimate: Standardized MAD: $\hat{\sigma} = \text{MAD}/0.6745$ — consistent estimator for $\sigma$ under normality, BP = $0.5$.Grubbs Test: $H_0$: no outlier. Statistic $G = \max|X_i-\bar{X}|/s$. Critical value depends on $n$ and $\alpha$. Assumes normality.Kernel PCA: Replace $\Sigma = X^\top X$ with kernel matrix $K_{ij} = k(x_i, x_j)$ — nonlinear PCA.

Classical estimators (mean, MLE) are sensitive to outliers. Robust statistics develops estimators resilient to data contamination while maintaining high efficiency in the normal case.

Breakdown Point (BP): The minimal proportion of contaminated data at which an estimator breaks down. $\bar{X}$: BP = $1/n \to 0$. Median: BP = $0.5$. $S^2$: BP = $1/n$. MAD $= \text{median}|X_i - \text{median}|$: BP = $0.5$.

Influence Function (Hampel, 1974): $IF(x; T, F) = \lim_{\varepsilon \to 0} \frac{T((1-\varepsilon)F + \varepsilon \delta_x) - T(F)}{\varepsilon}$. For $\bar{X}$: $IF(x) = x - \mu$ — unbounded. For the median: $IF(x) = \frac{\text{sign}(x-\mu)}{2f(\mu)}$ — bounded. Gross-error sensitivity: $\gamma...

Definition: M-estimator $\hat{\theta} = \arg\min_\theta \sum_i \rho(X_i - \theta)$, or solution to $\sum_i \psi(X_i - \theta) = 0$, $\psi = \rho'$. Mean: $\rho(r) = r^2/2$. Median: $\rho(r) = |r|$. MLE: $\rho(r) = -\log f(r)$.